[ 
https://issues.apache.org/jira/browse/PDFBOX-5500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-5500.
-------------------------------------
    Resolution: Fixed

I don't know if this fix is the best possible decision but the code suggests 
that there is a legitimate purpose to load a font with /Encoding missing.

> NullPointerException in PDType0Font.readCode() if cMap is null
> --------------------------------------------------------------
>
>                 Key: PDFBOX-5500
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5500
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.26
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.27, 3.0.0 PDFBox
>
>
> Can happen if /Encoding is null because {{cMap}} is never initialized.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to