Bug 1350766 - Add Songti TC/SC to zh-CN/HK/TW default serif font list for MacOS, r=m_kato
authorTimothy Guan-tin Chien <timdream@gmail.com>
Thu, 07 Sep 2017 14:21:48 +0800
changeset 429989 8a1c6347f7955a05e4808c6c9cbf8a416015361a
parent 429988 b420bb292e68194ad0ec7a956a2ff6e8887113f1
child 429990 d322180c318624b35abd101c3652841226db4813
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersm_kato
bugs1350766
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1350766 - Add Songti TC/SC to zh-CN/HK/TW default serif font list for MacOS, r=m_kato MozReview-Commit-ID: BBVr5K7BSki
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4146,27 +4146,39 @@ pref("font.name-list.cursive.x-unicode",
 pref("font.name-list.fantasy.x-unicode", "Papyrus");
 
 pref("font.name-list.serif.x-western", "Times, Times New Roman");
 pref("font.name-list.sans-serif.x-western", "Helvetica, Arial");
 pref("font.name-list.monospace.x-western", "Courier, Courier New");
 pref("font.name-list.cursive.x-western", "Apple Chancery");
 pref("font.name-list.fantasy.x-western", "Papyrus");
 
+#ifdef EARLY_BETA_OR_EARLIER
+pref("font.name-list.serif.zh-CN", "Times, Songti SC, STSong, Heiti SC");
+#else
 pref("font.name-list.serif.zh-CN", "Times, STSong, Heiti SC");
+#endif
 pref("font.name-list.sans-serif.zh-CN", "Helvetica, PingFang SC, STHeiti, Heiti SC");
 pref("font.name-list.monospace.zh-CN", "Courier, PingFang SC, STHeiti, Heiti SC");
 pref("font.name-list.cursive.zh-CN", "Kaiti SC");
 
+#ifdef EARLY_BETA_OR_EARLIER
+pref("font.name-list.serif.zh-TW", "Times, Songti TC, LiSong Pro, Heiti TC");
+#else
 pref("font.name-list.serif.zh-TW", "Times, LiSong Pro, Heiti TC");
+#endif
 pref("font.name-list.sans-serif.zh-TW", "Helvetica, PingFang TC, Heiti TC, LiHei Pro");
 pref("font.name-list.monospace.zh-TW", "Courier, PingFang TC, Heiti TC, LiHei Pro");
 pref("font.name-list.cursive.zh-TW", "Kaiti TC");
 
+#ifdef EARLY_BETA_OR_EARLIER
+pref("font.name-list.serif.zh-HK", "Times, Songti TC, LiSong Pro, Heiti TC");
+#else
 pref("font.name-list.serif.zh-HK", "Times, LiSong Pro, Heiti TC");
+#endif
 pref("font.name-list.sans-serif.zh-HK", "Helvetica, PingFang TC, Heiti TC, LiHei Pro");
 pref("font.name-list.monospace.zh-HK", "Courier, PingFang TC, Heiti TC, LiHei Pro");
 pref("font.name-list.cursive.zh-HK", "Kaiti TC");
 
 // XP_MACOSX changes to default font sizes
 pref("font.minimum-size.th", 10);
 
 // Apple's Symbol is Unicode so use it