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