[
https://issues.apache.org/jira/browse/PDFBOX-2309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14227952#comment-14227952
]
John Hewson commented on PDFBOX-2309:
-------------------------------------
The text is going to be missing from the output either way, as the font isn't
embedded and no suitable substitute could be found. The font classes only throw
exceptions if there is a genuine IO problem (e.g. disk full). All other font
problems are tolerated, and a best-effort recovery is performed. Because the
code in PDCIDFontType0 wasn't written to handle the case where the embedded
font is null, using Adobe Blank is an easy way to avoid getting
NullPointerException in many places, and having the rest of the code which
reads the Font dictionary and FontDescriptor still work.
> 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)