[Poppler-bugs] [Bug 75667] New: Incorrect value in ascent field of GfxFont
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Mar 2 02:47:07 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=75667
Priority: medium
Bug ID: 75667
Assignee: poppler-bugs at lists.freedesktop.org
Summary: Incorrect value in ascent field of GfxFont
Severity: normal
Classification: Unclassified
OS: Windows (All)
Reporter: vvort at yandex.ru
Hardware: Other
Status: NEW
Version: unspecified
Component: general
Product: poppler
Created attachment 94958
--> https://bugs.freedesktop.org/attachment.cgi?id=94958&action=edit
Test PDF
When using Arial font, GfxFont.ascent becomes equal 0.718, but it needs to be
equal to 0.905.
The problem occurs in GfxFont.cc, near this comment:
// for non-embedded fonts, don't trust the ascent/descent/bbox
// values from the font descriptor
Because of this block, Arial's GfxFont.ascent becomes equal to Helvetica's
ascent, which is wrong.
Test PDF is attached.
--
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/20140302/8c4306ce/attachment.html>
More information about the Poppler-bugs
mailing list