See www.geocities.com/itextpdf Best Regards, Paulo Soares
----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 12, 2003 18:19 Subject: RE: [iText-questions] is it possible to register fonts when the . ttf file exists in a .ear or .war file (using URL)? > > Paulo, > Thank you for your quick response. I must admit ignorance here, but > I > don't understand what itext-paulo-108 is. Is this a cvs branch tag or > something? Being new to your project, would you please provide me a > short > explanation of how to obtain itext-paulo-108? > > I was wondering. Is this functionality that already existed within > iText? > If so, where should I have looked to know this (I hate asking a question > when I should have read something somewhere). If this is new, did you > just > code it??? > > Again, thanks for your help. > > Thanks, > Perry > > > > > > > Paulo Soares > > <psoares@consiste To: Perry > Tew/CV/Novartis@PH, > .pt> > [EMAIL PROTECTED] > cc: > > 02/12/2003 12:41 Subject: RE: > [iText-questions] is it possible to register > PM fonts when the . ttf > file exists in a .ear or .war file > (using URL)? > > > > > > > > You can register a font from a jar, just include the full resource path. > iText will look first for a file path and if not found will try to load > it > as a resource. You'll need itext-paulo-108 for it. > > Best Regards, > Paulo Soares > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [SMTP:[EMAIL PROTECTED]] > > Sent: Wednesday, February 12, 2003 17:30 > > To: [EMAIL PROTECTED] > > Subject: [iText-questions] is it possible to register fonts > when > the > > .ttf file exists in a .ear or .war file (using URL)? > > > > 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 > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions