Re: Static compose table in gtkimcontextsimple.c



> GDK_dead_circumflex, GDK_C, 0, 0, 0, 0x0108, /* LATIN_CAPITAL_LETTER_C_WITH_CIRCUMFLEX */
> [...]
> GDK_dead_circumflex, GDK_c, 0, 0, 0, 0x0109, /* LATIN_SMALL_LETTER_C_WITH_CIRCUMFLEX */
> [...]

The sequences you list are exactly of the straightforward kind that in
my opinion can and should be handled algorithmically. I.e. a "dead"
accent followed by a letter can be mapped to the corresponding
precomposed character without an explicit table. I have a patch in bug
#321896 that implements such an algorithm (and which would handle your
cases, too.) Basically it's waiting for a second opinion from the GTK+
maintainers.

--tml


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]