Re: Thai/Devanagari in GNOME Terminal
- From: Robert Brady <robert suse co uk>
- To: Ralph Giles <giles snow ashlu bc ca>
- Cc: gtk-i18n-list gnome org
- Subject: Re: Thai/Devanagari in GNOME Terminal
- Date: Mon, 23 Oct 2000 21:46:44 +0100 (BST)
On Mon, 23 Oct 2000, Ralph Giles wrote:
> For example, consider the following table. Forgive the english--I'm not
> familiar with thai script.
>
> -1- -2-
> brown fox
> gray cat
> yellow partridge
>
> If we imagine writing this with zero-width vowels we get:
>
> -1- -2-
> brwn fx
> gry ct
> yllw prtrdg
>
> The columns no longer align. If we apply the two-space compensation
> trigger:
>
> -1- -2-
> brwn fx
> gry ct
> yllow prtrdg
>
> Except for the case where only a single space separates the columns, the
> spacing is correct.
>
> Sorry for the pedantry. Constructing examples helps me understand...
This is highly icky. The correct solution is to honour wcwidth() and
wcswidth().
--
Robert
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]