[
https://issues.apache.org/jira/browse/PDFBOX-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14525943#comment-14525943
]
John Hewson edited comment on PDFBOX-2170 at 5/3/15 6:37 PM:
-------------------------------------------------------------
There is indeed a typo on this line, but it's not that. The second case should
be accusing {{[1]}} instead of {{[0]}}. The command for "div" is in fact 12 12.
was (Author: jahewson):
There is indeed a typo on this line, but it's not that. The second case should
be accusing {{[1]}} instead of {{[0]}}. The command for "div" is in fact 12 12.
> 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
> Assignee: John Hewson
> Labels: type1font
> Fix For: 2.0.0
>
> 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.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]