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

Unified Diff: ui/gfx/font.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/font.h ('k') | ui/gfx/font_render_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/font.cc
diff --git a/ui/gfx/font.cc b/ui/gfx/font.cc
index 31f27b4f294403deebf42fff371bca7296dc0cd1..1b5f1d8189a7ef8b9f4c246c4b619d4fa4cb4d60 100644
--- a/ui/gfx/font.cc
+++ b/ui/gfx/font.cc
@@ -74,6 +74,10 @@ int Font::GetFontSize() const {
return platform_font_->GetFontSize();
}
+const FontRenderParams& Font::GetFontRenderParams() const {
+ return platform_font_->GetFontRenderParams();
+}
+
NativeFont Font::GetNativeFont() const {
return platform_font_->GetNativeFont();
}
« no previous file with comments | « ui/gfx/font.h ('k') | ui/gfx/font_render_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698