зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
566f7dd59b
Коммит
94c41d978f
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче