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

From: Philippe Verdy <>
Date: Fri, 4 Nov 2016 20:44:55 +0100

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 <>:
> 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?
Received on Fri Nov 04 2016 - 14:46:10 CDT

This archive was generated by hypermail 2.2.0 : Fri Nov 04 2016 - 14:46:10 CDT