Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.0.2
-
Fix Version/s: 6.1.1
-
Component/s: Core/Rendering
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #13674 - https://icesoft.my.salesforce.com/5007000001YHIfJ
Description
The customer is using iText to split PDF files into single pages. When they do this the PDF that rendered fine when in one file, no longer render correctly. No errors are seen in the logs.
Activity
Arran Mccullough
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.1.1 [ 12975 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48526 | Thu Mar 17 16:03:36 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/OptionalContent.java
MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48527 | Thu Mar 17 16:03:56 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/OptionalContent.java
|
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
I've had a good look at this one and I'm pretty sure I've found the problem. The PDF in question uses optional content groups, well sort of, there setup but not 100% configured correctly. When itext touches the files it drops the main OCProperties dictionary from the /OCProperties from the document catalog and as a result ICEpdf treats the layers as invisible.
My guess is that Acrobat ignores the content group data in the content stream if the /OCProperties entry is missing. If we follow this assumption the PDF renders correctly.