Re: Valid UTF-8 text mangled up in GtkLabel

2005-08-08 Thread Lina Kemmel
Hi Behdad, Jonathan, > I use gedit on a daily basis to type text with Persian and > English paragraphs, and I want my Persian paragraphs to be set ar > RTL and aligned to right, and English paragraphs LTR and aligned > to left. I doubt this opinion is shared by many... My own preference is to ha

Re: Valid UTF-8 text mangled up in GtkLabel

2005-08-06 Thread Jonathan Ben Avraham
Hi Behdad, I will indeed try to keep the negative energy to a minumum. I have great admiration for your contributions to FOSS in general and to bidi users in particular and appreciate your patience in considering my dissenting views. My point about user selection is as follows. I write text

Re: Valid UTF-8 text mangled up in GtkLabel

2005-08-06 Thread Behdad Esfahbod
On Fri, 5 Aug 2005, Gaurav Jain wrote: > Hello Behdad, Hey, > Thanks for your quick response. I did understand what you stated > w.r.t. to the arabic text coming on the right, but I didn't quite > understand how the brackets that are coming are "correct" even for > right-to-left direction. Ok,

Re: Valid UTF-8 text mangled up in GtkLabel

2005-08-06 Thread Behdad Esfahbod
On Fri, 5 Aug 2005, Jonathan Ben Avraham wrote: > Hi Behdad, Gaurav, > IMHO this is *the* classic example of misapplied "bidi algorithm", that > is, the heuristic for determining base direction based on the first > strong directional. There is no reason ever to use this heuristic in any > normal G

Re: Valid UTF-8 text mangled up in GtkLabel

2005-08-05 Thread Jonathan Ben Avraham
Hi Behdad, Gaurav, IMHO this is *the* classic example of misapplied "bidi algorithm", that is, the heuristic for determining base direction based on the first strong directional. There is no reason ever to use this heuristic in any normal GUI application. In almost all Arabic, Farsi and Hebrew

Re: Valid UTF-8 text mangled up in GtkLabel

2005-08-05 Thread Behdad Esfahbod
On Fri, 5 Aug 2005, Gaurav Jain wrote: > Hi, > > I'm trying to set the text in a GtkLabel to a UTF-8 string, which > contains some arabic characters first, followed by my email address in > angle brackets, followed by my name in round brackets. For e.g., a > sample value is: > > X <[EMAIL PROTECT

Re: Valid UTF-8 text mangled up in GtkLabel

2005-08-05 Thread Gaurav Jain
Hello Behdad, Thanks for your quick response. I did understand what you stated w.r.t. to the arabic text coming on the right, but I didn't quite understand how the brackets that are coming are "correct" even for right-to-left direction. I mean, it's not the "direction" of the brackets, it's the

Valid UTF-8 text mangled up in GtkLabel

2005-08-04 Thread Gaurav Jain
Hi, I'm trying to set the text in a GtkLabel to a UTF-8 string, which contains some arabic characters first, followed by my email address in angle brackets, followed by my name in round brackets. For e.g., a sample value is: X <[EMAIL PROTECTED]> (Gaurav Jain) In the above, 'X' represents a val