[Poppler-bugs] [Bug 40556] Bounding boxes of text selection marks are much too large in some cases.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 24 04:55:10 PST 2012


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

--- Comment #1 from Adrian Johnson <ajohnson at redneon.com> 2012-02-24 04:55:10 PST ---
The font bounding box and font descent in the PDF file is broken. The value
-2960 is wrong. Changing this to 0 makes the selection for that font work
correctly.

It looks like acroread will clip the descent to 0 if it thinks the value is too
low. Testing with acroread on page 2 the selection does not extend below the
baseline. On page 1 the selection has the correct descent.


<<
/FontName /TUSYEC+Iwona-Bold
/StemV 110
/CharSet (/H/I/a/d/e/g/i/m/n/one/t/two)
/FontFile 27 0 R
/Ascent 1099
/Flags 4
/Descent -2960
/ItalicAngle 0
/FontBBox [-226 -2960 1456 1099]
/Type /FontDescriptor
/CapHeight 1099
>>

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


More information about the Poppler-bugs mailing list