Hello, I've begun using iText to create reports for a new internet site with much success. However, I've run into an issue of registering fonts within my archive. I'm deploying a j2ee app to weblogic, and when I deploy an exploded app, I can call application.getRealPath() within my jsp page and determine the location of my ttf files to page to the FontFactory class. However, my application is deployed to a third party host in a .ear format. In that format, there is no file system path to the font files as they reside only within the ear ( or in a temporary location that I cannot reliably determine programmatically ).
My question is this: Is there any way to register ttf files within a jar,ear, or war? I see discussions about loading asian fonts from within a jar. Does such a method exist for other ttf files? I've looked over the code for FontFactory and BaseFont, and they all seem to pass a string representing a filesystem path. If there is not, is that a feature I could request (the ability to pass a java.net.URL object to the FontFactory.register() method? By the way, fantastic library. My thanks to the author's hard work. Thanks, Perry Tew ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions