hi!
i've got problems embedding fonts.
as described in http://xml.apache.org/fop/fonts.html and other resources i
generated the xml font-file with:
java -cp fop.jar org.apache.fop.fonts.apps.TTFReader zurchn.ttf zurich.xml
i placed resulting zurich.xml along with the original *.ttf-file in the
fop-directory and in the conf-directory as well
Then i renamed the font-name in the <font-name>-tag to "Zurich" in the
zurich.xml
i configured the userconfig in the conf-directory in the following way:
<fonts>
<font metrics-file="zurich.xml" kerning="yes" embed-file="zurich.ttf">
<font-triplet name="Zurich" style="normal" weight="bold"/>
</font>
</fonts>
then i tried to use it as font-family="Zurich" in a <fo:block>-tag in my fo
file.
but when i invoked that file with:
java -cp fop.jar org.apache.fop.apps.Fop -c userconfig.xml -fo
schulung.fo -pdf output.pdf
and
fop -c userconfig.xml -fo schulung.fo -pdf output.pdf
among others
the result always was:
WARNING: unknown font Zurich,normal,normal so defaulted font to any
any ideas what went wrong?
regards matze
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]