| Index: ui/gfx/platform_font_pango.cc
|
| diff --git a/ui/gfx/platform_font_pango.cc b/ui/gfx/platform_font_pango.cc
|
| index 1cac87ad29d65667f814720bc5890a7d3812898b..aebc0b332eef4ff01f5237cc73550fd0cfb3d417 100644
|
| --- a/ui/gfx/platform_font_pango.cc
|
| +++ b/ui/gfx/platform_font_pango.cc
|
| @@ -113,7 +113,8 @@ PlatformFontPango::PlatformFontPango(NativeFont native_font) {
|
| query.style |= gfx::Font::ITALIC;
|
|
|
| std::string font_family;
|
| - const FontRenderParams params = gfx::GetFontRenderParams(query, &font_family);
|
| + const FontRenderParams params =
|
| + gfx::GetSystemFontRenderParams(query, &font_family);
|
| InitFromDetails(skia::RefPtr<SkTypeface>(), font_family,
|
| gfx::GetPangoFontSizeInPixels(native_font),
|
| query.style, params);
|
| @@ -126,7 +127,7 @@ PlatformFontPango::PlatformFontPango(const std::string& font_name,
|
| query.pixel_size = font_size_pixels;
|
| query.style = gfx::Font::NORMAL;
|
| InitFromDetails(skia::RefPtr<SkTypeface>(), font_name, font_size_pixels,
|
| - query.style, gfx::GetFontRenderParams(query, NULL));
|
| + query.style, gfx::GetSystemFontRenderParams(query, NULL));
|
| }
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
| @@ -162,8 +163,9 @@ Font PlatformFontPango::DeriveFont(int size_delta, int style) const {
|
| query.pixel_size = new_size;
|
| query.style = style;
|
|
|
| - return Font(new PlatformFontPango(typeface, new_family, new_size, style,
|
| - gfx::GetFontRenderParams(query, NULL)));
|
| + return Font(
|
| + new PlatformFontPango(typeface, new_family, new_size, style,
|
| + gfx::GetSystemFontRenderParams(query, NULL)));
|
| }
|
|
|
| int PlatformFontPango::GetHeight() const {
|
|
|