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

Tilman Hausherr commented on PDFBOX-2794:
-----------------------------------------

All three type3 fonts have the "symbolic" flag set, which results in 
readEncodingFromFont() being called.
{code}
                if (!encodingDict.containsKey(COSName.BASE_ENCODING) && 
isFlaggedAsSymbolic)
                {
                    builtIn = readEncodingFromFont();
                }
{code}

> UnsupportedOperationException: not supported for Type 3 fonts
> -------------------------------------------------------------
>
>                 Key: PDFBOX-2794
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2794
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>              Labels: type3
>         Attachments: PDFBOX-2794.pdf
>
>
> As reported by Manfred P. on the user mailing list:
> {code}
> Exception in thread "main" java.lang.UnsupportedOperationException: not 
> supported for Type 3 fonts
>         at 
> org.apache.pdfbox.pdmodel.font.PDType3Font.readEncodingFromFont(PDType3Font.java:68)
>         at 
> org.apache.pdfbox.pdmodel.font.PDSimpleFont.readEncoding(PDSimpleFont.java:118)
>         at 
> org.apache.pdfbox.pdmodel.font.PDType3Font.<init>(PDType3Font.java:56)
>         at 
> org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:79)
> {code}



--
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