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. > (ssharma7...@gmail.com) > > > -- View this message in context: http://old.nabble.com/Hindi-%28Devanagari%29-characters-not-rendered-correctly-in-pdf-using-fop-0.95-tp28396963p28397069.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org