[
https://issues.apache.org/jira/browse/PDFBOX-3659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15832997#comment-15832997
]
ASF subversion and git services commented on PDFBOX-3659:
---------------------------------------------------------
Commit 1779729 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1779729 ]
PDFBOX-3659: don't use the generic font for the encoding of standard 14 fonts
to avoid trouble if these are not installed
> Can't create text with PDFType1Font.ZAPF_DINGBATS or PDFType1Font.SYMBOL
> without installed fonts
> ------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-3659
> URL: https://issues.apache.org/jira/browse/PDFBOX-3659
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.4
> Reporter: Tilman Hausherr
>
> On a system with no fonts, it is not possible to create PDF files that use
> the Standard 14 Symbol and Zapf Dingbats fonts. The current code tries to
> look at the generic fallback font (LiberationSans), which of course doesn't
> have it. But this isn't needed - we have all the metrics needed for the
> standard 14 fonts and don't need any actual font.
> Solution: change {{PDType1Font.encode()}} so that it doesn't use the generic
> font for standard 14 fonts.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]