You must make sure that you use a font that "knows" how to render Arabic characters

maybe those are sufficient
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=arabicfonts

After that you need to set the font-family like this
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; font-family="MyArabicFont">

(MyArabicFont should be the font you want to use)

then you need to list that font in the FOP config file
fop.xconf

      <fonts>
        <font kerning="yes" embed-url="file:///f:/font.ttf">
           <font-triplet name="MyArabicFont" style="normal" weight="400" />
        </font>
@embed-url takes the full path to the font file, likely a .ttf

make sure that you reference the configuration file correctly with "-c"

good luck

Geert




At 11:00 9/08/2009, you wrote:
Hello

I'm using fop version 0.95, and I'm facing a "common" problem which is the arabic support in fop; when writing Arabic characters, it has been rendered as # characters,

Can anybody help me with this issue ?

thanks a lot


Regards,
Mohammed



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to