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

Tilman Hausherr updated PDFBOX-2170:
------------------------------------

    Attachment: 002-002166.pdf

> java.lang.ClassCastException: org.apache.fontbox.cff.CharStringCommand cannot 
> be cast to java.lang.Integer
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-2170
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2170
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>              Labels: type1font
>         Attachments: 002-002166.pdf
>
>
> p.59 of the attached file fails with
> {code}
> java.lang.ClassCastException: org.apache.fontbox.cff.CharStringCommand cannot 
> be cast to java.lang.Integer
>       at 
> org.apache.fontbox.cff.Type1CharStringParser.parse(Type1CharStringParser.java:110)
>       at 
> org.apache.fontbox.cff.Type1CharStringParser.parse(Type1CharStringParser.java:89)
>       at 
> org.apache.fontbox.cff.Type1CharStringParser.parse(Type1CharStringParser.java:72)
>       at 
> org.apache.fontbox.type1.Type1Font.getType1CharString(Type1Font.java:151)
>       at 
> org.apache.fontbox.type1.Type1Font$Mapping.getType1CharString(Type1Font.java:207)
>       at 
> org.apache.pdfbox.pdfviewer.font.Type1Glyph2D.<init>(Type1Glyph2D.java:93)
>       at 
> org.apache.pdfbox.pdfviewer.font.Type1Glyph2D.<init>(Type1Glyph2D.java:65)
> Start parsing '002.zip002167.pdf'
>       at 
> org.apache.pdfbox.rendering.PageDrawer.createGlyph2D(PageDrawer.java:556)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to