Chromium Code Reviews
DescriptionUse ICU script code "Jpan" instead of "Hrkt" in Japanese pref names.
The script code "Jpan" ("Japanese") is more suitable for naming font prefs for rendering Japanese than "Hrkt" ("Hiragana or Katakana").
With this change, the script code used in Chrome pref names for Japanese will become different than the one used in WebKit settings. We would have used "Jpan" in both Chrome and WebKit to begin with, but it is a newer script code that the version of ICU included in WebKit for MacOS doesn't have. But since Chrome now exposes script codes in the Font Settings Extension API, it's better to use the more appropriate, modern one. This patch just changes the script used internally by Chrome and translates it to the one used by WebKit when talking to WebCore.
BUG=2685
TEST=browser_tests --gtest_filter=ExtensionApiTest.FontSetting*
TBR=pkasting,mpcomplete
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=144418
Patch Set 1 #Patch Set 2 : change in tests and comment #
Total comments: 2
Patch Set 3 : sync #Patch Set 4 : better sample texts #
Total comments: 9
Patch Set 5 : revert Hang->Kore #Patch Set 6 : sync #Messages
Total messages: 13 (0 generated)
|