If you uploaded the file with ftp did you do it in binary?

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> Sent: Monday, March 10, 2003 16:21
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] EOFException from BaseFont
> 
> The following line of code throws java.io.EOFException:
> 
> BaseFont timesNewRoman = BaseFont.createFont
> ("/sites/gmacspf/site/live/html/nao_auto/csg/Fonts/time
> s.ttf", BaseFont.WINANSI, BaseFont.EMBEDDED);
> 
> I have checked the path (and I'm not getting a file 
> not found exception so I'm assuming the file *is* 
> being found), and I uploaded the .ttf straight from my 
> C:\WINNT\Fonts directory.  I have this same line but 
> with a windows path (C:\WINNT\Fonts\times.ttf) on my 
> local machine running Tomcat 4.1, and it works fine.  
> Does anybody know what the problem might be?
> 
> Thanks in advance for your help!
> 
> 
> 
> -------------------------------------------------------
> 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

Reply via email to