Add alias mapping for Noto Sans CJK for ja/hans
Chrome/Chromium OS are getting a brand new CJK fonts (Noto Sans CJK). We want them to be used in place of common Japanese and Simplified Chinese sans-serif fonts. BUG=chromium:399080 TEST=With CrOS CL (https://chromium-review.googlesource.com/#/c/212624/), web pages using 'Simhei' and 'MSP Gothic' are rendered with Noto Sans CJK. R=reed@chromium.org, bungeman@google.com Author: jshin@chromium.org Review URL: https://codereview.chromium.org/476203003
This commit is contained in:
parent
0a25b2ccf8
commit
ad77e55cc0
@ -221,6 +221,7 @@ FontEquivClass GetFontEquivClass(const char* fontname)
|
||||
{ PGOTHIC, "MS PGothic" },
|
||||
{ PGOTHIC, "\xef\xbc\xad\xef\xbc\xb3 \xef\xbc\xb0"
|
||||
"\xe3\x82\xb4\xe3\x82\xb7\xe3\x83\x83\xe3\x82\xaf" },
|
||||
{ PGOTHIC, "Noto Sans CJK Japanese" },
|
||||
{ PGOTHIC, "IPAPGothic" },
|
||||
{ PGOTHIC, "MotoyaG04Gothic" },
|
||||
|
||||
@ -259,6 +260,7 @@ FontEquivClass GetFontEquivClass(const char* fontname)
|
||||
// 黑体
|
||||
{ SIMHEI, "Simhei" },
|
||||
{ SIMHEI, "\xe9\xbb\x91\xe4\xbd\x93" },
|
||||
{ SIMHEI, "Noto Sans CJK Simplified Chinese" },
|
||||
{ SIMHEI, "MYingHeiGB18030" },
|
||||
{ SIMHEI, "MYingHeiB5HK" },
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user