Another possibility: you are running a security manager in your app container. 
Even with "AllPermissions" also grant RuntimePermission("ClassLoader"). 

Paulo 

> -----Original Message-----
> From: 1T3XT info [mailto:i...@1t3xt.info] 
> Sent: Wednesday, November 18, 2009 5:21 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Helvetica not found as 
> resource - iText-2.1.4Jar
> 
> Rangel, Oscar wrote:
> > I have updated to the latest JAR iText-2.1.7.jar and have 
> lately noticed 
> > this issue once again in my JavaScript:
> 
> There are two errors in the above sentence:
> 1. you haven't upgraded to the latest iText-2.1.7.jar
>     If you had, you could open it and you'd find
>     the afm files in com/lowagie/text/pdf/fonts/
>     See the attached screenshot: the jar is opened using 7-zip
>     You have either created the jar yourself (the wrong way),
>     or you have downloaded a jar from an unofficial site
>     (please explain where you've found it).
> 2. There's no JavaScript involved. What you should below
>     is a Java error. NOT a JavaScript error.
> 
> > Internal Script error: ExceptionConverter: 
> > com.lowagie.text.DocumentException: Helvetica not found as 
> resource. 
> > (The *.afm files must exist as resources in the package 
> > com.lowagie.text.pdf.fonts)
> > 
> > Does anyone know why this issue happens and what is the 
> best way to fix it?
> 
> This is not an issue with the official iText.
> It only happens when the files shown in the screenshot
> are missing from the jar.
> -- 
> This answer is provided by 1T3XT BVBA
> http://www.1t3xt.com/ - http://www.1t3xt.info
> 

Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to