]> git.eshelyaron.com Git - emacs.git/commit
Handle VS-16 correctly for non-emoji codepoints
authorRobert Pluim <rpluim@gmail.com>
Mon, 18 Oct 2021 09:51:10 +0000 (11:51 +0200)
committerRobert Pluim <rpluim@gmail.com>
Tue, 19 Oct 2021 12:40:26 +0000 (14:40 +0200)
commit9bd2f59db608def1b588b03eff846d3fe8a7fa00
tree39a768d3990701aef8461a40f7c595c424382766
parente55e2d4a110447540db6bbdb9cb1c12313b4b8ad
Handle VS-16 correctly for non-emoji codepoints

* admin/unidata/blocks.awk: Remove emoji overrides for codepoints with
Emoji_Presentation = No, they're no longer necessary.
* lisp/composite.el: Remove #xFE0F (VS-16) from the range handled by
`compose-gstring-for-variation-glyph' so it can be handled by
`font_range'.
* src/composite.c (syms_of_composite): New variable
`auto-composition-emoji-eligible-codepoints'.
* admin/unidata/emoji-zwj.awk: Generate value for
`auto-composition-emoji-eligible-codepoints'.  Add
`composition-function-table' entries for 'codepoint + U+FE0F' for
them.
* src/font.c (codepoint_is_emoji_eligible): New function to check if
we should try to use the emoji font for a codepoint.
(font_range): Use it.
admin/unidata/blocks.awk
admin/unidata/emoji-zwj.awk
lisp/composite.el
src/composite.c
src/font.c