Hi,

I am generating 5 pdf files in five threads from xsl-fo. Each thread
does this :

Driver driver = new Driver(inputSource, out);           
File userConfigFile = new File("/home/devuser/testdir/fop-cfg.xml");

Options options = new Options(userConfigFile);
driver.setLogger(new NullLogger());
driver.setRenderer(Driver.RENDER_PDF);          
driver.run();

****(fop-cfg.xml defines the fonts to be used)


It seems that all threads sets fonts

Is it possible that fonts are read once and set in FOP, and all threads
donot have to set the fonts and hence avoid file read operations for
fonts. I think this will increase performance of my application.


**********************************************************************
Please be aware that, notwithstanding the fact that the person sending
this communication has an address in Bear Stearns' e-mail system, this
person is not an employee, agent or representative of Bear Stearns.
Accordingly, this person has no power or authority to represent, make
any recommendation, solicitation, offer or statements or disclose
information on behalf of or in any way bind Bear Stearns or any of its
affiliates.
**********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to