You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by wf...@pg.ebx.com on 2001/05/08 05:02:14 UTC
Problem with font!
hi there, i would like to use arial font but there is no arial.xml in my
src\codegen folder. The first step i do is i generate the arial.xml file
using the following command:-
java org.apache.fop.fonts.apps.TTFReader C:\myfonts\cmr10.ttf C:
\myfonts\cmr10.ttf ttfcm.xml
Now, there's arial.xml file. Later, i register the font within
the FOP with the following command:-
<font metrics-file="cyberbit.xml" kerning="yes" embed-file="C:
\WINNT\Fonts\Cyberbit.ttf"> <font-triplet name="Cyberbit" style
="normal" weight="normal"> </font>
Lastly, I run the fop as follow:-
java org.apache.fop.apps.Fop -c conf/userconfig.xml -xml
xml_file -xsl xsl_file -pdf pdf_file.
However, there's warning about the arial.xml file & i still
couldn't generate the pdf file using the arial font! Pls advise
me on what to do then. Thanks.
Wooi Fun
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org