Index: Source/core/css/CSSSegmentedFontFaceCache.cpp |
diff --git a/Source/core/css/CSSSegmentedFontFaceCache.cpp b/Source/core/css/CSSSegmentedFontFaceCache.cpp |
index b1ca51611559880823c5a664e59ba0a1b5071ffe..7109579d7ba4ad6c93ebe8038ab272edeba14f68 100644 |
--- a/Source/core/css/CSSSegmentedFontFaceCache.cpp |
+++ b/Source/core/css/CSSSegmentedFontFaceCache.cpp |
@@ -262,12 +262,6 @@ CSSSegmentedFontFace* CSSSegmentedFontFaceCache::getFontFace(const FontDescripti |
continue; |
if ((traitsMask & FontVariantNormalMask) && !(candidateTraitsMask & FontVariantNormalMask)) |
continue; |
-#if ENABLE(SVG_FONTS) |
- // For SVG Fonts that specify that they only support the "normal" variant, we will assume they are incapable |
- // of small-caps synthesis and just ignore the font face as a candidate. |
- if (candidate->hasSVGFontFaceSource() && (traitsMask & FontVariantSmallCapsMask) && !(candidateTraitsMask & FontVariantSmallCapsMask)) |
- continue; |
-#endif |
if (!face || compareFontFaces(candidate, face.get(), traitsMask)) |
face = candidate; |
} |