ICEpdf
  1. ICEpdf
  2. PDF-257

B and b operands incorrectly handled.

    Details

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

      Description

      The file in question (confidential) had a few check boxes which where not being drawn. After a few falls starts related to AcroForms I managed to narrow down the block of operands causing the problem.

      q
      1 0 0 1 47.5 427.0500031 cm
      1 1 0.776 rg
      0 G
      0.5 w
      0 0 m
      7.5 0 l
      7.5 -7.5 l
      0 -7.5 l
      0 0 l
      7.5 -7.5 l
      0 -7.5 m
      7.5 0 l
      B
      Q

        Activity

        Hide
        Patrick Corless added a comment -

        When plotting out the m and l postscript a box is drawn followed by the cross but the screen representation was not so. A little closer look at the content parser and the B and b operands where stroking then filling aposed to filling then stroking as the spec states.

        Surprised this issue didn't come up in the past but the B tokens aren't used very often by generators.

        Show
        Patrick Corless added a comment - When plotting out the m and l postscript a box is drawn followed by the cross but the screen representation was not so. A little closer look at the content parser and the B and b operands where stroking then filling aposed to filling then stroking as the spec states. Surprised this issue didn't come up in the past but the B tokens aren't used very often by generators.
        Hide
        Patrick Corless added a comment -

        Closing issue. Will open again if any regression appear out of test results.

        Show
        Patrick Corless added a comment - Closing issue. Will open again if any regression appear out of test results.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: