diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-04-04 10:35:19 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-04-04 10:35:19 +0200 |
commit | b4e843aa3c58105a69f6473350da60fe4d49438c (patch) | |
tree | 7fbac6300e0768181fee2d6bc5a0d7d6de15ccf8 /gfx/thebes/gfxPlatformGtk.cpp | |
parent | 3cf6d2b2d73b3b09fb268a2b3927d920883745fb (diff) | |
download | UXP-b4e843aa3c58105a69f6473350da60fe4d49438c.tar UXP-b4e843aa3c58105a69f6473350da60fe4d49438c.tar.gz UXP-b4e843aa3c58105a69f6473350da60fe4d49438c.tar.lz UXP-b4e843aa3c58105a69f6473350da60fe4d49438c.tar.xz UXP-b4e843aa3c58105a69f6473350da60fe4d49438c.zip |
Change embedded emoji font from EmojiOne to Twemoji.
Diffstat (limited to 'gfx/thebes/gfxPlatformGtk.cpp')
-rw-r--r-- | gfx/thebes/gfxPlatformGtk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/thebes/gfxPlatformGtk.cpp b/gfx/thebes/gfxPlatformGtk.cpp index 9d7f512f2..91f94adb8 100644 --- a/gfx/thebes/gfxPlatformGtk.cpp +++ b/gfx/thebes/gfxPlatformGtk.cpp @@ -227,10 +227,10 @@ gfxPlatformGtk::UpdateFontList() // out a more general list static const char kFontDejaVuSans[] = "DejaVu Sans"; static const char kFontDejaVuSerif[] = "DejaVu Serif"; -static const char kFontEmojiOneMozilla[] = "EmojiOne Mozilla"; static const char kFontFreeSans[] = "FreeSans"; static const char kFontFreeSerif[] = "FreeSerif"; static const char kFontTakaoPGothic[] = "TakaoPGothic"; +static const char kFontTwemojiMozilla[] = "Twemoji Mozilla"; static const char kFontDroidSansFallback[] = "Droid Sans Fallback"; static const char kFontWenQuanYiMicroHei[] = "WenQuanYi Micro Hei"; static const char kFontNanumGothic[] = "NanumGothic"; @@ -254,7 +254,7 @@ gfxPlatformGtk::GetCommonFallbackFonts(uint32_t aCh, uint32_t aNextCh, uint32_t p = aCh >> 16; if (p == 1) { // try color emoji font, unless VS15 (text style) present if (aNextCh != 0xfe0fu && aNextCh != 0xfe0eu) { - aFontList.AppendElement(kFontEmojiOneMozilla); + aFontList.AppendElement(kFontTwemojiMozilla); } } } |