Kristof Taveirne wrote:
> Although the image for the pdf is used only in the PDF I would prefer 
> the include the image in the .jar file.

I also put images into jar files. For instance: in the
new application I'm writing, I have icons in a directory
"icons" which is a subdirectory relative the the directory
of the PdfObjectTreeNode class. I can access this resource
like this:
PdfObjectTreeNode.class.getResource("icons/null.png")

In iText the *.afm resources that are jarred with iText
are addressed the same way, but with an absolute path:
e.g. /com/lowagie/text/pdf/fonts/Helvetica.afm

> Merci voor het voorstel maar ik red het wel. En ik werk trouwens niet 
> in het technicum, maar op de zuiderpoort.

Dat is nog dichter voor mij, ik zit op de Sterre.
mvg,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to