Bug 1515240 - Add "Noto Sans Symbols" and "Droid Sans Symbols" to the list of common fallback fonts on Android. r=jfkthame
authorMarkus Stange <mstange@themasta.com>
Mon, 21 Jan 2019 20:04:07 +0000
changeset 514746 08939adf27908bb6b8e5a5fa0a8e1b6e396a2f41
parent 514745 32541f2f057571ac075a6893689e30e676ac7d23
child 514747 3d23cfc9df06f8ab77e83cafbb7792ed8a97d9c9
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjfkthame
bugs1515240
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1515240 - Add "Noto Sans Symbols" and "Droid Sans Symbols" to the list of common fallback fonts on Android. r=jfkthame Differential Revision: https://phabricator.services.mozilla.com/D17150
gfx/thebes/gfxAndroidPlatform.cpp
--- a/gfx/thebes/gfxAndroidPlatform.cpp
+++ b/gfx/thebes/gfxAndroidPlatform.cpp
@@ -186,16 +186,24 @@ void gfxAndroidPlatform::GetCommonFallba
       case 0x10:
       case 0x2d:
         aFontList.AppendElement("Droid Sans Georgian");
         break;
       case 0x12:
       case 0x13:
         aFontList.AppendElement("Droid Sans Ethiopic");
         break;
+      case 0x21:
+      case 0x23:
+      case 0x24:
+      case 0x26:
+      case 0x27:
+      case 0x29:
+        aFontList.AppendElement("Noto Sans Symbols");
+        break;
       case 0xf9:
       case 0xfa:
         if (IsJapaneseLocale()) {
           aFontList.AppendElement(kMotoyaLMaru);
           aFontList.AppendElement(kNotoSansCJKJP);
           aFontList.AppendElement(kDroidSansJapanese);
         }
         break;