Edmund GRIMLEY EVANS wrote on 2000-09-10 09:13 UTC:
> #define CCHARW_MAX    5
> typedef struct
> {
>     attr_t    attr;
>     wchar_t   chars[CCHARW_MAX];
> }
> cchar_t;

How about setting CCHARW_MAX = 3 if memory is an issue here? This will
give you 18 months * log_2(24 bytes/16 bytes) = 10.53 months of
Moore's law ... :)

Xterm also can't handle more at the moment, and two combining character
per base character are sufficient for Thai, which is after all the main
reason why we bother with combining characters at all in VT100
emulators. Also mathematicians and linguists (IPA) who try to do their
trade under VT100 emulators (as opposed to proper word processing
systems) should be more than happy with up to two combining characters
per cell.

Markus

-- 
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org,  WWW: <http://www.cl.cam.ac.uk/~mgk25/>

-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/

Reply via email to