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

Unified Diff: ui/gfx/platform_font_win.cc

Issue 382273002: ui/gfx: Allow for font-specific rendering settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix fontconfig leak 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
« no previous file with comments | « ui/gfx/platform_font_win.h ('k') | ui/gfx/render_text_harfbuzz.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/platform_font_win.cc
diff --git a/ui/gfx/platform_font_win.cc b/ui/gfx/platform_font_win.cc
index f01399406fcc1c2731af345d0f1e36eb2e83d8f5..9f61db39bc7caff325da65a8f41d1d19c6e60eea 100644
--- a/ui/gfx/platform_font_win.cc
+++ b/ui/gfx/platform_font_win.cc
@@ -20,6 +20,7 @@
#include "base/win/win_util.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/font.h"
+#include "ui/gfx/font_render_params.h"
#include "ui/gfx/win/scoped_set_map_mode.h"
namespace {
@@ -191,6 +192,10 @@ int PlatformFontWin::GetFontSize() const {
return font_ref_->font_size();
}
+const FontRenderParams& PlatformFontWin::GetFontRenderParams() const {
+ return GetDefaultFontRenderParams();
+}
+
NativeFont PlatformFontWin::GetNativeFont() const {
return font_ref_->hfont();
}
« no previous file with comments | « ui/gfx/platform_font_win.h ('k') | ui/gfx/render_text_harfbuzz.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698