[poppler] Use cairo user-font for Type 3 fonts

Adrian Johnson ajohnson at redneon.com
Fri Oct 31 09:31:51 PDT 2008


The attached patches implement Type 3 fonts in the cairo backend using a 
cairo user-font. The patches can also be pulled from the user-font 
branch at git://people.freedesktop.org/~ajohnson/poppler

This should fix the following bugs:

   https://bugs.freedesktop.org/show_bug.cgi?id=12769
   https://bugs.freedesktop.org/show_bug.cgi?id=17497
   https://bugs.freedesktop.org/show_bug.cgi?id=18116

The patches require cairo 1.8.2. There is a bug in cairo 1.8.2 when 
computing user-font glyph bounding boxes. If the Type 3 glyphs do not 
provide the bounding box (ie the d0 operator is used) the glyphs will 
not display correctly. This bug has been fixed in cairo git and will be 
in the next stable release (1.8.4).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Refactor-CairoFont.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20081101/2125e271/attachment-0007.bin 


More information about the poppler mailing list