You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Timo Haberkern <th...@emedia-office.de> on 2002/12/10 16:39:30 UTC
userconfig.xml with embedded fop
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?
--
regards
Timo Haberkern
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: userconfig.xml with embedded fop
Posted by REDONDO Julien <jr...@aacom.fr>.
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: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org