| Index: Source/platform/fonts/Font.cpp
|
| diff --git a/Source/platform/fonts/Font.cpp b/Source/platform/fonts/Font.cpp
|
| index b00d0a62121b851909603c8ec9766afc4ad20620..4e6185bd7a02206e4b3afd657364ad7083900761 100644
|
| --- a/Source/platform/fonts/Font.cpp
|
| +++ b/Source/platform/fonts/Font.cpp
|
| @@ -427,7 +427,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;
|
|
|