From 94c41d978f55948a708a43184bfc3571b07f147e Mon Sep 17 00:00:00 2001 From: Makoto Kato Date: Mon, 16 Oct 2017 17:38:19 +0900 Subject: [PATCH] Bug 1408847 - nsLookAndFeel::GetFontImpl should return Roboto. r=snorp Our minimum requirement is api-16+ and ICS or later's default font is Roboto. But nsLookAndFeel::GetFontImpl still returns Droid Sans. We should return Roboto. MozReview-Commit-ID: 5VNzQXXp4fa --HG-- extra : rebase_source : b045c1580faa3204f26d3aa0be89700f2b1abb57 --- widget/android/nsLookAndFeel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/android/nsLookAndFeel.cpp b/widget/android/nsLookAndFeel.cpp index b4a334b86f34..62968c1195ca 100644 --- a/widget/android/nsLookAndFeel.cpp +++ b/widget/android/nsLookAndFeel.cpp @@ -456,7 +456,7 @@ nsLookAndFeel::GetFontImpl(FontID aID, nsString& aFontName, gfxFontStyle& aFontStyle, float aDevPixPerCSSPixel) { - aFontName.AssignLiteral("\"Droid Sans\""); + aFontName.AssignLiteral("\"Roboto\""); aFontStyle.style = NS_FONT_STYLE_NORMAL; aFontStyle.weight = NS_FONT_WEIGHT_NORMAL; aFontStyle.stretch = NS_FONT_STRETCH_NORMAL;