Hi,
IIUC, there is some complex shaping mechanism to render Devanagari
script (see [1]).
Unfortunately, FOP only supports simple character shaping (like latin
script).
I don't know if somebody has sufficient knowledge in FOP team, so help
is welcome.
Note that there is similar issue for Arabic, and a patch will be
available soon (see [2]).

[1] http://www.microsoft.com/typography/OpenType%20Dev/devanagari/intro.mspx
[2] https://issues.apache.org/bugzilla/show_bug.cgi?id=32789

Pascal

ssharma7884 a écrit :
> Hi All,
> .........A little more information,
> I tried generating the .fo file using the following command :
>
> fop -c conf/fop.xconf -xml Account_Statement_Hindi.xml -xsl Acct_Stat.xsl
> -foout Acct_Stat.fo
>
> The .fo file contains the correct text as is present in the XML (from where
> it is read) (refer Image).
> http://old.nabble.com/file/p28397069/fo%2Bfile%2Btext.JPG fo+file+text.JPG 
> Regards,
> Sachin.
>
>
>
> ssharma7884 wrote:
>   
>> Hi all,
>> I am using fop 0.95 to generate PDF documents in Hindi, I am using the
>> unicode font Arial Unicode MS, but all characters are not displayed
>> correctly in the output PDF.
>>
>> The font is refered from "C:\WINDOWS\Fonts" folder, this is set in the
>> fop.xconf file.
>> I am refering an XML document to get some hindi texts. I get this hindi
>> text in PDF using the "document()" function of XSL.
>> (http://www.w3schools.com/xsl/func_document.asp)
>>
>> The text is displayed correctly in this XML file (I am using UTF-8
>> encoding in XML & XSL files), but in the PDF it is not displayed
>> correctly.
>>
>> Please refer the attached image for PDF output text & actual text in XML.
>> http://old.nabble.com/file/p28396963/pdf.JPG pdf.JPG 
>>
>> Regards,
>> Sachin.
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to