Howto write complex charactermaps? Help and info needed please...
Owen Taylor
otaylor@redhat.com
Tue Oct 30 06:57:00 GMT 2001
"Dinesh Nadarajah" <dxn1972@hotmail.com> writes:
> Hi:
>
> I am trying to implement some character maps for Indic languages (and
> thus some locales). Unfortunatly, many of the Indic 8-bit encodings
> are charcter based but the corresponding Unicode charcters are based
> on glphs.
>
> Moral of the story: It is a Many-to-many transformation.
>
> e.g.: the following could be a scenario (not real numbers)
> <U0b11><U0b36> : \x93\x95\xa8
> <U0b11><U0b36><U0b88> : \x83
>
> How can I implement such a character map. Any kind of pattern
> matching? algorithmic?
Handling this type of glyphset is really outside the scope for
libc. Such languages should use a UTF-8 locale with the transformation
to glyphs being done at the rendering level.
Support for such languages is nearly complete for the major widget
toolkits (GTK+-2.0, Qt 3), and I think people even have been looking
on adding Indic support to Xterm.
Regards,
Owen
More information about the Libc-alpha
mailing list