Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(738)

Unified Diff: ui/gfx/platform_font_mac.mm

Issue 789583002: Updates subpixel positioning and hinting when DSF is changed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GN Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/gfx/platform_font_mac.mm
diff --git a/ui/gfx/platform_font_mac.mm b/ui/gfx/platform_font_mac.mm
index 3721f064963886330489475ec427fd91d9e1bde8..106c75d08f12130fbd5f7323045c43d8a113632a 100644
--- a/ui/gfx/platform_font_mac.mm
+++ b/ui/gfx/platform_font_mac.mm
@@ -174,7 +174,7 @@ void PlatformFontMac::CalculateMetricsAndInitRenderParams() {
query.families.push_back(font_name_);
query.pixel_size = font_size_;
query.style = font_style_;
- render_params_ = gfx::GetFontRenderParams(query, NULL);
+ render_params_ = gfx::GetSystemFontRenderParams(query, NULL);
}
////////////////////////////////////////////////////////////////////////////////
« ui/gfx/font_render_params.h ('K') | « ui/gfx/gfx.gyp ('k') | ui/gfx/platform_font_pango.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698