Hello,
if you have build font metrics correctly and are in the same directory as your userconfig and fo files then there are at least 2 more possibilities things can go wrong:
Wrong userconfig.xml or/and wrong .fo file. Here you have an example of font entries in userconfig file.
font
Jerry,
1. the userconfig file must be in your command line:
C:\FOPfop -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.
3. The Myfont.xml file must be created using the jar. I usually copy
the font into the same folder as the
Mike Ferrando wrote:
Jerry,
1. the userconfig file must be in your command line:
C:\FOPfop -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:
Jerry Sheehan wrote:
but everytime i run the xsl:fo I get an error that the font is unkown, so it
appears that this userconfig file is not being called and I don't understand
what I need to do to call it.
I found this link, http://xml.apache.org/fop/embedding.html#config-external
Close. See