summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2022-08-17 15:05:29 +0200
committerRobert Pluim <rpluim@gmail.com>2022-08-19 16:05:40 +0200
commitddbab830709933d33179b1dbbc0b03c856d00806 (patch)
treebe90524f1e5e977dc4876603567c8d1ea8d7cb48 /admin
parent6a1e3e86842676b39ca6aa5ae986f1ea734fd264 (diff)
downloademacs-ddbab830709933d33179b1dbbc0b03c856d00806.tar.gz
Mark only VS-16 as emoji
* admin/unidata/blocks.awk: Only mark U+FE0F as belonging to the 'emoji' script. (Bug#57072)
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/unidata/blocks.awk11
1 files changed, 8 insertions, 3 deletions
diff --git a/admin/unidata/blocks.awk b/admin/unidata/blocks.awk
index 5f392b5ad35..1c571feff38 100755
--- a/admin/unidata/blocks.awk
+++ b/admin/unidata/blocks.awk
@@ -224,9 +224,14 @@ FILENAME ~ "emoji-data.txt" && /^[0-9A-F].*; Emoji_Presentation / {
END {
idx = 0
- # ## These are here so that font_range can choose Emoji presentation
- # ## for the preceding codepoint when it encounters a VS
- override_start[idx] = "FE00"
+ ## This is here so that font_range can choose Emoji presentation
+ ## for the preceding codepoint when it encounters a VS-16
+ ## (U+FE0F). See also font_range and the comments in composite.el
+ ## around the setup of `composition-function-table' for
+ ## U+FE00..U+FE0E.
+ ## It originally covered the whole FE00-FE0F range, but that
+ ## turned out to be a mistake.
+ override_start[idx] = "FE0F"
override_end[idx] = "FE0F"
for (k in override_start)