Hacking around a bit I ended up parsing the config file as a DOM document,
look for the directory element, change it as needed and then instantiate the
fop factory using the DOM structure, with

     
this.fopFactory.setUserConfig(ConfigurationUtil.toConfiguration(fDoc.getDocumentElement()));


Seems to work ok, but does feel a bit like (unnecessary) mumbo jumbo.

Perhaps a more elegant approach is available?

Thanks,

Peter
-- 
View this message in context: 
http://www.nabble.com/FOP-0.94---API-access-to-font-directory-tf4720666.html#a13505723
Sent from the FOP - Users mailing list archive at Nabble.com.


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

Reply via email to