[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: |
Sat, 17 Nov 2001 09:51:59 +0200 |
> Date: Fri, 16 Nov 2001 22:05:02 +0200
> From: "Ehud Karni" <address@hidden>
> >
> > {
> > size_t i = p - mirrored_pairs;
> >
> > if ((i & 1) == 0)
> > return mirrored_pairs[i + 1];
> > else
> > return mirrored_pairs[i - 1];
> > }
>
> This can be changed to:
> {
> size_t i = p - mirrored_pairs;
> return mirrored_pairs [ (i ^ 1) ];
> }
Thanks.
But note that the modified code needs to be explained, whereas the
original one explains itself ;-)
- Re: [emacs-bidi] debugging visual-to-logical, (continued)
- Re: [emacs-bidi] mirroring of glyphs, Behdad Esfahbod, 2001/11/19
- Re: [emacs-bidi] mirroring of glyphs, Eli Zaretskii, 2001/11/20
- Re: [emacs-bidi] mirroring of glyphs, Roozbeh Pournader, 2001/11/20
- Re: [emacs-bidi] mirroring of glyphs, Behdad Esfahbod, 2001/11/20
- Re: [emacs-bidi] mirroring of glyphs, Eli Zaretskii, 2001/11/20
- Re: [emacs-bidi] mirroring of glyphs, Behdad Esfahbod, 2001/11/20
- 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,
Eli Zaretskii <=
- 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] testing bidi.el with the pgba tests, Alex Schroeder, 2001/11/15
- Re: [emacs-bidi] Where do I start?, Alex Schroeder, 2001/11/15
- Re: [emacs-bidi] Where do I start?, Behdad Esfahbod, 2001/11/19
- Re: [emacs-bidi] Where do I start?, Alex Schroeder, 2001/11/19