[
https://issues.apache.org/jira/browse/PDFBOX-3344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277121#comment-15277121
]
Tilman Hausherr commented on PDFBOX-3344:
-----------------------------------------
The message shows that it doesn't exist.
You could extract the font subset file with PDF Debugger and analyse the font
with a font tool.
That other readers are displaying it properly is probably because they do a
successful substitution. (It also works on my system). I'd suspect that there's
a bug in fontbox, maybe that the font can't be replaced with an OTF font.
> Caused by: java.lang.ClassCastException: org.apache.fontbox.ttf.OpenTypeFont
> can not be cast to org.apache.fontbox.cff.CFFFont
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-3344
> URL: https://issues.apache.org/jira/browse/PDFBOX-3344
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.1
> Reporter: 373 mch
> Attachments: .pdfbox.cache, etichette.pdf, helvetica.pdf,
> screenshot_1.png
>
>
> I'm getting this error opening a specific pdf
> {noformat}
> Caused by: java.lang.ClassCastException: org.apache.fontbox.ttf.OpenTypeFont
> can not be cast to org.apache.fontbox.cff.CFFFont
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]