This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Howto write complex charactermaps? Help and info needed please...



"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]