emacs-bidi
[Top][All Lists]
Advanced

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

Re: [emacs-bidi] mirroring of glyphs


From: Eli Zaretskii
Subject: Re: [emacs-bidi] mirroring of glyphs
Date: Tue, 20 Nov 2001 13:21:21 +0200

> From: Alex Schroeder <address@hidden>
> Date: Mon, 19 Nov 2001 11:56:31 +0100
> 
> * "abc ECNO abc ~~~23%%% TSET" fails
> 
> (bidi-visual-to-logical-test "abc ECNO abc ~~~23%%% TSET" 'R2L 'string)
> "   a   b   c       E   C   N   O       a   b   c       ~   ~   ~   2   3   % 
>   %   %       T   S   E   T"
> (bidi-visual-to-logical-test "abc ECNO abc ~~~23%%% TSET" 'R2L 'types)
> "   L   L   L  WS   R   R   R   R  WS   L   L   L  WS  ON  ON  ON  EN  EN  ET 
>  ET  ET  WS   R   R   R   R"
> (bidi-visual-to-logical-test "abc ECNO abc ~~~23%%% TSET" 'R2L 
> 'resolved-types)
> "   L   L   L   R   R   R   R   R   R   L   L   L   R   R   R   R  EN  EN  EN 
>  EN  EN   R   R   R   R   R"
> (bidi-visual-to-logical-test "abc ECNO abc ~~~23%%% TSET" 'R2L 'levels)
> "   2   2   2   1   1   1   1   1   1   2   2   2   1   1   1   1   2   2   2 
>   2   2   1   1   1   1   1"
> (bidi-visual-to-logical-test "abc ECNO abc ~~~23%%% TSET" 'R2L)
> "TEST 23%%%~~~ abc ONCE abc"
> 
> instead of 
> 
> "TEST abc ~~~23%%% ONCE abc"

Hmm.. there's a basic asymmetry in UAX#9, in that many rules say to
search backwards for a character of some type.  I wonder what will
happen if in the visual-to-logical conversion, you will instead
search forward in those case?  Can you try that?



reply via email to

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