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

                 Key: PDFBOX-683
                 URL: https://issues.apache.org/jira/browse/PDFBOX-683
             Project: PDFBox
          Issue Type: Bug
          Components: Parsing
    Affects Versions: 1.0.0
            Reporter: Eric Leleu
            Priority: Trivial
         Attachments: PDFStreamParser.patch

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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to