ICEpdf
  1. ICEpdf
  2. PDF-330

Failure to set initial graphic state clip

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.3
    • Component/s: None
    • Labels:
      None
    • Environment:
      any

      Description

      This issue was reported in the forms. The submitted sample file is very unusual in that there is second content stream created with no content, well actually just a comment "%DSBlank". This lack of content is causing an null pointer when this content stream is attempted to be painted.

      There is a very simple fix which get the PDF in question rendering. I'll atach a patch file file and check in the fix to the trunk.
      1. PDF-330.patch
        0.9 kB
        Patrick Corless

        Activity

        Hide
        Patrick Corless added a comment -

        Patch file for correcting Shapes.java null clip issue with empty content stream.

        Show
        Patrick Corless added a comment - Patch file for correcting Shapes.java null clip issue with empty content stream.
        Hide
        Patrick Corless added a comment -

        Applied simple patch to address clip issue.

        Show
        Patrick Corless added a comment - Applied simple patch to address clip issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: