it possible to add a method in class BaseFont as follows? public static BaseFont creatFont(InputStream in),
I would then be able to include a ttf file in my jar file and then read the ttf with BaseFont.creatFont(ClassLoader.getResourceAsStream(ttfFileName)); This is better than having the ttf file on the file system (in which case you have to keep track of the path for the ttf files in your application). Another question: How exactly can I use the method BaseFont.creatFont(String, String, boolean, boolean, byte[], byte[])? If I read the ttf file as byte array, can I (or how can I) use the array in this method? Thanks. __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com ------------------------------------------------------- This SF.NET email is sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions