logo       

Re: Bidirectional problem: msg#00130

java.lib.itext.general

Subject: Re: Bidirectional problem

I need to see a short example. The order level is defined by java but the
actual flipping is done by iText. I tested it with jdk 1.3 and the examples
in unicode.org; the example arabic_hebrew.java also reverses the text
correctly. Are you sure that the english text or numbers are in the correct
logical order to start with?
If you have in logical order:

String s = "abc 123456";

where abc are arabic characters the result would be in display order:

123456 cba

it works correctly with jdk 1.4.

Best Regards,
Paulo Soares

----- Original Message -----
From: "Robert Koval" <robert@xxxxxxxxxxxxxxxxxxx>
To: <itext-questions@xxxxxxxxxxxxxxxxxxxxx>
Sent: Sunday, June 08, 2003 6:39
Subject: [iText-questions] Bidirectional problem


> I am facing a small problem with bidirectional text. I am using
> ColumnText
> object
> and set rundirection to RTL. Arabic text appears fine however if mixed
> with
> other
> texts (such as English numbers) the result is not correct. English
> portion
> of the
> text appears flipped. Any suggestions ?
>
> thanx
> r.
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
> _______________________________________________
> iText-questions mailing list
> iText-questions@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise