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

Unified Diff: ui/gfx/render_text_win.cc

Issue 382273002: ui/gfx: Allow for font-specific rendering settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: diff against https://codereview.chromium.org/387743002/ Created 6 years, 5 months 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
« ui/gfx/platform_font_win.cc ('K') | « ui/gfx/render_text_pango.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text_win.cc
diff --git a/ui/gfx/render_text_win.cc b/ui/gfx/render_text_win.cc
index cf673c570c2b95ce50ca9b71666b562ea3c49eef..97a8656468fdd2f74afa234ac7989396efeb6a43 100644
--- a/ui/gfx/render_text_win.cc
+++ b/ui/gfx/render_text_win.cc
@@ -809,7 +809,7 @@ void RenderTextWin::DrawVisualText(Canvas* canvas) {
ApplyFadeEffects(&renderer);
ApplyTextShadows(&renderer);
- renderer.SetFontRenderParams(GetDefaultFontRenderParams(),
+ renderer.SetFontRenderParams(font_list().GetFontRenderParams(),
background_is_transparent());
ApplyCompositionAndSelectionStyles();
« ui/gfx/platform_font_win.cc ('K') | « ui/gfx/render_text_pango.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698