Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.7
-
Fix Version/s: 5.1
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #12974 - https://icesoft.my.salesforce.com/5007000000fDkDf
Description
jIn the provided PDF file, it is missing a 'K' character on and important section of the PDF. This cases the rendered sentence to change meaning and in regards to this PDF can cause a miss-diagnosis.
The customer would also like to know what is the underlying issue and if this can be changed by the producer of the PDF file to prevent any future issues in how they are creating the files.
The customer would also like to know what is the underlying issue and if this can be changed by the producer of the PDF file to prevent any future issues in how they are creating the files.
The following text block is split over two content streams. The missing 'K' is represented by the glyph id <002E>.
BT
/F1 8 Tf
124.05 270.25 Td
[<002E>
5-Aug-2014 9:49:50 AM org.icepdf.core.util.content.NContentParser parse
FINER: Content = -8<0048>6<004C>-3<0051>6<0003>3<0033>-8<0028>-8<0055>8<004C>-3<00460044>6<0055>8<0047>6<0048>6<0055>8<004A>6<0058>6<00560056>] TJ
ET
However there is an indexing error in the code that handles the parsing of <002E>. Because of the error null is returned to the calling method which is parsing the [...] array. So the resulting arrray looks something like [null, -8, <0048>, 6...] and thus the 'K' goes missing.