summaryrefslogtreecommitdiff
path: root/nls
diff options
context:
space:
mode:
authorMohamed Akram <mohd.akram@outlook.com>2024-05-24 18:18:43 +0400
committerMohamed Akram <mohd.akram@outlook.com>2024-05-24 18:18:43 +0400
commit763f3f938c24993e9ceb1d6960d939b022fa8dfe (patch)
tree8ca73a5a1378a2b4c94dc02d0b9239ec85dc31d7 /nls
parent97fb5bda3d0777380cd4b964f48771a82ef3f2a7 (diff)
nls: add Arabic hamza compose sequences
These sequences are intended for use in the ara(mac-phonetic) and my(phonetic) layouts. They are based on the following layouts listed in the CLDR: - https://github.com/unicode-org/cldr/blob/release-43/keyboards/osx/ar-t-k0-osx-qwerty.xml - https://github.com/unicode-org/cldr/blob/release-43/keyboards/osx/ms-t-k0-osx.xml The sequences are listed in the `<transforms>` section, and are reproduced below: ``` <transforms type="simple"> <transform from="ء\u{64E}" to="آ"/> <!-- ءَ → آ --> <transform from="ء\u{650}" to="إ"/> <!-- ءِ → إ --> <transform from="ء " to="ء"/> <transform from="ء\u{A0}" to="ء"/> <transform from="ء!" to="إ"/> <transform from="ء١" to="إ"/> <transform from="ءا" to="أ"/> <transform from="ءس" to="ئ"/> <transform from="ءو" to="ؤ"/> <transform from="ءي" to="ئ"/> <transform from="ءى" to="ئ"/> </transforms> ``` We limit ourselves to the sequences that strictly combine a character and a hamza, and generate that character with a hamza on it, following the behavior in sequences of other dead keys. Additional sequences, potentially for other layouts as well, could be added later on as necessary. Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/218>
Diffstat (limited to 'nls')
-rw-r--r--nls/en_US.UTF-8/Compose.pre9
1 files changed, 8 insertions, 1 deletions
diff --git a/nls/en_US.UTF-8/Compose.pre b/nls/en_US.UTF-8/Compose.pre
index 680f4fab..36fc802f 100644
--- a/nls/en_US.UTF-8/Compose.pre
+++ b/nls/en_US.UTF-8/Compose.pre
@@ -1678,7 +1678,12 @@ XCOMM Cyrillic
<dead_diaeresis> <Cyrillic_yeru> : "ӹ" U04F9 # CYRILLIC SMALL LETTER YERU WITH DIAERESIS
<Multi_key> <quotedbl> <Cyrillic_yeru> : "ӹ" U04F9 # CYRILLIC SMALL LETTER YERU WITH DIAERESIS
-XCOMM Several other scripts
+XCOMM Arabic
+<dead_hamza> <space> : "ء" Arabic_hamza # ARABIC LETTER HAMZA
+<dead_hamza> <dead_hamza> : "ء" Arabic_hamza # ARABIC LETTER HAMZA
+<dead_hamza> <Arabic_alef> : "أ" Arabic_hamzaonalef # ARABIC LETTER ALEF WITH HAMZA ABOVE
+<dead_hamza> <Arabic_waw> : "ؤ" Arabic_hamzaonwaw # ARABIC LETTER WAW WITH HAMZA ABOVE
+<dead_hamza> <Arabic_yeh> : "ئ" Arabic_hamzaonyeh # ARABIC LETTER YEH WITH HAMZA ABOVE
<Multi_key> <U0653> <Arabic_alef> : "آ" U0622 # ARABIC LETTER ALEF WITH MADDA ABOVE
<Multi_key> <U0654> <Arabic_alef> : "أ" U0623 # ARABIC LETTER ALEF WITH HAMZA ABOVE
<Multi_key> <U0654> <Arabic_waw> : "ؤ" U0624 # ARABIC LETTER WAW WITH HAMZA ABOVE
@@ -1687,6 +1692,8 @@ XCOMM Several other scripts
<Multi_key> <U0654> <U06D5> : "ۀ" U06C0 # ARABIC LETTER HEH WITH YEH ABOVE
<Multi_key> <U0654> <U06C1> : "ۂ" U06C2 # ARABIC LETTER HEH GOAL WITH HAMZA ABOVE
<Multi_key> <U0654> <U06D2> : "ۓ" U06D3 # ARABIC LETTER YEH BARREE WITH HAMZA ABOVE
+
+XCOMM Several other scripts
<Multi_key> <U093C> <U0928> : "ऩ" U0929 # DEVANAGARI LETTER NNNA
<Multi_key> <U093C> <U0930> : "ऱ" U0931 # DEVANAGARI LETTER RRA
<Multi_key> <U093C> <U0933> : "ऴ" U0934 # DEVANAGARI LETTER LLLA