[
https://issues.apache.org/jira/browse/PDFBOX-3609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15709174#comment-15709174
]
ASF subversion and git services commented on PDFBOX-3609:
---------------------------------------------------------
Commit 1772090 from [~tilman] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1772090 ]
PDFBOX-3609: allow object reference
> 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: 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: [email protected]
For additional commands, e-mail: [email protected]