Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
PrintTextLocations on these files are getting ouf of range values for widthofspace.
The first file has values about 7 times the font height, which is incorrect.
String[274.0897,398.81638 fs=20.0 xscale=0.9705882 height=7.4249997 space=63.243523 width=8.152954]O
String[282.24265,398.81638 fs=20.0 xscale=0.9705882 height=7.4249997 space=63.243523 width=4.3676453]t
String[286.6103,398.81638 fs=20.0 xscale=0.9705882 height=7.4249997 space=63.243523 width=6.405884]h
String[293.01617,398.81638 fs=20.0 xscale=0.9705882 height=7.4249997 space=63.243523 width=5.24115]e
String[298.25732,398.81638 fs=20.0 xscale=0.9705882 height=7.4249997 space=63.243523 width=4.950012]r
The second file has width values completely out of range
String[134.16,157.79321 fs=8.0 xscale=8.0 height=3.8400002 space=4296585.0 width=5.7599945]D
String[139.92,157.79321 fs=8.0 xscale=8.0 height=3.8400002 space=4296585.0 width=5.279999]E
String[145.2,157.79321 fs=8.0 xscale=8.0 height=3.8400002 space=4296585.0 width=4.3200073]L
String[151.66,157.79321 fs=8.0 xscale=8.0 height=3.8400002 space=4296585.0 width=6.4799957]M
String[158.14,157.79321 fs=8.0 xscale=8.0 height=3.8400002 space=4296585.0 width=5.279999]A
String[163.42,157.79321 fs=8.0 xscale=8.0 height=3.8400002 space=4296585.0 width=5.7599945]R
String[173.18,157.79321 fs=8.0 xscale=8.0 height=3.8400002 space=4296585.0 width=5.76001]C
String[178.94,157.79321 fs=8.0 xscale=8.0 height=3.8400002 space=4296585.0 width=5.279999]A
Attachments
Issue Links
- is duplicated by
-
PDFBOX-2508 Text extraction getting zero font height, bad widths, and ? for text in this PDF with Type 3 Fonts
- Closed