| Index: third_party/WebKit/Source/platform/text/LocaleToScriptMapping.cpp
|
| diff --git a/third_party/WebKit/Source/platform/text/LocaleToScriptMapping.cpp b/third_party/WebKit/Source/platform/text/LocaleToScriptMapping.cpp
|
| index f1f2098652faf06dfd67eacc0af6dd524b588afc..aaac61abdf85b19070abfe7fe61d0d178496a920 100644
|
| --- a/third_party/WebKit/Source/platform/text/LocaleToScriptMapping.cpp
|
| +++ b/third_party/WebKit/Source/platform/text/LocaleToScriptMapping.cpp
|
| @@ -52,10 +52,11 @@ static void createSubtagScriptMap(SubtagScriptMap& map,
|
| }
|
|
|
| UScriptCode scriptNameToCode(const String& scriptName) {
|
| - // This generally maps an ISO 15924 script code to its UScriptCode, but certain families of script codes are
|
| - // treated as a single script for assigning a per-script font in Settings. For example, "hira" is mapped to
|
| - // USCRIPT_KATAKANA_OR_HIRAGANA instead of USCRIPT_HIRAGANA, since we want all Japanese scripts to be rendered
|
| - // using the same font setting.
|
| + // This generally maps an ISO 15924 script code to its UScriptCode, but
|
| + // certain families of script codes are treated as a single script for
|
| + // assigning a per-script font in Settings. For example, "hira" is mapped to
|
| + // USCRIPT_KATAKANA_OR_HIRAGANA instead of USCRIPT_HIRAGANA, since we want all
|
| + // Japanese scripts to be rendered using the same font setting.
|
| static const SubtagScript scriptNameCodeList[] = {
|
| {"zyyy", USCRIPT_COMMON},
|
| {"qaai", USCRIPT_INHERITED},
|
|
|