Index: Source/core/css/resolver/FontBuilder.cpp |
diff --git a/Source/core/css/resolver/FontBuilder.cpp b/Source/core/css/resolver/FontBuilder.cpp |
index 0ec0919383334de58eee0d141085680b06701b40..b983d921b9976dd919b231e217135b9fc6299ded 100644 |
--- a/Source/core/css/resolver/FontBuilder.cpp |
+++ b/Source/core/css/resolver/FontBuilder.cpp |
@@ -462,6 +462,7 @@ void FontBuilder::setScript(const String& locale) |
{ |
FontDescriptionChangeScope scope(this); |
+ scope.fontDescription().setLocale(locale); |
scope.fontDescription().setScript(localeToScriptCodeForFontSelection(locale)); |
} |