[Top][All Lists]
[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: |
Mon, 19 Nov 2001 10:40:40 +0200 (IST) |
On Sun, 18 Nov 2001, Alex Schroeder wrote:
> * Possible fix: string-reverse
Yes.
> When reversing input and output:
>
> (string-reverse
> (bidi-visual-to-logical
> (string-reverse "<123H/>shalom<123H>") 'R2L))
> returns "<H123>shalom</H123>" as required
>
> This solves the immediate problem, but fails with the following:
>
> (string-reverse
> (bidi-visual-to-logical
> (string-reverse "<h123>MALAAS</h123>") 'L2R))
> return "<hSAALAM<123</h123>"
> instead of "<h123>SAALAM</h123>"
This latter case doesn't need to be reversed, because the context is
L2R. You should only reverse the input if the context is R2L.
Does that solve all of the problems? If not, please post the menmonic
output of the case that still isn't solved.
- Re: [emacs-bidi] testing bidi.el with the pgba tests, (continued)
- Re: [emacs-bidi] testing bidi.el with the pgba tests, Alex Schroeder, 2001/11/15
- Re: [emacs-bidi] testing bidi.el with the pgba tests, Eli Zaretskii, 2001/11/15
- Re: [emacs-bidi] mirroring of glyphs, Alex Schroeder, 2001/11/15
- Re: [emacs-bidi] mirroring of glyphs, Alex Schroeder, 2001/11/15
- Re: [emacs-bidi] mirroring of glyphs, Alex Schroeder, 2001/11/16
- Re: [emacs-bidi] mirroring of glyphs, Eli Zaretskii, 2001/11/16
- Re: [emacs-bidi] mirroring of glyphs, Ehud Karni, 2001/11/16
- Re: [emacs-bidi] mirroring of glyphs, Alex Schroeder, 2001/11/17
- Re: [emacs-bidi] mirroring of glyphs, Eli Zaretskii, 2001/11/17
- Re: [emacs-bidi] mirroring of glyphs, Alex Schroeder, 2001/11/18
- Re: [emacs-bidi] mirroring of glyphs,
Eli Zaretskii <=
- Re: [emacs-bidi] mirroring of glyphs, Alex Schroeder, 2001/11/19
- Re: [emacs-bidi] mirroring of glyphs, Eli Zaretskii, 2001/11/19
- Re: [emacs-bidi] mirroring of glyphs, Alex Schroeder, 2001/11/19
- Re: [emacs-bidi] mirroring of glyphs, Eli Zaretskii, 2001/11/19
- Re: [emacs-bidi] mirroring of glyphs, Alex Schroeder, 2001/11/19
- Re: [emacs-bidi] mirroring of glyphs, Eli Zaretskii, 2001/11/20
- Re: [emacs-bidi] mirroring of glyphs, Alex Schroeder, 2001/11/20
- Re: [emacs-bidi] mirroring of glyphs, Eli Zaretskii, 2001/11/20
- Re: [emacs-bidi] mirroring of glyphs, Alex Schroeder, 2001/11/18
- Re: [emacs-bidi] mirroring of glyphs, Eli Zaretskii, 2001/11/19