summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorसमीर सिंह Sameer Singh <lumarzeli30@gmail.com>2022-10-06 17:34:28 +0530
committerEli Zaretskii <eliz@gnu.org>2022-10-08 10:46:48 +0300
commit75b7aacbf608ab49991aa945c5a4e54774084294 (patch)
tree6457c88c5ed1d771ab7bb51e508c39c8995eebd3
parent31919508392dd2a6749588b2b8ffe376a4a4444d (diff)
downloademacs-75b7aacbf608ab49991aa945c5a4e54774084294.tar.gz
Add support for the Coptic script (bug#58330)
* lisp/language/misc-lang.el ("Coptic"): New language environment. Add sample text and input method. * lisp/international/fontset.el (script-representative-chars) (setup-default-fontset): Support coptic. * lisp/leim/quail/misc-lang.el ("coptic"): New input method. * etc/HELLO: Add a Coptic greeting. * etc/NEWS: Announce the new language environment.
-rw-r--r--etc/HELLO1
-rw-r--r--etc/NEWS1
-rw-r--r--lisp/international/fontset.el3
-rw-r--r--lisp/language/misc-lang.el14
-rw-r--r--lisp/leim/quail/misc-lang.el117
5 files changed, 135 insertions, 1 deletions
diff --git a/etc/HELLO b/etc/HELLO
index b05c09da3c0..7bc12063f8e 100644
--- a/etc/HELLO
+++ b/etc/HELLO
@@ -41,6 +41,7 @@ C printf (<x-color><param>orange red</param>"Hello, world!\n"</x-color>);
Cham (ꨌꩌ) ꨦꨤꩌ ꨦꨁꨰ
Cherokee (ᏣᎳᎩ ᎦᏬᏂᎯᏍᏗ) ᎣᏏᏲ / ᏏᏲ
Comanche /kəˈmæntʃiː/ Haa marʉ́awe
+Coptic (ⲘⲉⲧⲢⲉⲙ̀ⲛⲭⲏⲙⲓ) Ⲛⲟⲩϥⲣⲓ
Cree (ᓀᐦᐃᔭᐍᐏᐣ) ᑕᓂᓯ / ᐙᒋᔮ
Czech (čeština) Dobrý den
Danish (dansk) Hej / Goddag / Halløj
diff --git a/etc/NEWS b/etc/NEWS
index 88b1431d6a6..f6744236f0e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1338,6 +1338,7 @@ Mende Kikakui script and language environment
Wancho script and language environment
Toto script and language environment
Gothic script and language environment
+Coptic script and language environment
---
*** The "Oriya" language environment was renamed to "Odia".
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el
index 6e44b85e6cb..93fedb8c1ad 100644
--- a/lisp/international/fontset.el
+++ b/lisp/international/fontset.el
@@ -152,7 +152,7 @@
'((latin ?A ?Z ?a ?z #x00C0 #x0100 #x0180 #x1e00)
(phonetic #x250 #x283)
(greek #x3A9)
- (coptic #x3E2)
+ (coptic #x3E2 #x2C80 #x2CAE)
(cyrillic #x42F)
(armenian #x531)
(hebrew #x5D0)
@@ -779,6 +779,7 @@
lepcha
symbol
braille
+ coptic
yi
syloti-nagri
rejang
diff --git a/lisp/language/misc-lang.el b/lisp/language/misc-lang.el
index 4a2e7838fcd..370be4b4a39 100644
--- a/lisp/language/misc-lang.el
+++ b/lisp/language/misc-lang.el
@@ -319,6 +319,20 @@ in this language environment.")))
Ancient Gothic language using the Gothic script is supported in this
language environment.")))
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; Coptic
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(set-language-info-alist
+ "Coptic" '((charset unicode)
+ (coding-system utf-8)
+ (coding-priority utf-8)
+ (input-method . "coptic")
+ (sample-text . "Coptic (ⲘⲉⲧⲢⲉⲙ̀ⲛⲭⲏⲙⲓ) Ⲛⲟⲩϥⲣⲓ")
+ (documentation . "\
+Coptic language using the Coptic script is supported in this
+language environment.")))
+
(provide 'misc-lang)
;;; misc-lang.el ends here
diff --git a/lisp/leim/quail/misc-lang.el b/lisp/leim/quail/misc-lang.el
index dad5cfc3e3a..73287ee7842 100644
--- a/lisp/leim/quail/misc-lang.el
+++ b/lisp/leim/quail/misc-lang.el
@@ -1558,5 +1558,122 @@
("n" ?𐌽)
("m" ?𐌼))
+(quail-define-package
+ "coptic" "Coptic" "Ⲁ" nil "Coptic input method.
+
+ `\\=`' is used to switch lev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