Details
Description
Inspired by this complaint
http://stackoverflow.com/a/24432822/535646
I tried loading barcode fonts with PDFBox, with the command
PDTrueTypeFont.loadTTF()
With the file free3of9.ttf that I can get here
http://www.barcodesinc.com/free-barcode-font/
I get this exception:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.makeFontDescriptor(PDTrueTypeFont.java:337)
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.<init>(PDTrueTypeFont.java:127)
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:80)
Attachments
Attachments
Issue Links
- is related to
-
PDFBOX-2165 NPE with barcode ttf font
- Closed