by tgflynn · 3y ago · 0 comments
Part of the problem may also be the difference between precomposed and non precomposed glyphs in Unicode, which I don't really understand, but it seems that if a keyboard layout is designed to use precomposed glyphs it may not allow you to further compose those with other code points.
For example there is a character that is a lowercase alpha with both an acute accent and a macron on top. With the right font it displays correctly (it probably wouldn't if I tried to copy-paste it here) but I don't know how to enter it on the keyboard. I suspect that's because there's no precomposed Unicode codepoint for it and my keyboard layout only seems to work with those.
The correct encoding for it is "GREEK SMALL LETTER ALPHA WITH MACRON" (Unicode name) composed with "'".
https://www.theregister.com/2022/01/07/foss_fest_foreign_let...
It's dead easy.
You type compose, then 2 (or very occasionally 3) characters which, put together, make the letter you want.
Compose, a, ` gives à. Compose, A, ` gives À.
And so on. Y,=, ¥. c,/,¢
You can usually guess the combination you need.
So I can only guess:
Let's assume we have a Greek layout. And that that has keys from alpha to omega, and a RightAlt or something, and keys that have some useful resemblance to acute, grave, circumflex, rough, smooth, etc.
Compose, type an alpha, type an apostrophe?
As an example, I sometimes type in Czech.
č is comp, c, < š is comp, s, <
Others...
î is comp, i, ^ ï is comp, i, "
ç is comp, c, comma
All that's needed is a vague visual resemblance to the desired diacritic.