[poppler] AnnotFreeText and AnnotLine rendering further improvements
Albert Astals Cid
aacid at kde.org
Wed Apr 11 16:37:06 PDT 2012
El Dimarts, 10 d'abril de 2012, a les 12:08:45, Fabio D'Urso va escriure:
> On Tuesday, April 10, 2012 01:01:36 AM Fabio D'Urso wrote:
> > Patch 0001 changes AnnotFreeText rendering to add support for automatic
> > word-wrap, quadding (ie text alignment) and text/border color (instead of
> > hardcoded black). It also fixes the black boxes in pdf_commenting_new,
> > page #2.
> >
> > Patch 0002 adds support for caption text in AnnotLine (see
> > pdf_commenting_new, page #7).
> > Note on text color: PDF specs never say, but seem to suggest in the
> > examples, that the caption should be the same color as the line. OTOH, I
> > found that acroread always draws black text. Therefore, I hardcoded black
> > color.
>
> Sorry, this morning I noticed that 0001 only showed half of the border size
> and that both contained mistakes in text positioning. I'm attaching the
> fixed patches.
Commited.
Albert
More information about the poppler
mailing list