Hi Geert, 

Thanks a lot for your reply, but I have tried your suggested solution, and it 
didn't work with me, Maybe I have missed some points, if you can specify the 
solution in more detail, I will be very grateful to you

thanks a lot

Regards,
Mohammed 



________________________________
From: Geert Bormans <[email protected]>
To: [email protected]
Sent: Sunday, August 9, 2009 3:46:27 PM
Subject: Re: FOP Arabic Support

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

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