Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-683

PDFStreamParser can't read "d0" and "d1" operators

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.2.0
    • Component/s: Parsing
    • Labels:
      None

      Description

      Hi,

      I'm using the PDFBox 1.0.0 and I encountered a problem with the parsing of the glyph-XOjbect of Type3 font.
      According to PDF Reference, a glyph-XOjbect of Type3 font must start with the d0 operator or the d1 operator.

      During the glyph parsing, "d0" and "d1" are interpreted as "d" operator due to the readOperator method in the PDFStreamParser.

      In attachment, you can find a patch proposal to fix this problem.

      Regards,
      Eric

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              leleueri Eric Leleu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: