Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.1
-
Fix Version/s: 5.0.3
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:Windows 7 64bit; JRE 7u21;
Description
The attached pdf is not properly rendered - neither in the IcePdf Viewer Applet from your homepage.
No exceptions are thrown.
(This issue has been mailed to Tristan Fenaux, too)
No exceptions are thrown.
(This issue has been mailed to Tristan Fenaux, too)
Issue Links
- depends on
-
PDF-579 Negative character spacing causing layout issues.
-
- Closed
-
Finally found the root of this spacing issue. A CID font can define a W or DW key in the font dictionary that can be used to override font widths define by the font program. In the problematic PDF's the glyphs where layed out using the W or DW values.
It also appears that a DW or default width should only be respected if the W array is absent. The fix is a lot cleaner then previous attempts. Needs to pass QA but I'm pretty confident this one won't be opened again.