Thanks for information. I have tried with the absolute path in the metric-url and also with font base. Still I am getting the error saying font is not found.
in the web I have found the link saying it is a bug. http://marc.theaimsgroup.com/?l=fop-user&m=115869645201306&w=2 Is there any workaround on 0.92 beta version to embed the custom font . By default the FOP searches the font in which directory... any ideas..... config file <font-base>file:///D:/Fonts/</font-base> <renderer mime="application/pdf"> <fonts> <font kerning="yes" metrics-url="ARIALUNI.xml" embed-url="ARIALUNI.ttf"> <font-triplet name="Arial" style="normal" weight="normal"/> <font-triplet name="Arial" style="italic" weight="normal"/> <font-triplet name="Arial" style="normal" weight="bold"/> <font-triplet name="Arial" style="italic" weight="bold"/> </font> fo block : <fo:block font-family="Arial" font-style="normal" font-weight="bold" line-height="12pt" language="cs" hyphenate="true" > ------------------------czech text here-------------- </fo:block> Ram |---------+---------------------------> | | "Pascal SANCHO" | | | <[EMAIL PROTECTED]| | | akoma.fr> | | | | | | 11/28/2006 10:18| | | PM | | | Please respond | | | to fop-users | | | | |---------+---------------------------> >---------------------------------------------------------------------------------------------------------------| | | | To: "'FOP Users List'" <[email protected]> | | cc: (bcc: ram.reddy/Polaris) | | Subject: RE: Czech language support | >---------------------------------------------------------------------------------------------------------------| Hi Ram, Sorry for the late, I was in hospital, but now all is ok. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 25, 2006 10:53 AM > > Thanks for the information. > > I have configured the hyphenation. But, the Font is not > working . It is saying font not found > > below is the configuration for metric file. I have tried with " file > :///D:/......" , "D:\fop....". but no result. Let me know > what is the > wrong!!. > thanks in advance. file:///D:/... Is the right form (in case of absolute url, of course) But in your snippet, I read 2 different names for the same font. There is no bold declaration, too. Perhaps you invoque a bold style and this is not declared in your config file? Here is a short snippet of config file: <fop version="1.0"> <font-base>file:///D:/fop_fonts/</font-base> <renderers> <renderer mime="application/pdf"> <fonts> <font kerning="yes" metrics-url="Arial_Unicode_MS/ARIALUNI.xml" embed-url="Arial_Unicode_MS/ARIALUNI.ttf"> <font-triplet name="Arial" style="normal" weight="normal"/> <font-triplet name="Arial" style="italic" weight="normal"/> <font-triplet name="Arial" style="normal" weight="bold"/> <font-triplet name="Arial" style="italic" weight="bold"/> </font> </fonts> </renderer> </renderers> </fop> Pascal > <font metrics-url="D:/fop-0.92beta/Fonts/georgia.xml" kerning="yes" > embed-url="D:/fop-0.92beta/Fonts/georgia.ttf"> > <font-triplet name="georgia" style="italic" > weight="normal"/> > <font-triplet name="ArialMT" style="normal" > weight="normal"/> > </font> > > > Ram > > > |---------+---------------------------> > | | "Pascal Sancho" | > | | <[EMAIL PROTECTED]| > | | akoma.fr> | > |---------+---------------------------> > > > -----Message d'origine----- > > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Envoyé : > > mardi 14 novembre 2006 13:47 > > > > I am working with multi-language templates using XSL: FO. > > > > Please guide me, whether the FOP support xsl:lang('cs') > property. If > > not there is any other way , I can get the output in Czech > language. > > Hi, > xsl:lang should not help you for that. > > All what you need is: > 1. ensure that used font embed all glyphes used in you document > see [1] for further information. > 2. if you want to hyphenate your doc, set language property > in fo:page-sequence. > Fortunately, Czech is part of OFFO project (see [1]) > > [1] http://xmlgraphics.apache.org/fop/0.92/fonts.html > [2] http://offo.sourceforge.net/ > > HTH, > Pacsal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited. Visit us at http://www.polaris.co.in --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
