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

Tilman Hausherr commented on PDFBOX-3344:
-----------------------------------------

I'm on W7 with JDK7 and I get
{code}
WARNUNG: Could not read embedded TTF for font AAAAAC+FedraSansCondStd-Demi
java.io.IOException: loca is mandatory
(...)
{code}
and then
{code}
Mai 09, 2016 12:57:45 PM org.apache.pdfbox.pdmodel.font.PDCIDFontType2 <init>
WARNUNG: Using fallback font LiberationSans for CID-keyed TrueType font 
AAAAAC+FedraSansCondStd-Demi
{code}
and the file is displayed properly. What do you get? Please post the full 
output, and mention what JDK and what OS you are using.

> 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: etichette.pdf
>
>
> 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]

Reply via email to