Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.0.0_P01
-
Fix Version/s: 6.1.1
-
Component/s: Core/Parsing, Printing
-
Labels:None
-
Environment:any
-
Support Case References:Support Case #13495 - https://icesoft.my.salesforce.com/5007000001Hcdn9
Description
The support case in question has a few PDFs that have glyph bounds that are very large or in the incorrect place. This is causing artifact issues with text selection as well as messing up printing as same glyphs are getting clipped by the print band clip.
It would appear the bounds for the type 3 fonts are incorrect. Adobe seems to get the same result as our calculation which can be seen by the text selection highlighting.
Because we can't control the printers clipping bounds or correct for the font's bounds I've added a new system property that will disable the intersection calculation for type 3 fonts. So the end user can use -Dorg.icepdf.core.text.optimized.type3=false to fix the printing issue.