[ 
https://issues.apache.org/jira/browse/PDFBOX-4872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17130337#comment-17130337
 ] 

Dushyanth Balasubramanian commented on PDFBOX-4872:
---------------------------------------------------

Thanks a lot [~tilman]

> java.lang.ClassCastException: org.apache.fontbox.cmap.CMapParser$Operator 
> cannot be cast to java.lang.Number
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-4872
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4872
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox
>    Affects Versions: 2.0.19
>            Reporter: Dushyanth Balasubramanian
>            Priority: Major
>             Fix For: 2.0.21, 3.0.0 PDFBox
>
>
> java.lang.ClassCastException: org.apache.fontbox.cmap.CMapParser$Operator 
> cannot be cast to java.lang.Numberjava.lang.ClassCastException: 
> org.apache.fontbox.cmap.CMapParser$Operator cannot be cast to java.lang.Number
>  at org.apache.fontbox.cmap.CMapParser.parse(CMapParser.java:130) at 
> org.apache.pdfbox.pdmodel.font.CMapManager.parseCMap(CMapManager.java:75) at 
> org.apache.pdfbox.pdmodel.font.PDFont.readCMap(PDFont.java:213) at 
> org.apache.pdfbox.pdmodel.font.PDFont.loadUnicodeCmap(PDFont.java:147) at 
> org.apache.pdfbox.pdmodel.font.PDFont.<init>(PDFont.java:115) at 
> org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:180) at 
> org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:97)
>  at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:146) at 
> org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:66)
>  at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:875)
>  at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:509)
>  at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:483)
>  at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:156)
>  at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:270) at 
> org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:321) at 
> org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:243) at 
> org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:229)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to