[
https://issues.apache.org/jira/browse/PDFBOX-2220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vincent Hennebert updated PDFBOX-2220:
--------------------------------------
Attachment: use_fonts_built-in_encoding_as_base.patch
The problem is that the font dictionary has an Encoding entry that is a
dictionary; That dictionary has a Differences array but no BaseEncoding; And
instead of using the font's built-in encoding as a reference like is prescribed
by the PDF spec, PDFBox uses StandardEncoding.
I'm attaching a proof-of-concept patch that, while it fixes the issue, doesn't
fit well in the big picture. I might get more time to improve it in the future,
unless someone else beats me to it.
> Text missing
> ------------
>
> Key: PDFBOX-2220
> URL: https://issues.apache.org/jira/browse/PDFBOX-2220
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: simon steiner
> Labels: type1font
> Attachments: use_fonts_built-in_encoding_as_base.patch
>
>
> File from PDFBOX-192
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage
> PDFBOX191-01_.pdf
--
This message was sent by Atlassian JIRA
(v6.2#6252)