зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1464904 - When font-variations support is preffed off, do not set up variation ranges in the gfxFontEntry for a system font, so that font selection will rely only on the static properties of the faces. r=lsalzman
This commit is contained in:
Родитель
38001752df
Коммит
77decadbe2
|
@ -1016,6 +1016,7 @@ void
|
|||
gfxFontEntry::SetupVariationRanges()
|
||||
{
|
||||
if (!gfxPlatform::GetPlatform()->HasVariationFontSupport() ||
|
||||
!StaticPrefs::layout_css_font_variations_enabled() ||
|
||||
!HasVariations() || IsUserFont()) {
|
||||
return;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче