Index: Source/core/platform/graphics/cocoa/FontPlatformDataCocoa.mm |
diff --git a/Source/core/platform/graphics/cocoa/FontPlatformDataCocoa.mm b/Source/core/platform/graphics/cocoa/FontPlatformDataCocoa.mm |
index aa7a5e72bbafa542c7a8ebc2d04235b123075013..ab3caf3f309e66bb6758e4dc1f55a7f6bfb5ea98 100644 |
--- a/Source/core/platform/graphics/cocoa/FontPlatformDataCocoa.mm |
+++ b/Source/core/platform/graphics/cocoa/FontPlatformDataCocoa.mm |
@@ -234,6 +234,11 @@ static CTFontDescriptorRef cascadeToLastResortAndDisableSwashesFontDescriptor() |
return descriptor; |
} |
+String FontPlatformData::fontFamilyName() const |
+{ |
+ return String(CTFontCopyDisplayName(ctFont())); |
+} |
+ |
CTFontRef FontPlatformData::ctFont() const |
{ |
if (m_CTFont) |