Quoting Greg Davis <[EMAIL PROTECTED]>:

> Hi. I'm trying to use your iText library and I get this message below.  

> com.lowagie.text.DocumentException: Times-Roman not found as resource.  
> (The *.afm files must exist as resources in the package  
> com.lowagie.text.pdf.fonts)

> Do you know what may be causing this?

Just read the message and you know the cause: you lack an AFM file.
Check if the following files are in your jar:
http://itext.sourceforge.net/src/com/lowagie/text/pdf/fonts/

> I am placing your jar file in my  
> (TomcatHome}/lib directory so it is accessible to all servlets.

If the AFM files ARE in the jar, are you really sure that they
are accessible for Tomcat? This may be a webcontainer issue.

> I'm using a minimal linux distribution (It works fine under MacOS X) that  
> comes with a Cobalt Raq550. Do I need a font installed?

Not really, you just need an AFM file (this is not a font in the
sense that ttf's or ttc's are fonts).

Bruno


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to