[ 
https://issues.apache.org/jira/browse/PDFBOX-2263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281132#comment-14281132
 ] 

John Hewson commented on PDFBOX-2263:
-------------------------------------

Tilman's fix looks good to me, we have a TTF fallback which we ship and 
getType1FallbackFont returns Type1Equivalent which means we can return a TTF 
font, so it should be a one line fix.

However, we need to open a new issue for this!

> 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)

Reply via email to