зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1685059 - Add a bunch more Indic Noto fonts to common fallbacks on Android. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D100766
This commit is contained in:
Родитель
f6a037e456
Коммит
a608a1f16d
|
@ -191,16 +191,34 @@ void gfxAndroidPlatform::GetCommonFallbackFonts(
|
|||
break;
|
||||
case 0x09:
|
||||
aFontList.AppendElement("Noto Sans Devanagari");
|
||||
aFontList.AppendElement("Noto Sans Bengali");
|
||||
aFontList.AppendElement("Droid Sans Devanagari");
|
||||
break;
|
||||
case 0x0a:
|
||||
aFontList.AppendElement("Noto Sans Gurmukhi");
|
||||
aFontList.AppendElement("Noto Sans Gujarati");
|
||||
break;
|
||||
case 0x0b:
|
||||
aFontList.AppendElement("Noto Sans Tamil");
|
||||
aFontList.AppendElement("Noto Sans Oriya");
|
||||
aFontList.AppendElement("Droid Sans Tamil");
|
||||
break;
|
||||
case 0x0c:
|
||||
aFontList.AppendElement("Noto Sans Telugu");
|
||||
aFontList.AppendElement("Noto Sans Kannada");
|
||||
break;
|
||||
case 0x0d:
|
||||
aFontList.AppendElement("Noto Sans Malayalam");
|
||||
aFontList.AppendElement("Noto Sans Sinhala");
|
||||
break;
|
||||
case 0x0e:
|
||||
aFontList.AppendElement("Noto Sans Thai");
|
||||
aFontList.AppendElement("Noto Sans Lao");
|
||||
aFontList.AppendElement("Droid Sans Thai");
|
||||
break;
|
||||
case 0x0f:
|
||||
aFontList.AppendElement("Noto Sans Tibetan");
|
||||
break;
|
||||
case 0x10:
|
||||
case 0x2d:
|
||||
aFontList.AppendElement("Noto Sans Georgian");
|
||||
|
|
Загрузка…
Ссылка в новой задаче