diff options
| author | Jules Aguillon | 2024-12-05 00:00:51 +0100 |
|---|---|---|
| committer | GitHub | 2024-12-05 00:00:51 +0100 |
| commit | de6ee1858b6864e1827af2097ad30b884d0dec6c (patch) | |
| tree | 4177c3b808da987913d4895b255fcea765fea019 /srcs/compose | |
| parent | bd49ff5432f5bbe7dd525da11dacef90fd2e7f6f (diff) | |
| download | unexpected-keyboard-de6ee1858b6864e1827af2097ad30b884d0dec6c.tar.gz unexpected-keyboard-de6ee1858b6864e1827af2097ad30b884d0dec6c.zip | |
Arabic diacritics (#807)
Add arabic combining diacritics and make them accessible via Fn and Compose combos.
Co-authored-by: Anastázius Kaejatídarján <32847759+anaskaejdar@users.noreply.github.com>
Diffstat (limited to 'srcs/compose')
| -rw-r--r-- | srcs/compose/compose/arabic.json | 149 | ||||
| -rw-r--r-- | srcs/compose/fn.json | 35 |
2 files changed, 183 insertions, 1 deletions
diff --git a/srcs/compose/compose/arabic.json b/srcs/compose/compose/arabic.json new file mode 100644 index 0000000..20edfea --- /dev/null +++ b/srcs/compose/compose/arabic.json @@ -0,0 +1,149 @@ +{ + "ا": { + "ا": "combining_alef_above", + "ع": "أ", + "و": "ۉ", + "ي": "ؽ", + "ی": "ؽ", + "۷": "combining_alef_below", + "٧": "combining_alef_below" + }, + "ت": { + "د": "ط", + "ر": "ڑ", + "ش": "ث", + "ن": "ٹ" + }, + "ج": { + "ش": "چ" + }, + "ح": { + "ح": "combining_sukun" + }, + "د": { + "ت": "ڈ", + "ز": "ذ", + "ت": "ڑ", + "۷": "ڕ" + }, + "س": { + "ش": "ص" + }, + "ش": { + "ت": "ث" + }, + "ع": { + "ا": "إ", + "ه": "ۀ", + "و": "ؤ", + "ي": "ئ", + "ی": "ئ", + "۷": "combining_hamza_below", + "۸": "combining_hamza_above", + "٧": "combining_hamza_below", + "٨": "combining_hamza_above" + }, + "غ": { + "ك": "گ", + "ک": "گ" + }, + "ف": { + "و": "ڡ" + }, + "ق": { + "و": "ۊ" + }, + "ل": { + "ل": "combining_shaddah", + "۷": "ڵ", + "٧": "ڵ" + }, + "ن": { + "ت": "ٹ", + "ه": "combining_fathatan", + "و": "combining_dammatan", + "ی": "combining_kasratan", + "ي": "combining_kasratan" + }, + "ه": { + " ": "ە", + "ت": "ة", + "ع": "ۀ", + "ن": "combining_fathatan", + "ه": "combining_fatha", + "و": "ۆ", + "ي": "ێ", + "ی": "ێ" + }, + "و": { + "ث": "ۋ", + "ع": "ؤ", + "ف": "ڡ", + "ن": "combining_dammatan", + "و": "combining_dammah", + "۷": "ۆ", + "۸": "ۉ", + "۸": "ۉ", + "٧": "ۆ", + "٨": "ۉ", + "٨": "ۉ" + }, + "ي": { + " ": "ے", + "ا": "ى", + "ع": "ئ", + "ي": "combining_kasra", + "۷": "ێ", + "۸": "ؽ", + "ن": "combining_kasratan", + "٧": "ێ", + "٨": "ؽ" + }, + "ی": { + " ": "ے", + "ا": "ى", + "ع": "ئ", + "ن": "combining_kasratan", + "ی": "combining_kasra", + "۷": "ێ", + "۸": "ؽ", + "٧": "ێ", + "٨": "ؽ" + }, + "۷": { + "ا": "combining_alef_below", + "ر": "ڕ", + "ع": "combining_hamza_below", + "ل": "ڵ", + "و": "ۆ", + "ي": "ێ", + "ی": "ێ", + "۷": "combining_arabic_v" + }, + "۸": { + "ع": "combining_hamza_above", + "و": "ۉ", + "و": "ۉ", + "ي": "ؽ", + "ی": "ؽ", + "۸": "combining_arabic_inverted_v" + }, + "٧": { + "ا": "combining_alef_below", + "ر": "ڕ", + "ع": "combining_hamza_below", + "ل": "ڵ", + "و": "ۆ", + "ي": "ێ", + "٧": "combining_arabic_v", + "ی": "ێ" + }, + "٨": { + "ع": "combining_hamza_above", + "و": "ۉ", + "و": "ۉ", + "ي": "ؽ", + "٨": "combining_arabic_inverted_v", + "ی": "ؽ" + } +} diff --git a/srcs/compose/fn.json b/srcs/compose/fn.json index 70fc061..67bc295 100644 --- a/srcs/compose/fn.json +++ b/srcs/compose/fn.json @@ -215,5 +215,38 @@ "ԓ": "ԯ", "\ua67d": "\u0483", "\u0487": "\ua66f", - "ӈ": "ԩ" + "ӈ": "ԩ", + + // Arabic + ":": "zwnj", + "ل": "ڵ", + "\u064F": "ۆ", // combining_dammah + "\u0650": "ێ", // combining_kasra + "ر": "ڕ", + "ب": "ٮ", + "ه": "ھ", + "ث": "پ", + "ز": "ژ", + "غ": "گ", + "ك": "ک", + "ا": "آ", + "ي": "ی", + "ک": "ك", + "ط": "ظ", + "ص": "ض", + "ی": "ي", + "ق": "غ", + "ع": "ء", + "ح": "ہ", + "ێ": "combining_kasra", + "ئ": "combining_hamza_above", + "ؽ": "combining_arabic_inverted_v", + "ۉ": "combining_arabic_inverted_v", + "ڡ": "combining_dammah", + "ة": "combining_fatha", + "إ": "combining_hamza_below", + "ۆ": "combining_arabic_v", + "س": "ـ", + "ف": "ڤ", + "ن": "ں" } |
