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

Unified Diff: Source/core/platform/graphics/chromium/FontPlatformDataChromiumWin.h

Issue 21353004: Use Skia for font selection on windows (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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: Source/core/platform/graphics/chromium/FontPlatformDataChromiumWin.h
diff --git a/Source/core/platform/graphics/chromium/FontPlatformDataChromiumWin.h b/Source/core/platform/graphics/chromium/FontPlatformDataChromiumWin.h
index 6cb370d893d5635f919b609812ed83909c5e4b9a..798c0a33ee15700777ebb0888f62f3944e6e5118 100644
--- a/Source/core/platform/graphics/chromium/FontPlatformDataChromiumWin.h
+++ b/Source/core/platform/graphics/chromium/FontPlatformDataChromiumWin.h
@@ -34,6 +34,7 @@
#include "config.h"
+#include "../ports/SkTypeface_win.h"
#include "SkPaint.h"
#include "SkTypeface.h"
#include "core/platform/SharedBuffer.h"
@@ -73,6 +74,7 @@ public:
FontPlatformData(float size, bool bold, bool oblique);
FontPlatformData(const FontPlatformData&);
FontPlatformData(const FontPlatformData&, float textSize);
+ FontPlatformData(SkTypeface*, const char* name, float textSize, bool fakeBold, bool fakeItalic, FontOrientation = Horizontal);
#if !ENABLE(GDI_FONTS_ON_WINDOWS)
void setupPaint(SkPaint*) const;
« no previous file with comments | « Source/core/platform/graphics/FontCache.h ('k') | Source/core/platform/graphics/chromium/FontPlatformDataChromiumWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698