diff options
| author | Vibhav Pant | 2023-06-06 19:30:27 +0530 |
|---|---|---|
| committer | Vibhav Pant | 2023-06-06 19:30:27 +0530 |
| commit | 49ffcbf86a32a8a217538d4df3736fe069ccf35d (patch) | |
| tree | a5f16157cc20fb19a844473a6fbd2b434f4c8260 /admin/notes/unicode | |
| parent | af569fa3d90a717983b743eb97adbf869c6d1736 (diff) | |
| parent | 7ca1d782f5910d0c3978c6798a45c6854ec668c7 (diff) | |
| download | emacs-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/unicode | 17 |
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 | |||
| 29 | the Unicode's Public/emoji/ directory, and IdnaMappingTable.txt from | 30 | the Unicode's Public/emoji/ directory, and IdnaMappingTable.txt from |
| 30 | the Public/idna/ directory. | 31 | the Public/idna/ directory. |
| 31 | 32 | ||
| 32 | First, the first 14 files, emoji-test.txt and IdnaMappingTable.txt | 33 | First, the first 15 files, emoji-test.txt and IdnaMappingTable.txt |
| 33 | need to be copied into admin/unidata/, and the file | 34 | need to be copied into admin/unidata/, and the file |
| 34 | https://www.unicode.org/copyright.html should be copied over | 35 | https://www.unicode.org/copyright.html should be copied over |
| 35 | copyright.html in admin/unidata (some of them might need trailing | 36 | copyright.html in admin/unidata (some of them might need trailing |
| @@ -142,6 +143,20 @@ generated for auto-composition-emoji-eligible-codepoints by | |||
| 142 | admin/unidata/emoji-zwj.awk. Note that your emoji font might not have | 143 | admin/unidata/emoji-zwj.awk. Note that your emoji font might not have |
| 143 | glyphs for the newest codepoints yet. | 144 | glyphs for the newest codepoints yet. |
| 144 | 145 | ||
| 146 | Visit "emoji-variation-sequences.txt", and run the following lisp | ||
| 147 | fragment to actually insert the described codepoints, then check that | ||
| 148 | all the text in parentheses displays correctly (it can be helpful to | ||
| 149 | have `glyphless-char-display-control' customized to show hex codes for | ||
| 150 | variation 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 | |||
| 145 | Finally, etc/NEWS should be updated to announce the support for the | 160 | Finally, etc/NEWS should be updated to announce the support for the |
| 146 | new Unicode version. | 161 | new Unicode version. |
| 147 | 162 | ||