|
Howto get a Basefont without using explicit paths: msg#00123java.lib.itext.general
Hi there, I've written an application which writes PDF files using images and truetype-fonts. Now I also want to use this application in a servlet environment. There you've the problem, that you don't know the exact path. For the images, I'm using a classloader, which returns me the proper URL - the image only have to be in the classpath: image = Image.getInstance(PdfCreator.class.getResource("/organizer.wmf")); The problem is, that you don't have a signature to retrieve a basefont via a URL. Has anyone an idea, how to handle these circumstances withous using different pathes for "normal" and servlet environment? Thanks in advance, Thorsten ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Bit-Font in PDF, arse alam |
|---|---|
| Next by Date: | Re: Bit-Font in PDF, Paulo Soares |
| Previous by Thread: | Bit-Font in PDF, arse alam |
| Next by Thread: | Re: Howto get a Basefont without using explicit paths, Paulo Soares |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |