Matella, Gunter wrote: > > > I have to use own fonts while using fop (PDF creation). In the fop > documentation the use of a config file called ?userconfig.xml? is described. > Is there any way to give this file while using the XMLMind fop processor from > the menu item Convert document... ? > > I managed it using the DU1-package for PDF creation, but I would be nice > using it within XMLMind. > >
Specify a "configuration" parameter for FOP. This is described here: http://www.xmlmind.com/xmleditor/_distrib/doc/commands/processFO.html --> Quick and dirty method: [1] Edit XXE_install_dir/addon/config/docbook/xslMenu.incl using a text editor. [2] Locate the process command called "docb.toPS" (used for both PostScript and PDF): --- <command name="docb.toPS"> <process> ... --- [3] Add the "configuration" parameter: --- <processFO processor="FOP" file="__doc.fo" to="__doc.%0"> <parameter name="renderer">%0</parameter> <parameter name="strict-validation">false</parameter> <parameterGroup name="docb.toPS.FOPParameters" /> </processFO> --- becomes: --- <processFO processor="FOP" file="__doc.fo" to="__doc.%0"> <parameter name="renderer">%0</parameter> <parameter name="strict-validation">false</parameter> <parametername="configuration" >file:/C:/foo%20bar/gee/fop.cfg</parameter> <parameterGroup name="docb.toPS.FOPParameters" /> </processFO> --- [4] Restart XXE. --> Clean, maintainable, method: Define a docb.toPS.FOPParameters parameter group in a customization of the DocBook configuration. This parameter group should contain a proper "configuration" parameter. This is explained here: http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html

