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.
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.