Hi,
Am 03.07.2012 06:56, schrieb bob swanson:
I cannot seem to post a bug in JIRA from my Android phone, currently that
is the only way I can get internet access.
An old Truetype font I've used successfully with PDFBox up to version 1.6.0
no longer loads with 1.7.0.
The error is:
Exception: java.lang.NullPointerException
java.lang.NullPointerException
at
org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadDescriptorDictionary(PDTrueTypeFont.java:319)
at
org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:166)
at
org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:142)
at
org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:129)
at test.<init>(test.java:23)
at test.main(test.java:36)
My testcase (simply performing a loadTTF()) works with 1.6.0
of PDFBox. This font is certainly an oldie, but it does validate
using "Font Book" on my Mac. That program looks through a TrueType font,
checking all internal tables for correctness.
I can upload the font to a web location, if you wish.
Upload it to a share hoster or something similar and I'll have a look.
Thanks for all the fine work you do.
Bob Swanson
BR
Andreas Lehmkühler