(no title)
tgflynn | 2 years ago
I have an interest in some less spoken languages like Ancient Greek and Sanskrit and though there are specific keyboard layouts that mostly work there are still some less common combinations of diacritics used in writing Ancient Greek, for example, that don't seem to be covered.
Is there some way to use the compose key for entering general Unicode sequences for example, that would work for different applications ?
I'm a Linux user but I'd be interested in seeing a solid exposition on this topic even if it was for a different OS.
lproven|2 years ago
That is an interesting question.
Step 1, be operating in the basic alphabet.
Step 2, work out the necessary modifiers on top of that.
This is... harder than it looks.
Q: Are there keyboard layouts for Ancient Greek, or for Sanskrit?
A: Yes, e.g.
https://help.keyman.com/keyboard/greekclassical/1.2/greekcla...
http://prakrit.info/keyboard.html
BUT they may already have their own systems for diacritics, as these do.
I note that the Sanskrit one here uses dead keys, which I personally hate.
Second note: dead keys are responsible for the very common issue of Eastern European keyboard users trying to type English on layouts with an acute accent key, and using the accent for an apostrophe. If you know the difference the result looks terrible, especially in any and all proportionally-spaced fonts.
In other words the core (key, haha) problem here is lack of uptake of the Compose key by IBM when designing the PC, so meaning it is not generally known and people design fancy new layouts because they don't know this is an option.
tgflynn|2 years ago
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 "'".