aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notes/unicode
diff options
context:
space:
mode:
authorVibhav Pant2023-06-06 19:30:27 +0530
committerVibhav Pant2023-06-06 19:30:27 +0530
commit49ffcbf86a32a8a217538d4df3736fe069ccf35d (patch)
treea5f16157cc20fb19a844473a6fbd2b434f4c8260 /admin/notes/unicode
parentaf569fa3d90a717983b743eb97adbf869c6d1736 (diff)
parent7ca1d782f5910d0c3978c6798a45c6854ec668c7 (diff)
downloademacs-49ffcbf86a32a8a217538d4df3736fe069ccf35d.tar.gz
emacs-49ffcbf86a32a8a217538d4df3736fe069ccf35d.zip
Merge branch 'master' into scratch/comp-static-data
Diffstat (limited to 'admin/notes/unicode')
-rw-r--r--admin/notes/unicode17
1 files changed, 16 insertions, 1 deletions
diff --git a/admin/notes/unicode b/admin/notes/unicode
index 0e000365da7..31c850af8fd 100644
--- a/admin/notes/unicode
+++ b/admin/notes/unicode
@@ -22,6 +22,7 @@ Emacs uses the following files from the Unicode Character Database
22 . confusables.txt 22 . confusables.txt
23 . emoji-data.txt 23 . emoji-data.txt
24 . emoji-zwj-sequences.txt 24 . emoji-zwj-sequences.txt
25 . emoji-variation-sequences.txt
25 . emoji-sequences.txt 26 . emoji-sequences.txt
26 . BidiCharacterTest.txt 27 . BidiCharacterTest.txt
27 28
@@ -29,7 +30,7 @@ Emacs also uses the file emoji-test.txt which should be imported from
29the Unicode's Public/emoji/ directory, and IdnaMappingTable.txt from 30the Unicode's Public/emoji/ directory, and IdnaMappingTable.txt from
30the Public/idna/ directory. 31the Public/idna/ directory.
31 32
32First, the first 14 files, emoji-test.txt and IdnaMappingTable.txt 33First, the first 15 files, emoji-test.txt and IdnaMappingTable.txt
33need to be copied into admin/unidata/, and the file 34need to be copied into admin/unidata/, and the file
34https://www.unicode.org/copyright.html should be copied over 35https://www.unicode.org/copyright.html should be copied over
35copyright.html in admin/unidata (some of them might need trailing 36copyright.html in admin/unidata (some of them might need trailing
@@ -142,6 +143,20 @@ generated for auto-composition-emoji-eligible-codepoints by
142admin/unidata/emoji-zwj.awk. Note that your emoji font might not have 143admin/unidata/emoji-zwj.awk. Note that your emoji font might not have
143glyphs for the newest codepoints yet. 144glyphs for the newest codepoints yet.
144 145
146Visit "emoji-variation-sequences.txt", and run the following lisp
147fragment to actually insert the described codepoints, then check that
148all the text in parentheses displays correctly (it can be helpful to
149have `glyphless-char-display-control' customized to show hex codes for
150variation selectors).
151
152(save-excursion
153 (goto-char (point-min))
154 (while (re-search-forward "^\\([0-9A-Z]+\\) \\([0-9A-Z]+\\).*(\\([^)]+\\))" nil t)
155 (let ((ch (string-to-number (match-string 1) 16))
156 (sel (string-to-number (match-string 2) 16))
157 (sp (match-string 3)))
158 (replace-match (format "%s %c%c " sp ch sel) nil nil nil 3))))
159
145Finally, etc/NEWS should be updated to announce the support for the 160Finally, etc/NEWS should be updated to announce the support for the
146new Unicode version. 161new Unicode version.
147 162