You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/01/21 14:45:26 UTC

[jira] [Resolved] (PDFBOX-3659) Can't create text with PDFType1Font.ZAPF_DINGBATS or PDFType1Font.SYMBOL without installed fonts

     [ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org