Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.3, 5.0.4
-
Fix Version/s: 5.0.4
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:All
-
Salesforce Case Reference:
Description
With the provided PDF it was throwing an ArrayIndexOutOfBoundsException that was reported in PDF-649. Upon testing with the latest build, the error is no longer seen but the rendering of the text is incorrect. The block of text is now rendered to the right and the end of the text is displayed off of the page. It is also inverting the text under the block of text.
This is a regression in our content parser. The content in question is split over two content stream. In particular the array [...] TJ is split and the array code in our lexer is choking because it's not check the overall stream length when looking for the ending ']'.