Hi, Thank you for help it worked fine for arial font. Now, I'm having problems with Garamond font. I've purchased the Garamond Book and ITCGaramond Bold (pfm and pfb files), I run the command:
java -cp build/fop.jar:lib/avalon-framework-cvs-20020806.jar:lib/xml-apis.jar:lib/xercesImpl-2.2.1.jar org.apache.fop.fonts.apps.PFMReader /nas/web/fonts/ITCGaraBold.pfm /nas/web/fonts/LLGaramondBold.xml and a portion of my config is looking like this: <font metrics-file="/nas/web/fonts/LLGaramondBold.xml" kerning="yes" embed-file="/nas/web/fonts/ITCGaraBold.pfb"> <font-triplet name="Garamond" style="normal" weight="bold"/> </font> <font metrics-file="/nas/web/fonts/LLGaramondBook.xml" kerning="yes" embed-file="/nas/web/fonts/ITCGaraBook.pfb"> <font-triplet name="Garamond" style="normal" weight="normal"/> </font> Garamond font is fine on my computer because I've installed the font locally but on different machines Garamond cannot be extracted. I think is not embedded correct. Thanks a lot. Lucian Opris -----Original Message----- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 5:55 PM To: [EMAIL PROTECTED] Subject: Re: fo:basic-link Lucian Opris wrote: > Hi, > I've regenerated the arial.xml using command line: > > java -cp > build/fop.jar:lib/avalon-framework-cvs-20020806.jar:lib/xml-apis.jar:lib/xercesImpl-2.2.1.jar > org.apache.fop.fonts.apps.TTFReader /nas/web/fonts/arial.ttf > /nas/web/fonts/arial.xml > and in config file I have > > <font metrics-file="/nas/web/fonts/arial.xml" kerning="yes" > embed-file="/nas/web/fonts/arial.ttf"> > <font-triplet name="Arial" style="[normal|italic]" > weight="[normal|bold]"/> > </font> > I get the same result. > Could you tell my why is not a good ideea? You need a file to embed. Try something like <fonts> <font metrics-file="/nas/web/fonts/arial.xml" kerning="yes" embed-file="/nas/web/fonts/arial.ttf"> <font-triplet name="Arial" style="normal" weight="normal"/> </font> <font metrics-file="/nas/web/fonts/arial.xml" kerning="yes" embed-file="/nas/web/fonts/arialb.ttf"> <font-triplet name="Arial" style="normal" weight="bold"/> </font> ... You need a TTF file for the bold (and other derived) font. J.Pietschmann --------------------------------------------------------------------- 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]