mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-28 11:27:32 +09:00
Change embedded emoji font from EmojiOne to Twemoji.
This commit is contained in:
parent
a5f9344426
commit
2775c84cbf
7 changed files with 13 additions and 14 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -648,7 +648,6 @@ static const char kFontCambriaMath[] = "Cambria Math";
|
|||
static const char kFontEbrima[] = "Ebrima";
|
||||
static const char kFontEstrangeloEdessa[] = "Estrangelo Edessa";
|
||||
static const char kFontEuphemia[] = "Euphemia";
|
||||
static const char kFontEmojiOneMozilla[] = "EmojiOne Mozilla";
|
||||
static const char kFontGabriola[] = "Gabriola";
|
||||
static const char kFontJavaneseText[] = "Javanese Text";
|
||||
static const char kFontKhmerUI[] = "Khmer UI";
|
||||
|
|
@ -675,6 +674,7 @@ static const char kFontSegoeUIEmoji[] = "Segoe UI Emoji";
|
|||
static const char kFontSegoeUISymbol[] = "Segoe UI Symbol";
|
||||
static const char kFontSylfaen[] = "Sylfaen";
|
||||
static const char kFontTraditionalArabic[] = "Traditional Arabic";
|
||||
static const char kFontTwemojiMozilla[] = "Twemoji Mozilla";
|
||||
static const char kFontUtsaah[] = "Utsaah";
|
||||
static const char kFontYuGothic[] = "Yu Gothic";
|
||||
|
||||
|
|
@ -685,7 +685,7 @@ gfxWindowsPlatform::GetCommonFallbackFonts(uint32_t aCh, uint32_t aNextCh,
|
|||
{
|
||||
if (aNextCh == 0xfe0fu) {
|
||||
aFontList.AppendElement(kFontSegoeUIEmoji);
|
||||
aFontList.AppendElement(kFontEmojiOneMozilla);
|
||||
aFontList.AppendElement(kFontTwemojiMozilla);
|
||||
}
|
||||
|
||||
// Arial is used as the default fallback for system fallback
|
||||
|
|
@ -697,11 +697,11 @@ gfxWindowsPlatform::GetCommonFallbackFonts(uint32_t aCh, uint32_t aNextCh,
|
|||
if (aNextCh == 0xfe0eu) {
|
||||
aFontList.AppendElement(kFontSegoeUISymbol);
|
||||
aFontList.AppendElement(kFontSegoeUIEmoji);
|
||||
aFontList.AppendElement(kFontEmojiOneMozilla);
|
||||
aFontList.AppendElement(kFontTwemojiMozilla);
|
||||
} else {
|
||||
if (aNextCh != 0xfe0fu) {
|
||||
aFontList.AppendElement(kFontSegoeUIEmoji);
|
||||
aFontList.AppendElement(kFontEmojiOneMozilla);
|
||||
aFontList.AppendElement(kFontTwemojiMozilla);
|
||||
}
|
||||
aFontList.AppendElement(kFontSegoeUISymbol);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue