[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ddbab83070 1/2: Mark only VS-16 as emoji
From: |
Robert Pluim |
Subject: |
master ddbab83070 1/2: Mark only VS-16 as emoji |
Date: |
Fri, 19 Aug 2022 10:05:54 -0400 (EDT) |
branch: master
commit ddbab830709933d33179b1dbbc0b03c856d00806
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>
Mark only VS-16 as emoji
* admin/unidata/blocks.awk: Only mark U+FE0F as belonging to the
'emoji' script. (Bug#57072)
---
admin/unidata/blocks.awk | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/admin/unidata/blocks.awk b/admin/unidata/blocks.awk
index 5f392b5ad3..1c571feff3 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)