[
https://issues.apache.org/jira/browse/PDFBOX-1473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535855#comment-13535855
]
Juraj Lonc commented on PDFBOX-1473:
------------------------------------
I was very brief, my bad.
Patches I provided solve problem with loading of OpenType font.
You are expecting that CFF has to be directly there. Which is not true. PDF I
atatched has such font. It is necessary to detect OpenType format (OTTO header
tag) and then fint CFF tag and use its content.
> Incorrect handling of OpenType fonts
> ------------------------------------
>
> Key: PDFBOX-1473
> URL: https://issues.apache.org/jira/browse/PDFBOX-1473
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 1.7.1
> Reporter: Juraj Lonc
> Attachments: CFFParser.patch, PDType1CFont.patch,
> redig_test_textAdded.pdf
>
>
> There is embedded font in this PDF which pdfbox/fontbox does not handle
> properly.
> This OpenType font contains CFF data.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira