You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Matthew Bayer (Jira)" <ji...@apache.org> on 2022/03/25 19:26:00 UTC
[jira] [Created] (PDFBOX-5402) POCIDFontType2 (Wingdings) encode throws a NullPointerException
Matthew Bayer created PDFBOX-5402:
-------------------------------------
Summary: POCIDFontType2 (Wingdings) encode throws a NullPointerException
Key: PDFBOX-5402
URL: https://issues.apache.org/jira/browse/PDFBOX-5402
Project: PDFBox
Issue Type: Bug
Components: FontBox
Affects Versions: 2.0.25, 2.0.24, 2.0.23, 2.0.22, 2.0.21
Environment: PDFBox 2.0.25 used via a gradle plugin (has been tested as far back as PDFBox 2.0.21)
Reporter: Matthew Bayer
Attachments: Wingdings.pdf
Problem;
* It is known that wingdings based fonts do not support encoding from https://issues.apache.org/jira/browse/PDFBOX-4714. However it is unexpected that a call to encode on a wingdings POCIDFontType2 returns a NullPointerException.
Notes:
* The issue seems to lie within PDFont POCIDFontType2
* The POCIDFontType2 encode function is only known to throw IOException or UnsupportedOperationException(s)
* Please see the attached test file with the font in question that causes the NullPointerException to be thrown
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org