Mike Ferrando wrote:

> Jerry,
> 1. the userconfig file must be in your command line:
> C:\FOP>fop -c conf\userconfig.xml -fo myfo.fo -pdf mypdf.pdf
> 2. The Myfont.xml file must be in the same folder as your fop.bat
> file.

Actually, there is now a fontBaseDir config option. See:
http://xml.apache.org/fop/configuration.html#summary-key-value


> 3. The Myfont.xml file must be created using the jar. I usually copy
> the font into the same folder as the fop.bat then I run the command
> line to transform it into the myfont.xml file. Here is the command
> line (you will have to edit the file names to match the ones you are
> currently running in your batch file):
> 
> java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;
>          lib\xercesImpl.jar;lib\xalan.jar
>            org.apache.fop.fonts.apps.TTFReader [options]
>              cmr10.ttf ttfcm.xml

See also:
http://xml.apache.org/fop/fonts.html#truetype-metrics

Victor Mote

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

Reply via email to