You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2010/05/02 17:04:56 UTC

[jira] Resolved: (PDFBOX-683) PDFStreamParser can't read "d0" and "d1" operators

     [ https://issues.apache.org/jira/browse/PDFBOX-683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler resolved PDFBOX-683.
---------------------------------------

    Fix Version/s: 1.2.0
       Resolution: Fixed

I've applied the patch with version 940242. I've slightly changes the code to minmize the number of peek calls.

Thanks to Eric for the contribution

> 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
>             Fix For: 1.2.0
>
>         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.