1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00

Add support for the Makasar and Lontara scripts (bug#55734)

* lisp/language/indonesian.el ("Makasar") ("Buginese"):
New language environment. Add composition rules for Makasar
and Lontara. Add sample texts and input methods.
* lisp/international/fontset.el (script-representative-chars)
(setup-default-fontset): Support Makasar and Buginese.
* lisp/leim/quail/indonesian.el ("makasar") ("lontara"):
New input methods.

* etc/HELLO: Add Makasar and Buginese greetings.
* etc/NEWS: Announce the new language environments.
This commit is contained in:
समीर सिंह Sameer Singh 2022-05-30 17:46:14 +05:30 committed by Eli Zaretskii
parent 90957dfb7a
commit f1e21a0341
5 changed files with 104 additions and 3 deletions

View File

@ -34,6 +34,7 @@ Bengali (বাংলা) নমস্কার
Brahmi (𑀩𑁆𑀭𑀸𑀳𑁆𑀫𑀻) 𑀦𑀫𑀲𑁆𑀢𑁂
Braille ⠓⠑⠇⠇⠕
Buginese (ᨒᨚᨈᨑ) ᨖᨒᨚ
Burmese (မြန်မာ) မင်္ဂလာပါ
C printf (<x-color><param>orange red</param>"Hello, world!\n"</x-color>);
Cham (ꨌꩌ) ꨦꨤꩌ ꨦꨁꨰ
@ -73,6 +74,7 @@ Khmer (ភាសាខ្មែរ) ជំរាបសួរ
Lakota (Lakȟotiyapi) Taŋyáŋ yahí!
Lao (ພາສາລາວ) ສະບາຍດີ / ຂໍໃຫ້ໂຊກດີ
Limbu (ᤕᤰᤌᤢᤱ ᤐᤠᤴ) ᤛᤣᤘᤠᤖᤥ
Makasar (𑻪𑻢𑻪𑻢) 𑻦𑻤𑻵𑻱
Malayalam (മലയാളം) നമസ്കാരം
Maldivian (ދިވެހި) އައްސަލާމު ޢަލައިކުމް / ކިހިނެހް؟
Maltese (il-Malti) Bonġu / Saħħa

View File

@ -838,6 +838,8 @@ corresponding language environments are:
**** Sundanese script and language environment
**** Batak script and language environment
**** Rejang script and language environment
**** Makasar script and language environment
**** Lontara script and language environment
---
*** The "Oriya" language environment was renamed to "Odia".

View File

@ -189,6 +189,7 @@
(khmer #x1780)
(mongolian #x1826)
(limbu #x1901 #x1920 #x1936)
(buginese #x1A00 #x1A1E)
(balinese #x1B13 #x1B35 #x1B5E)
(sundanese #x1B8A #x1BAB #x1CC4)
(batak #x1BC2 #x1BE7 #x1BFF)
@ -266,7 +267,7 @@
(marchen #x11C72)
(masaram-gondi #x11D00)
(gunjala-gondi #x11D60)
(makasar #x11EE0)
(makasar #x11EE0 #x11EF7)
(cuneiform #x12000)
(cypro-minoan #x12F90)
(egyptian #x13000)
@ -762,6 +763,7 @@
buhid
tagbanwa
limbu
buginese
balinese
sundanese
batak

View File

@ -73,6 +73,24 @@ and Simalungun, are supported in this language environment.")))
(documentation . "\
Rejang language and its script are supported in this language environment.")))
(set-language-info-alist
"Makasar" '((charset unicode)
(coding-system utf-8)
(coding-priority utf-8)
(input-method . "makasar")
(sample-text . "Makasar (𑻪𑻢𑻪𑻢) 𑻦𑻤𑻵𑻱")
(documentation . "\
Makassarese language and its script Makasar are supported in this language environment.")))
(set-language-info-alist
"Buginese" '((charset unicode)
(coding-system utf-8)
(coding-priority utf-8)
(input-method . "lontara")
(sample-text . "Buginese (ᨒᨚᨈᨑ) ᨖᨒᨚ")
(documentation . "\
Buginese language and its script Lontara are supported in this language environment.")))
;; Balinese composition rules
(let ((consonant "[\x1B13-\x1B33\x1B45-\x1B4B]")
(independent-vowel "[\x1B05-\x1B12]")
@ -165,5 +183,15 @@ Rejang language and its script are supported in this language environment.")))
dependant-consonant "?")
1 'font-shape-gstring))))
;; Makasar composition rules
(let ((akshara "[\x11EE0-\x11EF2]")
(vowel "[\x11EF3-\x11EF6]"))
(set-char-table-range composition-function-table
'(#x11EF3 . #x11EF6)
(list (vector
;; Akshara based syllables
(concat akshara vowel "*")
1 'font-shape-gstring))))
(provide 'indonesian)
;;; indonesian.el ends here

View File

@ -444,8 +444,8 @@
("`m" ?ᯣ))
(quail-define-package
"rejang" "Rejang" "ꤽꥍ" nil "Rejang phonetic input method."
nil t t t t nil nil nil nil nil t)
"rejang" "Rejang" "ꤽꥍ" nil "Rejang phonetic input method."
nil t t t t nil nil nil nil nil t)
(quail-define-rules
("q" ?꥟)
@ -486,5 +486,72 @@
("m" ?ꤸ)
("M" ?ꥂ))
(quail-define-package
"makasar" "Makasar" "𑻪" nil "Makasar phonetic input method."
nil t t t t nil nil nil nil nil t)
(quail-define-rules
("q" ?𑻷)
("Q" ?𑻸)
("e" ?𑻵)
("r" ?𑻭)
("t" ?𑻦)
("y" ?𑻬)
("u" ?𑻴)
("i" ?𑻳)
("o" ?𑻶)
("p" ?𑻣)
("a" ?𑻱)
("s" ?𑻰)
("d" ?𑻧)
("g" ?𑻡)
("j" ?𑻪)
("k" ?𑻠)
("l" ?𑻮)
("z" ?𑻢)
("Z" ?𑻲)
("x" ?𑻫)
("c" ?𑻩)
("v" ?𑻯)
("b" ?𑻤)
("n" ?𑻨)
("m" ?𑻥))
(quail-define-package
"lontara" "Lontara" "" nil "Lontara phonetic input method."
nil t t t t nil nil nil nil nil t)
(quail-define-rules
("q" ?᨞)
("Q" ?᨟)
("e" ?ᨙ)
("E" ?ᨛ)
("r" ?ᨑ)
("t" ?ᨈ)
("y" ?ᨐ)
("u" ?ᨘ)
("i" ?ᨗ)
("o" ?ᨚ)
("p" ?ᨄ)
("a" ?ᨕ)
("s" ?ᨔ)
("d" ?ᨉ)
("g" ?ᨁ)
("h" ?ᨖ)
("j" ?ᨍ)
("k" ?ᨀ)
("l" ?ᨒ)
("z" ?ᨂ)
("Z" ?ᨃ)
("x" ?ᨎ)
("X" ?ᨏ)
("c" ?ᨌ)
("v" ?ᨓ)
("b" ?ᨅ)
("n" ?ᨊ)
("N" ?ᨋ)
("m" ?ᨆ)
("M" ?ᨇ))
(provide 'indonesian)
;;; indonesian.el ends here