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:
Jonathan Kew 2021-01-07 02:40:08 +00:00
Родитель f6a037e456
Коммит a608a1f16d
1 изменённых файлов: 18 добавлений и 0 удалений

Просмотреть файл

@ -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");