Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.1.1
-
Fix Version/s: 5.1.2
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:All
-
Support Case References:
Description
With the provided PDF file, the fonts are rendered very close together and end up overlapping each other, making it difficult to read.
Activity
Arran Mccullough
created issue -
Arran Mccullough
made changes -
Field | Original Value | New Value |
---|---|---|
Support Case References | Support Case #13219 - https://icesoft.my.salesforce.com/5007000000wMNbs |
Support Case #13219 - https://icesoft.my.salesforce.com/5007000000wMNbs
Support Case #13326 - https://icesoft.my.salesforce.com/5007000000wNVvf |
Patrick Corless
made changes -
Fix Version/s | 5.1.2 [ 11872 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #44023 | Fri Feb 06 14:34:33 MST 2015 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #44042 | Tue Feb 10 14:33:39 MST 2015 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
|
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
This took way to long to finally figure out. After chasing many ghosts it turns out that the font widths defined by the fonts are incomplete or incorrect. The font contains almost 3500 glyphs and defines only 3 width one of which is zero. The PDF contains no width information in the font dictionary either. I've tried a few other editors and they tend to crash when trying to load the font which gives further validity to the fact that font maybe corrupt.
I've added some code to test the length of the widths vs the number of glyphs in the hopes of adding a little fuzzy logic to detect when the fonts width maybe incorrect.