Make Noto Sans Mono CJK JP an alias to MS Gothic
authorjshin <jshin@chromium.org>
Tue, 12 May 2015 19:08:36 +0000 (12:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 12 May 2015 19:08:36 +0000 (12:08 -0700)
This CL works together with the following CrOS CL:

https://chromium-review.googlesource.com/#/c/269899/

BUG=chromium:486164
TEST=With the above CrOS CL, 'MS Gothic' in CSS is replaced by 'Noto Sans Mono CJK JP'.

Review URL: https://codereview.chromium.org/1134853002

src/ports/SkFontConfigInterface_direct.cpp

index 5d4aca905b1a91c091314c1e0f53f7bc1ee639f0..239a7905ede5d8dafa9588d299df2e763c47bd2e 100644 (file)
@@ -229,6 +229,7 @@ FontEquivClass GetFontEquivClass(const char* fontname)
         { GOTHIC, "MS Gothic" },
         { GOTHIC, "\xef\xbc\xad\xef\xbc\xb3 "
                   "\xe3\x82\xb4\xe3\x82\xb7\xe3\x83\x83\xe3\x82\xaf" },
+        { GOTHIC, "Noto Sans Mono CJK JP" },
         { GOTHIC, "IPAGothic" },
         { GOTHIC, "MotoyaG04GothicMono" },