On 02/02/2015 09:12 AM, Kobayashi, Akagi wrote:
I’m adding new fonts to my docbook build, but they are not found by the fop.
I have created metrics files and placed them in the fonts folder. I’ve
also edited the config ffile for fop, in the same manner that other
fonts in use are. I have removed the fop cache.
Any hint as to how I could find out what’s going on – advice on what
could be done – would be greatly appreciated.
That's normal. By default, FOP when embedded in XMLmind XML Editor
ignores your hand-written FOP configuration file.
Two possible solutions to your problem.
1) You are 100% sure about the contents of your FOP configuration file
(i.e. because you have *tested* it outside XXE using the stock fop
command-line tool) and you want to instruct XMLmind XML Editor to use it.
Let's suppose your FOP configuration file is found in:
C:\My Foo\bar\fop.conf
You must pass XMLmind XML Editor the following command line option:
-DXXE_FOP_CONFIG="C:\My Foo\bar\fop.conf"
This is done by using notepad to edit XXE_install_dir/bin/xxe.jstart.
Use notepad to add a line containing:
-DXXE_FOP_CONFIG="C:\My Foo\bar\fop.conf"
after the line containing:
-Xss4m -Xmx512m
More information in
http://www.xmlmind.com/xmleditor/addons_doc.html#fop1_foprocessor
*OR*
2) You prefer to use a FOP configuration file automatically created by
XMLmind XML Editor (highly recommended!). This method also makes the FOP
configuration file easier and safer to modify in the future if needed
to. And of course, you'll not have to tweak any script file by hand.
Please refer to this chapter of our online documentation:
6.13.1. Apache FOP options
http://www.xmlmind.com/xmleditor/_distrib/doc/help/addonOptions.html#fopOptions
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support