Chris Fong wrote:
Thanks for the reply Bruno.> Can I stick the font in a jar file? Yes, that's possible too. Can you provide an example or a link about how to load a font from a jar file?
The iText.jar contains font metrics files in directory com/lowagie/text/pdf/fonts/ ( See BaseFont.RESOURCE_PATH ) iText loads these files from the jar (iText.jar or iTextAsian.jar) when you need these specific fonts. When you create a BaseFont object, just pass the path to the files in the jar. iText will first look if it can't find the files on the file system. If not, it will look in the available jars. br, Bruno ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
