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

Unified Diff: ui/gfx/platform_font_mac.mm

Issue 382273002: ui/gfx: Allow for font-specific rendering settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address more comments 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
Index: ui/gfx/platform_font_mac.mm
diff --git a/ui/gfx/platform_font_mac.mm b/ui/gfx/platform_font_mac.mm
index 53e3013170cba2145ca693431bc17d1cc89562d3..4db4baddd82fbf6cc49635ab317a22d4928aeb56 100644
--- a/ui/gfx/platform_font_mac.mm
+++ b/ui/gfx/platform_font_mac.mm
@@ -12,6 +12,7 @@
#include "base/strings/utf_string_conversions.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/font.h"
+#include "ui/gfx/font_render_params.h"
namespace gfx {
@@ -125,6 +126,12 @@ int PlatformFontMac::GetFontSize() const {
return font_size_;
}
+const FontRenderParams& PlatformFontMac::GetFontRenderParams() const {
+ NOTIMPLEMENTED();
+ static FontRenderParams params;
+ return params;
+}
+
NativeFont PlatformFontMac::GetNativeFont() const {
return [[native_font_.get() retain] autorelease];
}

Powered by Google App Engine
This is Rietveld 408576698