Hello Frank,

MARTIN Franck wrote:
I'd like to get some advice about fonts used with fops.
Is the fop Helvetica supported font very similar to Arial font?


No! I think not even close!

Is it easy to use additional font with fop (as described at fop/fonts.html)
?


I had my problems with it but now it more or less runnig fine!

When following the tutorial http://xml.apache.org/fop/fonts:

java -cp build\fop.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\xalan-2.3.1.jar;lib\batik.jar

BEWARE: That can be different with your local setting. (took me 1 hour to figure it out that I used a different version ;-)

e.g.:
replace:
xercesImpl-2.0.1.jar

with:
xercesImpl-Version.which.you.use.jar

Do you use cocoon?

then don't forget to register the user.config with your sitemap!
LIKE that:

<map:serializer name="fo2pdf" src="org.apache.cocoon.serialization.FOPSerializer" logger="sitemap.serializer.fo2pdf" mime-type="application/pdf">
<user-config src="C:/myfonts/config.xml"/>
</map:serializer>



Thanks


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




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



  • fonts MARTIN Franck
    • Thorsten Scherler

Reply via email to