This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Howto write complex charactermaps? Help and info needed please...
- To: "Dinesh Nadarajah" <dxn1972 at hotmail dot com>
- Subject: Re: Howto write complex charactermaps? Help and info needed please...
- From: Owen Taylor <otaylor at redhat dot com>
- Date: 30 Oct 2001 09:57:22 -0500
- Cc: libc-alpha at sources dot redhat dot com
- References: <F48zbAUfKRfcjcMzfoV00015ce0@hotmail.com>
"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