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]