| Index: Source/platform/fonts/SimpleFontData.cpp
|
| diff --git a/Source/platform/fonts/SimpleFontData.cpp b/Source/platform/fonts/SimpleFontData.cpp
|
| index b2112fc6af46a09b08bf472ecb34a2d86cc8bfea..44950c305ad5e2adf082ef45ed3989e9f891a0eb 100644
|
| --- a/Source/platform/fonts/SimpleFontData.cpp
|
| +++ b/Source/platform/fonts/SimpleFontData.cpp
|
| @@ -378,15 +378,9 @@ SimpleFontData::DerivedFontData::~DerivedFontData()
|
|
|
| PassRefPtr<SimpleFontData> SimpleFontData::createScaledFontData(const FontDescription& fontDescription, float scaleFactor) const
|
| {
|
| - // FIXME: Support scaled SVG fonts. Given that SVG is scalable in general this should be achievable.
|
| - if (isSVGFont())
|
| - return nullptr;
|
| -
|
| return platformCreateScaledFontData(fontDescription, scaleFactor);
|
| }
|
|
|
| -
|
| -
|
| PassRefPtr<SimpleFontData> SimpleFontData::platformCreateScaledFontData(const FontDescription& fontDescription, float scaleFactor) const
|
| {
|
| const float scaledSize = lroundf(fontDescription.computedSize() * scaleFactor);
|
|
|