ICEpdf
  1. ICEpdf
  2. PDF-355

Function 4 parsing error and incorrect DeviceN colour

    Details

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

      Description

      A client sent in a PDF http://www.pg.com/en_US/downloads/investors/annual_reports/2011/PG_2011_AnnualReport.pdf that has several page that don't render. The render failure is due to a parsing error in the Function 4 lexar (copy operator). One correct the PDF renders the missing content but there are numerous colour issues.

        Activity

        Patrick Corless created issue -
        Hide
        Patrick Corless added a comment -

        A fix for this issue was accidentally check in for PDF-363. The lexer wasn't handling the 'copy' and 'if' operations. The 'copy' error was simply an index out of bounds issue, for lack of example. Similarly 'if' operators was correctly handling the expression but failed to put the expression back on the stack for evaluations.

        Once these two issue where fixed the pdf displayed the correct colour for the gradient in question.

        Show
        Patrick Corless added a comment - A fix for this issue was accidentally check in for PDF-363 . The lexer wasn't handling the 'copy' and 'if' operations. The 'copy' error was simply an index out of bounds issue, for lack of example. Similarly 'if' operators was correctly handling the expression but failed to put the expression back on the stack for evaluations. Once these two issue where fixed the pdf displayed the correct colour for the gradient in question.
        Patrick Corless made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: