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

Unified Diff: ui/gfx/platform_font_win.cc

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_win.cc
diff --git a/ui/gfx/platform_font_win.cc b/ui/gfx/platform_font_win.cc
index 75c06f1ca79bc8b92a0b2d34b9b19ce6c63e1d75..6394e1f1da88578c734dee42039cec4319a8a60f 100644
--- a/ui/gfx/platform_font_win.cc
+++ b/ui/gfx/platform_font_win.cc
@@ -313,7 +313,8 @@ int PlatformFontWin::GetFontSize() const {
const FontRenderParams& PlatformFontWin::GetFontRenderParams() const {
CR_DEFINE_STATIC_LOCAL(const gfx::FontRenderParams, params,
- (gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(false), NULL)));
+ (gfx::GetSystemFontRenderParams(
+ gfx::FontRenderParamsQuery(false), NULL)));
return params;
}

Powered by Google App Engine
This is Rietveld 408576698