Bug 548311 Change Japanese default fonts only on early Beta and Nightly r?m_kato, emk, jfkthame draft
authorMasayuki Nakano <masayuki@d-toybox.com>
Tue, 04 Apr 2017 14:02:50 +0900
changeset 555423 b8a460550b52c2be8fb75d98e01946fdae992a6c
parent 555310 b5d8b27a753725c1de41ffae2e338798f3b5cacd
child 622609 3509efe0a0f5aee08bb5df956f733a33e110fb81
push id52240
push usermasayuki@d-toybox.com
push dateTue, 04 Apr 2017 09:42:02 +0000
reviewersm_kato, emk, jfkthame
bugs548311
milestone55.0a1
Bug 548311 Change Japanese default fonts only on early Beta and Nightly r?m_kato, emk, jfkthame This should ride the train at 57. Until then, we should keep watching the feedback from testers. This patch changes Japanese default fonts as: Serif => "Yu Gothic" if available, otherwise, "MS PMincho". Sans-serif => "Meiryo" if available, otherwise, "Yu Gothic" if available. Finally, "MS PGothic". Note that on non-Japanese Windows, only "Yu Gothic" may be installed. Additionally, this patch changes font.name-list.*.ja as getting similar result to default font settings. MozReview-Commit-ID: AsT1DaXY9dA
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -3434,19 +3434,25 @@ pref("font.name-list.sans-serif.el", "Ar
 pref("font.name-list.monospace.el", "Courier New");
 pref("font.name-list.cursive.el", "Comic Sans MS");
 
 pref("font.name-list.serif.he", "Narkisim, David");
 pref("font.name-list.sans-serif.he", "Arial");
 pref("font.name-list.monospace.he", "Fixed Miriam Transparent, Miriam Fixed, Rod, Courier New");
 pref("font.name-list.cursive.he", "Guttman Yad, Ktav, Arial");
 
+#ifdef EARLY_BETA_OR_EARLIER
+pref("font.name-list.serif.ja", "Yu Mincho, MS PMincho, MS Mincho, Meiryo, Yu Gothic, MS PGothic, MS Gothic");
+pref("font.name-list.sans-serif.ja", "Meiryo, Yu Gothic, MS PGothic, MS Gothic, Yu Mincho, MS PMincho, MS Mincho");
+pref("font.name-list.monospace.ja", "MS Gothic, MS Mincho, Meiryo, Yu Gothic, Yu Mincho, MS PGothic, MS PMincho");
+#else
 pref("font.name-list.serif.ja", "MS PMincho, MS Mincho, MS PGothic, MS Gothic,Meiryo");
 pref("font.name-list.sans-serif.ja", "MS PGothic, MS Gothic, MS PMincho, MS Mincho,Meiryo");
 pref("font.name-list.monospace.ja", "MS Gothic, MS Mincho, MS PGothic, MS PMincho,Meiryo");
+#endif
 
 pref("font.name-list.serif.ko", "Batang, Gulim");
 pref("font.name-list.sans-serif.ko", "Gulim");
 pref("font.name-list.monospace.ko", "GulimChe");
 pref("font.name-list.cursive.ko", "Gungsuh");
 
 pref("font.name-list.serif.th", "Tahoma");
 pref("font.name-list.sans-serif.th", "Tahoma");