Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.2.2
-
Fix Version/s: 4.3
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
-
ICEsoft Forum Reference:
Description
The PDF posted on the forms exhibits several glyph placement issues. I'll have to take a closer look but likely a corner case in the layout rules.
Activity
Patrick Corless
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #26671 | Thu Dec 01 08:28:37 MST 2011 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/HexStringObject.java
|
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
The issue turns out to be a very specific corner case for CID fonts. In short when when convert "\u0000" to a string we where returning an empty String in stead of a valid "0" cid. There are two caes "00" -> "0" or "0000" -> "0". Our HexStringObject.getLiteralStringBuffer() was incorrectly assuming that cid's couldn't be zero. I touched up the algorithm to not ignore a zero cid.