katjas / PDFrenderer

Java library for rendering PDF documents to the screen using Java2D
Other
188 stars 94 forks source link

PDF with "CIDFontType2" font failed to renderer due to NPE since the "FontName" is null #73

Open Bennyz1 opened 5 years ago

Bennyz1 commented 5 years ago

in case the pdf file, using Font Object with the "FontName" is empty (null) and using the subtype of "CIDFontType2", then, there is NullPointerException and the pdf not rendered correctly.