Bug 1342787 - Use Nirmala UI as fallback font for additional Indic script blocks. r=m_kato, a=lizzard
authorJonathan Kew <jkew@mozilla.com>
Tue, 28 Feb 2017 09:23:09 +0000
changeset 376610 6ba5938db9d24be0322236bd6ddd63a116f66152
parent 376609 99c77cd62ef59e48080855b30810edcad9b5f495
child 376611 d2a1690e80fa92039f0da32fd3d19ce1be6918d0
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersm_kato, lizzard
bugs1342787
milestone53.0a2
Bug 1342787 - Use Nirmala UI as fallback font for additional Indic script blocks. r=m_kato, a=lizzard
gfx/thebes/gfxWindowsPlatform.cpp
--- a/gfx/thebes/gfxWindowsPlatform.cpp
+++ b/gfx/thebes/gfxWindowsPlatform.cpp
@@ -715,16 +715,22 @@ gfxWindowsPlatform::GetCommonFallbackFon
             aFontList.AppendElement(kFontMVBoli);
             aFontList.AppendElement(kFontEbrima);
             break;
         case 0x09:
             aFontList.AppendElement(kFontNirmalaUI);
             aFontList.AppendElement(kFontUtsaah);
             aFontList.AppendElement(kFontAparajita);
             break;
+        case 0x0a:
+        case 0x0b:
+        case 0x0c:
+        case 0x0d:
+            aFontList.AppendElement(kFontNirmalaUI);
+            break;
         case 0x0e:
             aFontList.AppendElement(kFontLaoUI);
             aFontList.AppendElement(kFontLeelawadeeUI);
             break;
         case 0x10:
             aFontList.AppendElement(kFontMyanmarText);
             break;
         case 0x11: