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

Unified Diff: Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp

Issue 697473005: Pass indication of locally created typeface to SkCreateTypefaceFromCTFont (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | « Source/platform/fonts/FontPlatformData.cpp ('k') | Source/platform/fonts/mac/FontPlatformDataMac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp
diff --git a/Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp b/Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp
index 022bffaa418d915659cf58913afcbf81bcb7d109..2726c49b35c693e84085dbbcc04d5ce5fbf16c69 100644
--- a/Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp
+++ b/Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp
@@ -44,7 +44,7 @@ FontCustomPlatformData::~FontCustomPlatformData()
FontPlatformData FontCustomPlatformData::fontPlatformData(float size, bool bold, bool italic, FontOrientation orientation, FontWidthVariant widthVariant)
{
- return FontPlatformData(m_cgFont.get(), size, bold, italic, orientation, widthVariant);
+ return FontPlatformData(m_cgFont.get(), true, size, bold, italic, orientation, widthVariant);
}
PassOwnPtr<FontCustomPlatformData> FontCustomPlatformData::create(SharedBuffer* buffer)
« no previous file with comments | « Source/platform/fonts/FontPlatformData.cpp ('k') | Source/platform/fonts/mac/FontPlatformDataMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698