You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/11/30 19:50:58 UTC

[jira] [Resolved] (PDFBOX-3609) ClassCastException in PDCIDFont.readWidths()

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

Tilman Hausherr resolved PDFBOX-3609.
-------------------------------------
    Resolution: Fixed

> ClassCastException in PDCIDFont.readWidths()
> --------------------------------------------
>
>                 Key: PDFBOX-3609
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3609
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.8.12, 2.0.3
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>             Fix For: 1.8.13, 2.0.4, 2.1.0
>
>         Attachments: PDFBOX-3609.pdf, digitalcourage-verfassungsbeschwerde-vds.pdf
>
>
> {code}
> Caused by: java.lang.ClassCastException: org.apache.pdfbox.cos.COSObject cannot be cast to org.apache.pdfbox.cos.COSNumber
>     org.apache.pdfbox.pdmodel.font.PDCIDFont.readWidths(PDCIDFont.java:88)
>     org.apache.pdfbox.pdmodel.font.PDCIDFont.<init>(PDCIDFont.java:65)
>     org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>(PDCIDFontType2.java:83)
>     org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>(PDCIDFontType2.java:70)
>     org.apache.pdfbox.pdmodel.font.PDFontFactory.createDescendantFont(PDFontFactory.java:125)
> {code}
> The cause is an indirect object in the width array.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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