diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-11-27 18:16:43 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-11-30 16:20:44 -0500 |
commit | 7a4e9fa4d38eb917ce9eddfe5ae6b7cd87dd48c7 (patch) | |
tree | 11b01dc4d318fe837839866af5dfb5343217bc56 /gtk/gtkemojicompletion.c | |
parent | 6e28d004ae0ab48076d25196ba9d90fc26ab5c21 (diff) | |
download | gtk+-7a4e9fa4d38eb917ce9eddfe5ae6b7cd87dd48c7.tar.gz |
Force emoji presentation
Append a variation selector to the Emoji sequences,
to force Emoji presentation. Without this, some
Emoji come out with text presentation by default.
Closes: Pango #334
Diffstat (limited to 'gtk/gtkemojicompletion.c')
-rw-r--r-- | gtk/gtkemojicompletion.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkemojicompletion.c b/gtk/gtkemojicompletion.c index e7583126d9..058e1867e2 100644 --- a/gtk/gtkemojicompletion.c +++ b/gtk/gtkemojicompletion.c @@ -452,6 +452,7 @@ get_text (GVariant *emoji_data, p += g_unichar_to_utf8 (code, p); } g_variant_unref (codes); + p += g_unichar_to_utf8 (0xFE0F, p); /* U+FE0F is the Emoji variation selector */ p[0] = 0; } |