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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0.0
    • 1.2.0
    • Parsing
    • 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

        1. PDFStreamParser.patch
          1 kB
          Eric Leleu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: