[
https://issues.apache.org/jira/browse/PDFBOX-3659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-3659.
-------------------------------------
Resolution: Fixed
Assignee: Tilman Hausherr
Fix Version/s: 2.1.0
2.0.5
> 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
> Assignee: Tilman Hausherr
> Fix For: 2.0.5, 2.1.0
>
>
> 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 these characters so an exception is thrown. But this lookup 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]