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
This commit is contained in:
Makoto Kato 2017-10-16 17:38:19 +09:00
Родитель 566f7dd59b
Коммит 94c41d978f
1 изменённых файлов: 1 добавлений и 1 удалений

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

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