[Poppler-bugs] [Bug 94054] pdftoppm's raster of one shows up incorrectly (and oddly narrow)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 11 12:37:24 UTC 2016


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

--- Comment #3 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
Created attachment 121671
  --> https://bugs.freedesktop.org/attachment.cgi?id=121671&action=edit
Check if PDF knows the witdh of 'm' in case of substituted font

This patch solves the issue:

To check wether the PDF font declaration includes the width of the letter 'm',
compare it with the width of code 0. Code 0 is the replacement glyph in a font
and has the width of a blank. The width table is initialized with this value,
and the blank is always smaller than a 'm'.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160211/2f4be83b/attachment-0001.html>


More information about the Poppler-bugs mailing list