https://bugzilla.redhat.com/show_bug.cgi?id=1490733
fujiwara <tfujiwar(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from fujiwara <tfujiwar(a)redhat.com> ---
Because the glyphs are derived from "Noto Emoji".
You can set "Noto Color Emoji" font with ibus-setup.
I will enhance a bit for the default font.
--- ibus-1.5.16/ui/gtk3/ibusfontset.c.orig 2017-09-13 18:58:44.358062155
+0900
+++ ibus-1.5.16/ui/gtk3/ibusfontset.c 2017-09-14 15:34:01.024597067 +0900
@@ -35,6 +35,9 @@
#define UNKNOWN_FONT_SIZE 7
#define IBUS_FONTSET_GET_PRIVATE(o) \
(G_TYPE_INSTANCE_GET_PRIVATE ((o), IBUS_TYPE_FONTSET, IBusFontSetPrivate))
+#define MONOSPACE "monospace"
+#define SERIF "serif"
+#define SANS "sans"
static FT_Library m_ftlibrary;
@@ -764,6 +767,12 @@ ibus_fontset_update_fcfontset (IBusFontS
FcPatternAddInteger (pattern, FC_WEIGHT, FC_WEIGHT_NORMAL);
FcPatternAddInteger (pattern, FC_WIDTH, FC_WIDTH_NORMAL);
FcPatternAddInteger (pattern, FC_DPI, 96);
+ if (FC_VERSION >= 21205 &&
+ (!g_ascii_strncasecmp (family, MONOSPACE, strlen (MONOSPACE)) ||
+ !g_ascii_strncasecmp (family, SERIF, strlen (SERIF)) ||
+ !g_ascii_strncasecmp (family, SANS, strlen (SANS)))) {
+ FcPatternAddBool (pattern, FC_COLOR, TRUE);
+ }
FcConfigSubstitute (NULL, pattern, FcMatchPattern);
FcConfigSubstitute (NULL, pattern, FcMatchFont);
FcDefaultSubstitute (pattern);
--
You are receiving this mail because:
You are on the CC list for the bug.