зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1342841 - Use Leelawadi UI as fallback for more scripts than just Thai, as it has additional character support. r=m_kato
This commit is contained in:
Родитель
ab7da0efbd
Коммит
b4073aef2c
|
@ -714,6 +714,7 @@ gfxWindowsPlatform::GetCommonFallbackFonts(uint32_t aCh, uint32_t aNextCh,
|
|||
break;
|
||||
case 0x0e:
|
||||
aFontList.AppendElement(kFontLaoUI);
|
||||
aFontList.AppendElement(kFontLeelawadeeUI);
|
||||
break;
|
||||
case 0x10:
|
||||
aFontList.AppendElement(kFontMyanmarText);
|
||||
|
@ -734,6 +735,7 @@ gfxWindowsPlatform::GetCommonFallbackFonts(uint32_t aCh, uint32_t aNextCh,
|
|||
break;
|
||||
case 0x17:
|
||||
aFontList.AppendElement(kFontKhmerUI);
|
||||
aFontList.AppendElement(kFontLeelawadeeUI);
|
||||
break;
|
||||
case 0x18: // Mongolian
|
||||
aFontList.AppendElement(kFontMongolianBaiti);
|
||||
|
@ -743,7 +745,7 @@ gfxWindowsPlatform::GetCommonFallbackFonts(uint32_t aCh, uint32_t aNextCh,
|
|||
aFontList.AppendElement(kFontMicrosoftTaiLe);
|
||||
aFontList.AppendElement(kFontMicrosoftNewTaiLue);
|
||||
aFontList.AppendElement(kFontKhmerUI);
|
||||
break;
|
||||
aFontList.AppendElement(kFontLeelawadeeUI);
|
||||
break;
|
||||
case 0x1a:
|
||||
aFontList.AppendElement(kFontLeelawadeeUI);
|
||||
|
@ -819,6 +821,7 @@ gfxWindowsPlatform::GetCommonFallbackFonts(uint32_t aCh, uint32_t aNextCh,
|
|||
case 0xa9:
|
||||
aFontList.AppendElement(kFontMalgunGothic);
|
||||
aFontList.AppendElement(kFontJavaneseText);
|
||||
aFontList.AppendElement(kFontLeelawadeeUI);
|
||||
break;
|
||||
case 0xaa:
|
||||
aFontList.AppendElement(kFontMyanmarText);
|
||||
|
|
Загрузка…
Ссылка в новой задаче