[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-bidi] mirroring of glyphs
From: |
Alex Schroeder |
Subject: |
Re: [emacs-bidi] mirroring of glyphs |
Date: |
Mon, 19 Nov 2001 18:26:12 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) |
Eli Zaretskii <address@hidden> writes:
> Okay, but then the mnemonicized output of the interim phases of
> conversion should be read in reverse? I mean, if I want to go through
> the conversion phases and compare the results with what UAX#9 says, I
> need to look at the printed stuff backwards?
No.
(defun bidi-visual-to-logical-test (str context &optional debug)
"FIXME"
(when (eq context 'R2L)
(setq str (string-reverse str)))
...
(when (eq context 'R2L)
(setq levels (nreverse levels)
types (nreverse types)
resolved-types (nreverse resolved-types)
str (string-reverse str)))
(cond ((eq debug 'levels)
(bidi-pretty-print levels))
((eq debug 'resolved-types)
(bidi-pretty-print (bidi-get-mnemonics resolved-types)))
((eq debug 'types)
(bidi-pretty-print (bidi-get-mnemonics types)))
((eq debug 'string)
(bidi-pretty-print str))
(t
(bidi-reorder-string str levels)))))
Can you give me the example again which bothered you? Then I can
check it more thoroughly.
Alex.
--
http://www.emacswiki.org/
- Re: [emacs-bidi] mirroring of glyphs, (continued)
- 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, 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/19
- Re: [emacs-bidi] mirroring of glyphs,
Alex Schroeder <=
- 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
- Re: [emacs-bidi] debugging visual-to-logical, Alex Schroeder, 2001/11/19
- Re: [emacs-bidi] debugging visual-to-logical, Eli Zaretskii, 2001/11/19
- Re: [emacs-bidi] debugging visual-to-logical, Alex Schroeder, 2001/11/19
- Re: [emacs-bidi] debugging visual-to-logical, Eli Zaretskii, 2001/11/19
- Re: [emacs-bidi] mirroring of glyphs, Yair Friedman (Jerusalem), 2001/11/19