Found the problem. Maven was processing my font files and messing them up so
iText couldn't process them.
I excluded them from being process in the pom using
<build>
<resources>
<resource>
<directory>src/main/staticresources</directory>
<filtering>false</filtering>
</resource>
</resources>
</build>
And now it works.
There is still an api bug in the Base Font class. Where can i report this?
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Create-font-from-input-stream-tp3984176p4014503.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php