зеркало из https://github.com/mozilla/gecko-dev.git
Revert font update from bug 987872 (3c673c999927) for reftest failures
This commit is contained in:
Родитель
509ee41d28
Коммит
67eba9ef1a
|
@ -1434,7 +1434,7 @@ gfxFT2FontList::GetDefaultFont(const gfxFontStyle* aStyle)
|
|||
{
|
||||
gfxFontFamily *ff = nullptr;
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
ff = FindFamily(NS_LITERAL_STRING("Fira Sans"));
|
||||
ff = FindFamily(NS_LITERAL_STRING("Fira Sans OT"));
|
||||
#elif defined(MOZ_WIDGET_ANDROID)
|
||||
ff = FindFamily(NS_LITERAL_STRING("Roboto"));
|
||||
if (!ff) {
|
||||
|
|
|
@ -1592,7 +1592,7 @@ pref("font.blacklist.underline_offset", "FangSong,Gulim,GulimChe,MingLiU,MingLiU
|
|||
// default features. This allows us to skip analyzing the GSUB/GPOS tables
|
||||
// unless features are explicitly enabled.
|
||||
// Use NSPR_LOG_MODULES=fontinit:5 to dump out details of space lookups
|
||||
pref("font.whitelist.skip_default_features_space_check", "Fira Sans,Fira Mono");
|
||||
pref("font.whitelist.skip_default_features_space_check", "Fira Sans OT,Fira Mono OT");
|
||||
#endif
|
||||
|
||||
pref("images.dither", "auto");
|
||||
|
@ -3172,60 +3172,60 @@ pref("font.name.sans-serif.el", "Roboto"); // To be updated once the Greek lette
|
|||
pref("font.name.monospace.el", "Droid Sans Mono");
|
||||
|
||||
pref("font.name.serif.he", "Charis SIL Compact");
|
||||
pref("font.name.sans-serif.he", "Fira Sans");
|
||||
pref("font.name.monospace.he", "Fira Mono");
|
||||
pref("font.name-list.sans-serif.he", "Droid Sans Hebrew, Fira Sans");
|
||||
pref("font.name.sans-serif.he", "Fira Sans OT");
|
||||
pref("font.name.monospace.he", "Fira Mono OT");
|
||||
pref("font.name-list.sans-serif.he", "Droid Sans Hebrew, Fira Sans OT");
|
||||
|
||||
pref("font.name.serif.ja", "Charis SIL Compact");
|
||||
pref("font.name.sans-serif.ja", "Fira Sans");
|
||||
pref("font.name.sans-serif.ja", "Fira Sans OT");
|
||||
pref("font.name.monospace.ja", "MotoyaLMaru");
|
||||
pref("font.name-list.sans-serif.ja", "Fira Sans, MotoyaLMaru, MotoyaLCedar, Droid Sans Japanese");
|
||||
pref("font.name-list.monospace.ja", "MotoyaLMaru, MotoyaLCedar, Fira Mono");
|
||||
pref("font.name-list.sans-serif.ja", "Fira Sans OT, MotoyaLMaru, MotoyaLCedar, Droid Sans Japanese");
|
||||
pref("font.name-list.monospace.ja", "MotoyaLMaru, MotoyaLCedar, Fira Mono OT");
|
||||
|
||||
pref("font.name.serif.ko", "Charis SIL Compact");
|
||||
pref("font.name.sans-serif.ko", "Fira Sans");
|
||||
pref("font.name.monospace.ko", "Fira Mono");
|
||||
pref("font.name.sans-serif.ko", "Fira Sans OT");
|
||||
pref("font.name.monospace.ko", "Fira Mono OT");
|
||||
|
||||
pref("font.name.serif.th", "Charis SIL Compact");
|
||||
pref("font.name.sans-serif.th", "Fira Sans");
|
||||
pref("font.name.monospace.th", "Fira Mono");
|
||||
pref("font.name-list.sans-serif.th", "Fira Sans, Noto Sans Thai, Droid Sans Thai");
|
||||
pref("font.name.sans-serif.th", "Fira Sans OT");
|
||||
pref("font.name.monospace.th", "Fira Mono OT");
|
||||
pref("font.name-list.sans-serif.th", "Fira Sans OT, Noto Sans Thai, Droid Sans Thai");
|
||||
|
||||
pref("font.name.serif.tr", "Charis SIL Compact");
|
||||
pref("font.name.sans-serif.tr", "Fira Sans");
|
||||
pref("font.name.monospace.tr", "Fira Mono");
|
||||
pref("font.name.sans-serif.tr", "Fira Sans OT");
|
||||
pref("font.name.monospace.tr", "Fira Mono OT");
|
||||
|
||||
pref("font.name.serif.x-baltic", "Charis SIL Compact");
|
||||
pref("font.name.sans-serif.x-baltic", "Fira Sans");
|
||||
pref("font.name.monospace.x-baltic", "Fira Mono");
|
||||
pref("font.name.sans-serif.x-baltic", "Fira Sans OT");
|
||||
pref("font.name.monospace.x-baltic", "Fira Mono OT");
|
||||
|
||||
pref("font.name.serif.x-central-euro", "Charis SIL Compact");
|
||||
pref("font.name.sans-serif.x-central-euro", "Fira Sans");
|
||||
pref("font.name.monospace.x-central-euro", "Fira Mono");
|
||||
pref("font.name.sans-serif.x-central-euro", "Fira Sans OT");
|
||||
pref("font.name.monospace.x-central-euro", "Fira Mono OT");
|
||||
|
||||
pref("font.name.serif.x-cyrillic", "Charis SIL Compact");
|
||||
pref("font.name.sans-serif.x-cyrillic", "Fira Sans");
|
||||
pref("font.name.monospace.x-cyrillic", "Fira Mono");
|
||||
pref("font.name.sans-serif.x-cyrillic", "Fira Sans OT");
|
||||
pref("font.name.monospace.x-cyrillic", "Fira Mono OT");
|
||||
|
||||
pref("font.name.serif.x-unicode", "Charis SIL Compact");
|
||||
pref("font.name.sans-serif.x-unicode", "Fira Sans");
|
||||
pref("font.name.monospace.x-unicode", "Fira Mono");
|
||||
pref("font.name.sans-serif.x-unicode", "Fira Sans OT");
|
||||
pref("font.name.monospace.x-unicode", "Fira Mono OT");
|
||||
|
||||
pref("font.name.serif.x-western", "Charis SIL Compact");
|
||||
pref("font.name.sans-serif.x-western", "Fira Sans");
|
||||
pref("font.name.monospace.x-western", "Fira Mono");
|
||||
pref("font.name.sans-serif.x-western", "Fira Sans OT");
|
||||
pref("font.name.monospace.x-western", "Fira Mono OT");
|
||||
|
||||
pref("font.name.serif.zh-CN", "Charis SIL Compact");
|
||||
pref("font.name.sans-serif.zh-CN", "Fira Sans");
|
||||
pref("font.name.monospace.zh-CN", "Fira Mono");
|
||||
pref("font.name.sans-serif.zh-CN", "Fira Sans OT");
|
||||
pref("font.name.monospace.zh-CN", "Fira Mono OT");
|
||||
|
||||
pref("font.name.serif.zh-HK", "Charis SIL Compact");
|
||||
pref("font.name.sans-serif.zh-HK", "Fira Sans");
|
||||
pref("font.name.monospace.zh-HK", "Fira Mono");
|
||||
pref("font.name.sans-serif.zh-HK", "Fira Sans OT");
|
||||
pref("font.name.monospace.zh-HK", "Fira Mono OT");
|
||||
|
||||
pref("font.name.serif.zh-TW", "Charis SIL Compact");
|
||||
pref("font.name.sans-serif.zh-TW", "Fira Sans");
|
||||
pref("font.name.monospace.zh-TW", "Fira Mono");
|
||||
pref("font.name.sans-serif.zh-TW", "Fira Sans OT");
|
||||
pref("font.name.monospace.zh-TW", "Fira Mono OT");
|
||||
|
||||
#else
|
||||
|
||||
|
|
|
@ -422,7 +422,7 @@ nsLookAndFeel::GetFontImpl(FontID aID, nsString& aFontName,
|
|||
gfxFontStyle& aFontStyle,
|
||||
float aDevPixPerCSSPixel)
|
||||
{
|
||||
aFontName.AssignLiteral("\"Fira Sans\"");
|
||||
aFontName.AssignLiteral("\"Fira Sans OT\"");
|
||||
aFontStyle.style = NS_FONT_STYLE_NORMAL;
|
||||
aFontStyle.weight = NS_FONT_WEIGHT_NORMAL;
|
||||
aFontStyle.stretch = NS_FONT_STRETCH_NORMAL;
|
||||
|
|
Загрузка…
Ссылка в новой задаче