[Poppler-bugs] [Bug 55573] pdftops crashes in FT_Outline_Decompose

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 3 05:02:14 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=55573

--- Comment #2 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
Created attachment 68038
  --> https://bugs.freedesktop.org/attachment.cgi?id=68038&action=edit
workaround

The sanity check just heals the crash, but the PDF is not rendered correctly:
In the output the letter "D" is missing.
I digged a little bit deeper into it, and it was really funny: pdftops doesn't
render the "D" with 144 dpi, but it does it with 72 dpi, 150 dpi or 300 dpi.
When I render it with pdftoppm with 144 dpi, it works, too. So I looked into
the differences between pdftoppm and pdftops and encountered, that the only
difference is that in pdftoppm the font is loaded with FT_LOAD_NO_BITMAP
because "aa" is true, but in pdftops the font is loaded without this option.
So if we set antialias printing to true, it works also with pdftops. This seems
to be only a workaround, but I'm not a freetype expert. Perhaps anybody else
with a deeper knowledge can find a better way to solve the problem. In the
meantime this patch could help...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20121003/91f16e2b/attachment.html>


More information about the Poppler-bugs mailing list