Add support for the Meetei Mayek script

* lisp/language/indian.el ("Meetei Mayek"): New language environment.
Add composition rules for Meetei Mayek. Add sample text and input method.
* lisp/international/fontset.el (script-representative-chars)
(setup-default-fontset): Support Meetei Mayek.
* lisp/leim/quail/indian.el ("meetei-mayek"): New input method.

* etc/HELLO: Add a Meetei Mayek greeting.
* etc/NEWS: Announce the new language environment.
This commit is contained in:
समीर सिंह Sameer Singh 2022-06-11 18:53:43 +05:30 committed by Eli Zaretskii
parent 27600ad673
commit 5381a1e6dd
5 changed files with 130 additions and 0 deletions

View file

@ -83,6 +83,7 @@ Malayalam (മലയാളം) നമസ്കാരം
Maldivian (ދިވެހި) އައްސަލާމު ޢަލައިކުމް / ކިހިނެހް؟
Maltese (il-Malti) Bonġu / Saħħa
Mathematics ∀ p ∈ world • hello p □
Meetei Mayek (ꯃꯤꯇꯩ ꯃꯌꯦꯛ) ꯈꯨꯔꯨꯝꯖꯔꯤ
Modi (𑘦𑘻𑘚𑘲) 𑘡𑘦𑘭𑘿𑘎𑘰𑘨
Mongolian (монгол хэл) Сайн байна уу?
Northern Thai (ᨣᩣᩴᨾᩮᩬᩥᨦ / ᨽᩣᩈᩣᩃ᩶ᩣ᩠ᨶᨶᩣ) ᩈ᩠ᩅᩢᩔ᩠ᨯᩦᨣᩕᩢ᩠ᨸ

View file

@ -890,6 +890,7 @@ corresponding language environments are:
**** Grantha script and language environment
**** Kharoshthi script and language environment
**** Lepcha script and language environment
**** Meetei Mayek script and language environment
---
*** The "Oriya" language environment was renamed to "Odia".

View file

@ -211,6 +211,7 @@
(javanese #xA98F #xA9B4 #xA9CA)
(cham #xAA00)
(tai-viet #xAA80)
(meetei-mayek #xABC0 #xABE3 #xAAE0 #xAAF6)
(hangul #xAC00)
(linear-b #x10000)
(aegean-number #x10100)
@ -776,6 +777,7 @@
rejang
javanese
tai-viet
meetei-mayek
aegean-number
ancient-greek-number
ancient-symbol

View file

@ -255,6 +255,17 @@ Lepcha language and its script are supported in this
language environment."))
'("Indian"))
(set-language-info-alist
"Meetei Mayek" '((charset unicode)
(coding-system utf-8)
(coding-priority utf-8)
(input-method . "meetei-mayek")
(sample-text . "Meetei Mayek (ꯃꯤꯇꯩ ꯃꯌꯦꯛ) ꯈꯨꯔꯨꯝꯖꯔꯤ")
(documentation . "\
Meetei language and its script Meetei Mayek are supported in this
language environment."))
'("Indian"))
;; Replace mnemonic characters in REGEXP according to TABLE. TABLE is
;; an alist of (MNEMONIC-STRING . REPLACEMENT-STRING).
@ -760,5 +771,21 @@ language environment."))
other-signs "?")
1 'font-shape-gstring))))
;; Meetei Mayek composition rules
(let ((akshara "[\xABC0-\xABE2\xAAE0-\xAAEA]")
(vowel "[\xABE3-\xABE9\xAAEB-\xAAEC]")
(nasal "\xABEA")
(visarga "\xAAF5")
(virama "[\xABED\xAAF6]")
(heavy-tone "\x11640"))
(set-char-table-range composition-function-table
'(#xABE3 . #xABED)
(list (vector
;; Consonant based syllables
(concat akshara "\\(?:" virama akshara "\\)*\\(?:"
virama "\\|" vowel "*" nasal "?" visarga "?"
heavy-tone "?\\)")
1 'font-shape-gstring))))
(provide 'indian)
;;; indian.el ends here

View file

@ -1863,5 +1863,104 @@ Full key sequences are listed below:")
("M" ?ᰖ)
("`m" ?ᰮ))
(quail-define-package
"meetei-mayek" "Meetei Mayek" "ꯃꯤ" t "Meetei Mayek phonetic input method.
`\\=`' is used to switch levels instead of Alt-Gr."
nil t t t t nil nil nil nil nil t)
(quail-define-rules
("``" ?₹)
("1" ?꯱)
("`1" ?1)
("2" ?꯲)
("`2" ?2)
("3" ?꯳)
("`3" ?3)
("4" ?꯴)
("`4" ?4)
("5" ?꯵)
("`5" ?5)
("6" ?꯶)
("`6" ?6)
("7" ?꯷)
("`7" ?7)
("8" ?꯸)
("`8" ?8)
("9" ?꯹)
("`9" ?9)
("0" ?꯰)
("`0" ?0)
("`\\" ?꫰)
("`|" ?꯫)
("`" ?ꫤ)
("q" ?ꫤ)
("Q" ?ꫥ)
("w" ?ꯋ)
("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