One thought that comes to mind off the cuff: Since a jar file is a zip file, and java can extract files from a zip, could your java class extract the font to a temporary location on the file system, then update your xconf file to point to the font, then run FOP using the xconf file, and then afterwards remove the font from its temporary location to tidy up?

Thanks.

-Mike

On 03/06/11 10:03, Flipz-007 wrote:
Dear all,

I need to create Java application which will generate PDF report from given 
data. This application needs to be run in Oracle DB 10g environment as a stored 
procedure.

The main problem is that I don't know how to configure FOP to use my specific 
font which is embedded in application jar as a resource. In Internet there are 
many examples how to configure FOP if the font is located on filesystem, but in 
my case I need to load the font into DB inside my java archive.

I searched through the Internet but I didn't find any solution.
Could you give me any advice please?
Thank you very much.

Jiri

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]






Michael Rubin
Developer

T: +44 20 8238 7400
F: +44 20 8238 7401

[email protected]

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to