[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compositions and bidi display
From: |
Kenichi Handa |
Subject: |
Re: Compositions and bidi display |
Date: |
Wed, 28 Apr 2010 13:01:10 +0900 |
In article <address@hidden>, Eli Zaretskii <address@hidden> writes:
> > Provided that uppercase letters denote Hebrew consonants,
> > lowercase denotes Hebrew diacriticals, a buffer has the
> > character sequence "AaBbCc", CHARPOS is the position of 'c',
> > ENDPOS is the position of 'A'.
> > [...]
> > To do all of them, perhaps all I need is to know the way to
> > find the correct ENDPOS. Please tell me how to do that.
> What is the definition of ENDPOS? If that's the beginning of the
> composition sequence, that's the same question I asked, for which I
> don't know the answer. If that's the other end of the R2L run of
> characters,
Yes, that one.
> you need to iterate with bidi_get_next_char_visually until
> some condition (which I cannot yet formulate) is
> satisfied. But note that this is tricky, because the bidi
> iteration changes direction and jumps at will.
The condition should be "until it reaches a character that
should never be composed with the currently looking
character". We may be able to simplify that condition to
"until it reaches a character in the different bidi level
(or chunk)".
---
Kenichi Handa
address@hidden
- Re: Compositions and bidi display (was: bug#5977: 24.0.50; Lao HELLO is incorrectly displayed), Eli Zaretskii, 2010/04/23
- Re: Compositions and bidi display (was: bug#5977: 24.0.50; Lao HELLO is incorrectly displayed), Andreas Schwab, 2010/04/23
- Re: Compositions and bidi display (was: bug#5977: 24.0.50; Lao HELLO is incorrectly displayed), Kenichi Handa, 2010/04/25
- Re: Compositions and bidi display (was: bug#5977: 24.0.50; Lao HELLO is incorrectly displayed), Kenichi Handa, 2010/04/26
- Re: Compositions and bidi display, Eli Zaretskii, 2010/04/26
- Re: Compositions and bidi display, Kenichi Handa, 2010/04/27
- Re: Compositions and bidi display, Eli Zaretskii, 2010/04/27
- Re: Compositions and bidi display,
Kenichi Handa <=
- Re: Compositions and bidi display, Eli Zaretskii, 2010/04/28
- Re: Compositions and bidi display, Stefan Monnier, 2010/04/28
- Re: Compositions and bidi display, Eli Zaretskii, 2010/04/28
- Re: Compositions and bidi display, Kenichi Handa, 2010/04/29
- Re: Compositions and bidi display, Eli Zaretskii, 2010/04/30
- Re: Compositions and bidi display, Kenichi Handa, 2010/04/30
- Re: Compositions and bidi display, Eli Zaretskii, 2010/04/30
- Re: Compositions and bidi display, Eli Zaretskii, 2010/04/30
- Re: Compositions and bidi display, Kenichi Handa, 2010/04/30
- Re: Compositions and bidi display, Eli Zaretskii, 2010/04/30