| Index: Source/core/platform/graphics/chromium/FontPlatformDataChromiumWin.cpp
|
| diff --git a/Source/core/platform/graphics/chromium/FontPlatformDataChromiumWin.cpp b/Source/core/platform/graphics/chromium/FontPlatformDataChromiumWin.cpp
|
| index 91a37d31ddbe24f504aab22c2152651adc733de1..e74398b7bc7f9827e24417a1873113fb9cc5b13d 100644
|
| --- a/Source/core/platform/graphics/chromium/FontPlatformDataChromiumWin.cpp
|
| +++ b/Source/core/platform/graphics/chromium/FontPlatformDataChromiumWin.cpp
|
| @@ -204,6 +204,15 @@ FontPlatformData::~FontPlatformData()
|
| m_scriptCache = 0;
|
| }
|
|
|
| +String FontPlatformData::fontFamilyName() const
|
| +{
|
| + SkTypeface::LocalizedStrings* fontFamilyIterator = this->typeface()->createFamilyNameIterator();
|
| + SkTypeface::LocalizedString localizedString;
|
| + while (fontFamilyIterator->next(&localizedString) && !localizedString.fString.size()) { }
|
| + fontFamilyIterator->unref();
|
| + return String(localizedString.fString.c_str());
|
| +}
|
| +
|
| bool FontPlatformData::isFixedPitch() const
|
| {
|
| #if ENABLE(GDI_FONTS_ON_WINDOWS)
|
|
|