Index: Source/platform/fonts/Font.cpp |
diff --git a/Source/platform/fonts/Font.cpp b/Source/platform/fonts/Font.cpp |
index 8081a9fe7203748160b6aa55bb062fa347b4d8f3..c41e727f40d6c6a197e68c3fc9564673d7986ca0 100644 |
--- a/Source/platform/fonts/Font.cpp |
+++ b/Source/platform/fonts/Font.cpp |
@@ -405,7 +405,8 @@ GlyphData Font::glyphDataForCharacter(UChar32& c, bool mirror, bool normalizeSpa |
if (variant == AutoVariant) { |
if (m_fontDescription.variant() == FontVariantSmallCaps) { |
- UChar32 upperC = toUpper(c); |
+ bool includeDefault = false; |
+ UChar32 upperC = toUpper(c, m_fontDescription.locale(includeDefault)); |
if (upperC != c) { |
c = upperC; |
variant = SmallCapsVariant; |