From ddbab830709933d33179b1dbbc0b03c856d00806 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Wed, 17 Aug 2022 15:05:29 +0200 Subject: [PATCH] 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 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) -- 2.39.5