two solutions :

    org.apache.fop.configuration.Configuration.put("baseDir",path_to_dir);
     File userConfigFile = new File(path_userConfig.xml_file);
     Options options = new Options(userConfigFile);

   or , with the commandLine with the '-c' option.



Timo Haberkern wrote:

Hello together,

i use FOP from my Java application. Now i want to embed fonts to my pdfs. So I need the userconfig.xml. But how to tell FOP to use this config file when i start it directly from my java code?


-- REDONDO Julien Ingénieur Développement Logiciel AAcom 120 avenue du Marin Blanc 13680 Aubagne Tel: 0442726569 Fax: 0442726568



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



Reply via email to