Re: Counting Devanagari Aksharas

From: Manish Goregaokar via Unicode <unicode_at_unicode.org>
Date: Sat, 22 Apr 2017 21:25:02 -0700

> You cannot even
> meaningfully move by single characters in most clusters, because
> composing characters generally completely changes how the original
> characters looked, so there's nowhere you can display the cursor.

Yes, and this is one of the reasons it feels broken in devanagari, you
get cursors in the midst of aksharas, in weird places.

Backspace in browsers (chrome and firefox) deletes within EGCs too.
They delete matras in devanagari, and jamos in hangul. They don't
*exactly* work off of code points (e.g. flag emoji gets deleted as a
whole in many backspace implementations)
-Manish

On Sat, Apr 22, 2017 at 12:22 PM, Eli Zaretskii via Unicode
<unicode_at_unicode.org> wrote:
>> Date: Sat, 22 Apr 2017 17:13:36 +0100
>> From: Richard Wordingham via Unicode <unicode_at_unicode.org>
>>
>> > Movement by grapheme
>> > cluster is AFAIK the most natural way of moving in complex scripts.
>>
>> Evidence?
>
> Personal experience?
>
>> It's easiest for displaying the cursor.
>
> It's the _only_ way of displaying the cursor. You cannot even
> meaningfully move by single characters in most clusters, because
> composing characters generally completely changes how the original
> characters looked, so there's nowhere you can display the cursor. And
> without being able to position the cursor, a visual feedback to the
> user becomes troublesome at best.
>
>> I've encountered the problem that, while at least I can search for
>> text smaller than a cluster, there's no indication in the window of
>> where in the window the text is.
>
> I could imagine Emacs decomposing characters temporarily when only
> part of a cluster matches the search string. Assuming this would make
> sense to users of some complex scripts, that is. You are welcome to
> suggest such a feature by using report-emacs-bug.
>
>> SIL's Graphite supports the idea of a split cursor, which
>> shows the glyphs corresponding to the characters before and after the
>> cursor position.
>
> I find split-cursor to be a nuisance, FWIW. IME, it confuses the
> users without making anything much clearer.
Received on Sat Apr 22 2017 - 23:26:25 CDT

This archive was generated by hypermail 2.2.0 : Sat Apr 22 2017 - 23:26:25 CDT