Possible to add new precomposed characters for local language in Togo?

Philippe Verdy verdy_p at wanadoo.fr
Fri Nov 4 14:44:55 CDT 2016

Consider this source code (based on Microsfot "kbd.h", even if it is ported
to ReadOS)


Look for the structures named with "LIGATURE"

And now look at the special entry value "WCH_LGTR"=0xF002 (i.e. a PUA),
which indicate these keys are mapped using those "LIGATUREn" structures
(which have arbitrary lengths in WCHAR/UTF-16 code units), instead of
storing a 16-bit code unit directly.

<kbd.h> predefines LIGATURE1 to LIGATURE5 but longer lengths are possible
(see cbLgEntry and nLgMaxd members in the KBDTABLE structure)

The table of ligatures in linked from the pLigature member of the KBDTABLES
structure, which points to the first set of LIGATURE1 mappings.

Now study more precisely how _KBDTABLES is defined <kbd.h> and documented
in MSDN...

2016-11-04 19:52 GMT+01:00 Doug Ewell <doug at ewellic.org>:
> Philippe Verdy wrote:
> >> This is not an example of how it actually works, which someone else
> >> can duplicate. It is a description of how you imagine it works.
> >
> > It is the way it is documented in MSDN that explains the formats fo
> > keymap tables (you have to notice that there are several table
> > formats, each format allowing more or less code units.
> Well, gee, I'd like to look that up and see how to apply it, but you
> didn't supply a link. Does one exist?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unicode.org/pipermail/unicode/attachments/20161104/bed2907b/attachment.html>

More information about the Unicode mailing list