[poppler] AnnotFreeText and AnnotLine rendering further improvements

Fabio D'Urso fabiodurso at hotmail.it
Tue Apr 10 03:08:45 PDT 2012


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-AnnotFreeText-rendering-improvements-auto-word-wrap-.patch
Type: text/x-patch
Size: 7247 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120410/9cc8386d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Caption-text-rendering-in-AnnotLine.patch
Type: text/x-patch
Size: 11112 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120410/9cc8386d/attachment-0001.bin>


More information about the poppler mailing list