waqasahmedch Posted May 14, 2007 Share Posted May 14, 2007 Hi there, i have simple arabic text when i tried to display this with RTF file format it is showing Arabic in Reverse Order. Like الرياض is displayed as ضايرلاin simple words "Apple" Displays "elppA" its a problem. i m embedding JRXML file code. <columnHeader> <band height="550"><staticText> <reportElement x="350" y="0" width="200" height="50" /> <textElement textAlignment="Right"> <font fontName="Arial" size="22" pdfFontName="ARIAL.TTF" pdfEncoding="Identity-H" isPdfEmbedded="true"/> </textElement> <text><![CDATA[صاØب السمولالملكي]]></text> </staticText></band></columnHeader> Working with PDF is OK. BUT not working with RTF FILE format. did not checked with Others. Link to comment Share on other sites More sharing options...
lucianc Posted May 14, 2007 Share Posted May 14, 2007 Please log this as a bug here. Regards,Lucian Link to comment Share on other sites More sharing options...
Teodor Danciu Posted May 15, 2007 Share Posted May 15, 2007 Hi, Have you looked at the supplied /demo/samples/unicode sample?How is the Arabic text there displaying?Is it correct in RTF? Thanks,Teodor Link to comment Share on other sites More sharing options...
waqasahmedch Posted May 15, 2007 Author Share Posted May 15, 2007 Yes i tried the same example in my application it is same for RTF. One more thing,,, The arabic Numbers should be printed as Arabic not latin. for example... العدد 7 downward arrow is actually 7 in arabic, i m facing this problem while printing PDF report, although Numbers in JRXML file are in correct Arabic format, but when it come to generate PDF it change them to Latin Characters/Numbers. Link to comment Share on other sites More sharing options...
Teodor Danciu Posted May 15, 2007 Share Posted May 15, 2007 Hi, I don't think I understand what the problem is with numbers. If you have numbers in the Arabic text, it should show as numbers.Anyway, our tests indicate that the same RTF file looks OK on some machines and not good on others. So it might be related to the RTF viewer application that you are using. You should try attach some screen shots describing the problem you have. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now