emacs-bidi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-bidi] testing bidi.el with the pgba tests


From: Eli Zaretskii
Subject: Re: [emacs-bidi] testing bidi.el with the pgba tests
Date: Thu, 15 Nov 2001 21:37:50 +0200

> From: Alex Schroeder <address@hidden>
> Date: Thu, 15 Nov 2001 18:43:26 +0100
> 
> >   http://crl.NMSU.Edu/~mleisher/ucdata.html
> 
> Hm, the results are a bit disappointing, to be honest.  Some of it
> should have been obvious -- I don't do mirroring of selected glyphs
> (rule L4).  Does Emacs have the required data somewhere?

Not at this time, but the table you need is very short; see the file
BidiMirroring.txt in the Unicode data base.

> 2. My code doesn't switch 1+5 to 5+1 in number 14.  The Unicode
>    Reference Code seems to produce 5+1, all other implementations
>    listed keep 1+5.

Your code is correct: the result should be (from left to right)
"1+5", not "5+1".  `+' is a WEAK_ET character, exactly like `-', so
producing "1-5" for `-' but "5+1" for `+' is wrong.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]