Option to allow diacritics on all letters
Is there a way to allow the combining diacritic keys to be applied to any letter? For example, when I type ◌̣, it restricts me to vowels:
Because these keys are annoying to copy and paste from wiktionary, can I somehow disable the modifier keys' restrictions so I can type letters such as ⟨ṭ ḍ ṇ ṣ ḷ ṛ⟩ used in Hindustani romanization or ⟨ǚ⟩ used in pinyin? The nature of Unicode combining characters allows sequences such as ⟨t⟩ + ⟨◌̣⟩ = ⟨ṭ⟩ or even ⟨ü⟩ + ⟨◌̌⟩ = ⟨ǚ⟩, so I do not understand why the keyboard enforces this limitation.
You aren't restricted to vowels—but you are restricted to combinations for which a glyph exists in UNICODE.
- Note the new Compose key (circle+square legend).
- Roman Hindi combinations exist. For example, press
Compose!t. - Pinyin combinations exist; see my custom layout in #585.
Hi, currently, the keyboard avoids outputting composite characters (a character composed of several unicode code points) except in some case (see the acute accent, needed for https://github.com/Julow/Unexpected-Keyboard/issues/437).
With recent discussion, I think this arbitrary limitation should be lifted and composite characters should be allowed.
Could you do the implementation ? See the link above for how it works with the acute accent. We must make sure to run map_dead_char first and use the combining diacritic only if it returns null. Perhaps a new function map_dead_char_or_combining would be nice.