hi !

i uses the driver class to render an pdf like this:

Driver driver = new Driver( new InputSource( "FOPTest.fo" ),    new
FileOutputStream( "FOPTest.pdf" ) );
driver.setRenderer( Driver.RENDER_PDF );

Now i need the Arial font and have specified it in the userconfig.xml file
but java dosn't know that.

on xml.apache.org the say not to forget to start fop like this (when using
new fonts, to load the configuration file):
-c conf/userconfig.xml

how does this work in java ?

something with calling the ConfigurationReader ?
and somehow pass it to the driver ?


Nick Winger


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

Reply via email to