Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.4
-
None
Description
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.
Attachments
Issue Links
- relates to
-
PDFBOX-3298 Can't show text (glyph) from ZapfDingbats font
- Closed