[
https://issues.apache.org/jira/browse/PDFBOX-2263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280135#comment-14280135
]
simon steiner commented on PDFBOX-2263:
---------------------------------------
Not sure this is fixed, when /usr/share/fonts is not available:
Jan 16, 2015 11:32:57 AM org.apache.pdfbox.pdmodel.font.ExternalFonts
getType1FallbackFont
SEVERE: No fallback font for 'Helvetica-Bold', dumping debug information:
Jan 16, 2015 11:32:57 AM org.apache.pdfbox.pdmodel.font.ExternalFonts
getType1FallbackFont
SEVERE:
Exception in thread "main" java.lang.IllegalStateException: No fonts available
on the system for Helvetica-Bold
at
org.apache.pdfbox.pdmodel.font.ExternalFonts.getType1FallbackFont(ExternalFonts.java:270)
> Support OS with limited fonts
> -----------------------------
>
> Key: PDFBOX-2263
> URL: https://issues.apache.org/jira/browse/PDFBOX-2263
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: simon steiner
>
> Some operating systems (centos base) have no /usr/share/fonts so if pdf
> doesnt embed fonts you only get default font with pdf to image, no bold or
> italic.
> Could pdfbox add back fonts inside jars as fallback as we had in 1.8 in
> pdfbox/src/main/resources/org/apache/pdfbox/resources/ttf/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)