2002 JI Open Discussion Posted August 27, 2006 Share Posted August 27, 2006 By: Peter Kohlendorfer - kohlendorfer PDF generation with Herew/Arabic characters 2003-02-19 05:24 Hi, when printing a text consisting of Hebrew/Arabic characters from right to left I get the following behaviour: In the preview dialog the character order is right to left -> fine. Printing is the same result as preview -> fine. When generating a pdf file the character order is reversed: left to right -> :-( (e.g. table = elbat) Does somebody know, what to do about this? Thanks, Peter By: Peter Kohlendorfer - kohlendorfer RE: PDF generation with Herew/Arabic characters 2003-02-19 07:16 Hi, I got a reply from one of the iText authors: "Jasper uses ColumnText to display text. By default no ordering is made. You'll have to call ColumnText.setRunDirection(PdfWriter.RUN_DIRECTION_RTL) to have reordering. It's probable that a new Jasper attribute is needed or that jasper scans the text and then decide what to do baseed on the characters, noting that hebrew will also need reordering." I looked it up and found out that iText 0.92 does not support the run direction RTL. Current version 0.96 does. Does this mean that JR currently does not support the generation of Arabic/Hebrew pdf files? Greetings, Peter By: Teodor Danciu - teodord RE: PDF generation with Herew/Arabic characters 2003-02-19 12:35 Hi, After all you said, it seems it doesn't. If you're interested, you can study this issue and maybe come up with a suggestion or even a patch. Thank you, Teodor By: Teodor Danciu - teodord RE: PDF generation with Herew/Arabic characte 2004-11-16 11:14 Hi, JasperReports now supports right-to-left writing. Check the "unicode" sample that comes with version 0.6.2. Thank you, 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