[
https://issues.apache.org/jira/browse/PDFBOX-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244496#comment-14244496
]
John Hewson commented on PDFBOX-2563:
-------------------------------------
Substitutions should not be performed in getTrueTypeFallbackFont. Do your
substitutions in getTrueTypeFont. I'd recommend adding a second substitute
method getTrueTypeFont(String registry, String ordering, int supplement)
specifically for this, which you can call if the first getTrueTypeFont returns
null.
> [PATCH] Use cmap for TTF fallback
> ---------------------------------
>
> Key: PDFBOX-2563
> URL: https://issues.apache.org/jira/browse/PDFBOX-2563
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: simon steiner
> Attachments: VariousKFontsNotembeded218.PDF, ttfcmapfallback.patch
>
>
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage
> VariousKFontsNotembeded218.PDF
> This patch addresses some of the issues in PDFBOX-2509.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)