ICEpdf
  1. ICEpdf
  2. PDF-963

Split PDF pages not rendering

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.2
    • Fix Version/s: 6.1.1
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      All

      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

        Hide
        Patrick Corless added a comment -

        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.

        Show
        Patrick Corless added a comment - 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.
        Hide
        Patrick Corless added a comment -

        Marking as fixed. Updated on both the 6.1 branch and trunk.

        Show
        Patrick Corless added a comment - Marking as fixed. Updated on both the 6.1 branch and trunk.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: