Re: Grapheme clusters and east asian width

From: Dominikus Dittes Scherkl <lyratelle_at_gmx.de>
Date: Wed, 16 Sep 2015 22:27:25 +0200

Am 16.09.2015 um 03:45 schrieb Daniel Bünzli:
> Hello,
>
> Is there any guidance on how to combine the information given by
> grapheme clusters and the east asian width property to do fixed-width
> layouts in terminal emulators ?
>
> For example if we have:
>
> U+AC01 ( 각 ) HANGUL SYLLABLE GAG
>
> This will delimit a single grapheme cluster with east asian width W
> and hence 2 columns in a tty. However if we have it as the sequence:
>
> U+1100 ( ᄀ ) HANGUL CHOSEONG KIYEOK U+1161 ( ᅡ ) HANGUL JUNGSEONG A
> U+11A8 ( ᆨ ) HANGUL JONGSEONG KIYEOK
>
>
>
> This will delimit a single grapheme cluster, but if I try to add up
> their east asian widths (W, N, N), this would result in 4 columns.
>
Why adding them up?
I think every grapheme cluster of hangul syllables would have simply
width 2 - that is the concept of CJK charakters.

-- 
Dominikus Dittes Scherkl
Received on Wed Sep 16 2015 - 15:28:56 CDT

This archive was generated by hypermail 2.2.0 : Wed Sep 16 2015 - 15:28:56 CDT