mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
Fix script for some characters
* lisp/international/characters.el (char-script-table): Fix script for 2 characters. * admin/unidata/blocks.awk: Fix script for Yijing Hexagram Symbols. (Bug#67924)
This commit is contained in:
parent
2922d683b7
commit
cb3684e9df
@ -60,6 +60,7 @@ BEGIN {
|
|||||||
alias["cjk strokes"] = "cjk-misc"
|
alias["cjk strokes"] = "cjk-misc"
|
||||||
alias["cjk symbols and punctuation"] = "cjk-misc"
|
alias["cjk symbols and punctuation"] = "cjk-misc"
|
||||||
alias["halfwidth and fullwidth forms"] = "cjk-misc"
|
alias["halfwidth and fullwidth forms"] = "cjk-misc"
|
||||||
|
alias["yijing hexagram symbols"] = "cjk-misc"
|
||||||
alias["common indic number forms"] = "north-indic-number"
|
alias["common indic number forms"] = "north-indic-number"
|
||||||
|
|
||||||
tohex["a"] = 10
|
tohex["a"] = 10
|
||||||
@ -94,7 +95,7 @@ function name2alias(name , w, w2) {
|
|||||||
if (alias[name]) return alias[name]
|
if (alias[name]) return alias[name]
|
||||||
else if (name ~ /for symbols/) return "symbol"
|
else if (name ~ /for symbols/) return "symbol"
|
||||||
else if (name ~ /latin|combining .* marks|spacing modifier|tone letters|alphabetic presentation/) return "latin"
|
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 ~ /arabic/) return "arabic"
|
||||||
else if (name ~ /^greek/) return "greek"
|
else if (name ~ /^greek/) return "greek"
|
||||||
else if (name ~ /^coptic/) return "coptic"
|
else if (name ~ /^coptic/) return "coptic"
|
||||||
|
@ -1480,6 +1480,9 @@ Setup `char-width-table' appropriate for non-CJK language environment."
|
|||||||
;; Fix some exceptions that blocks.awk/Blocks.txt couldn't get right.
|
;; 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 '(#x2ea . #x2eb) 'bopomofo)
|
||||||
(set-char-table-range char-script-table #xab65 'greek)
|
(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)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;;; Setting unicode-category-table.
|
;;; Setting unicode-category-table.
|
||||||
|
Loading…
Reference in New Issue
Block a user