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

John Hewson commented on PDFBOX-2309:
-------------------------------------

This file has a missing CID-Keyed CFF font and the only information available 
to find a suitable font is the CIDSystemInfo, so I've added a fallback 
mechanism which uses that. I've also added the [Adobe 
Blank|http://sourceforge.net/adobe/adobe-blank/wiki/Home/] font (under the SIL 
open font license) as a last-resort fallback so that PDFBox does not throw an 
exception.

You'll need the [Asian and Extended Language 
Pack|http://www.adobe.com/support/downloads/detail.jsp?ftpID=5508] installed in 
order to get a correct rendering of this file. If you have other CID-Keyed CFF 
fonts available on your system, you can use ExternalFonts#addSubstitute with 
"$_Registry_-_Ordering_" instead of the PostScript name to add a mapping.

> UnsupportedOperationException: not implemented: missing CFF
> -----------------------------------------------------------
>
>                 Key: PDFBOX-2309
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2309
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel, Rendering
>    Affects Versions: 2.0.0
>            Reporter: simon steiner
>            Assignee: John Hewson
>             Fix For: 2.0.0
>
>
> PDF from PDFBOX-147
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage 
> PDFBOX147-corporate_guide.pdf
> Exception in thread "main" java.lang.UnsupportedOperationException: not 
> implemented: missing CFF
>       at 
> org.apache.pdfbox.pdmodel.font.PDCIDFontType0.<init>(PDCIDFontType0.java:102)



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

Reply via email to