[cairo-bugs] [Bug 13841] Printing of PDF gives corrupted output

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jan 19 07:17:04 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=13841


Adrian Johnson <ajohnson at redneon.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Adrian Johnson <ajohnson at redneon.com>  2008-01-19 07:17:00 PST ---
Fixed with this commit:

http://gitweb.freedesktop.org/?p=cairo;a=commit;h=8887fb35936bb48acadc19a0c71d1b81ec8b481d

The problem was that the PS and PDF surfaces were not correctly embedding Type
1 fonts when applications are using glyph 0 (the undefined character glyph).

In the PDF attached to the gnome bugzilla, the last bullet point on the page is
using the Times Roman font. The font is not embedded and the PDF specifies the
encoding of this font to be WinAnsiEncoding. The last word 'Eden' has the
character 0x1c just before 'Eden' and 0x1d just after. These characters do not
exist in the WinAnsiEncoding encoding so the PDF does not comply with the PDF
specification. Poppler correctly substituted these two characters with glyph 0
which cairo was not correctly handling.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list