]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix script for some characters
authorEli Zaretskii <eliz@gnu.org>
Wed, 20 Dec 2023 13:55:41 +0000 (15:55 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 23 Dec 2023 13:17:26 +0000 (14:17 +0100)
* lisp/international/characters.el (char-script-table): Fix script
for 2 characters.

* admin/unidata/blocks.awk: Fix script for Yijing Hexagram
Symbols.  (Bug#67924)

(cherry picked from commit cb3684e9dfa6603298540e3befe99962ff87d7ee)

admin/unidata/blocks.awk
lisp/international/characters.el

index 80ce7478a45c39fceaa4abab8023138d3a6a5729..dd6d5796044e8e54d8cc6e296794606590c464b8 100755 (executable)
@@ -60,6 +60,7 @@ BEGIN {
     alias["cjk strokes"] = "cjk-misc"
     alias["cjk symbols and punctuation"] = "cjk-misc"
     alias["halfwidth and fullwidth forms"] = "cjk-misc"
+    alias["yijing hexagram symbols"] = "cjk-misc"
     alias["common indic number forms"] = "north-indic-number"
 
     tohex["a"] = 10
@@ -94,7 +95,7 @@ function name2alias(name   , w, w2) {
     if (alias[name]) return alias[name]
     else if (name ~ /for symbols/) return "symbol"
     else if (name ~ /latin|combining .* marks|spacing modifier|tone letters|alphabetic presentation/) return "latin"
-    else if (name ~ /cjk|yijing|enclosed ideograph|kangxi/) return "han"
+    else if (name ~ /cjk|enclosed ideograph|kangxi/) return "han"
     else if (name ~ /arabic/) return "arabic"
     else if (name ~ /^greek/) return "greek"
     else if (name ~ /^coptic/) return "coptic"
index a48c0f770085aaa7b3ed716aae594d76f44c770a..6d05b2e08a43a8bedff4e34cb4debf4d5b0a0fc2 100644 (file)
@@ -1696,6 +1696,9 @@ Setup `char-width-table' appropriate for non-CJK language environment."
 ;; Fix some exceptions that blocks.awk/Blocks.txt couldn't get right.
 (set-char-table-range char-script-table '(#x2ea . #x2eb) 'bopomofo)
 (set-char-table-range char-script-table #xab65 'greek)
+(set-char-table-range char-script-table #x16fe0 'tangut)
+(set-char-table-range char-script-table #x16fe1 'nushu)
+
 
 \f
 ;;; Setting unicode-category-table.