Bug 408965. Use STHeiti as the default font for sans-serif Simplified Chinese (patch by Jjgod Jiang). r=jdaggett,masayuki, sr=stuart
authorjdaggett@mozilla.com
Sat, 15 Mar 2008 19:25:31 -0700
changeset 13132 5b2513b5d484db8ab649012409ec3a4e1efd22a2
parent 13131 a0286e8ca06e54d10fa137edc7d2e7fb2888a400
child 13133 ee8eac3d37f607c56f74f0b1f8762bbcdbfffa62
push idunknown
push userunknown
push dateunknown
reviewersjdaggett, masayuki, stuart
bugs408965
milestone1.9b5pre
Bug 408965. Use STHeiti as the default font for sans-serif Simplified Chinese (patch by Jjgod Jiang). r=jdaggett,masayuki, sr=stuart
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -1612,21 +1612,21 @@ pref("font.name.cursive.x-western", "App
 pref("font.name.fantasy.x-western", "Papyrus");
 pref("font.name-list.serif.x-western", "Times");
 pref("font.name-list.sans-serif.x-western", "Helvetica");
 pref("font.name-list.monospace.x-western", "Courier");
 pref("font.name-list.cursive.x-western", "Apple Chancery");
 pref("font.name-list.fantasy.x-western", "Papyrus");
 
 pref("font.name.serif.zh-CN", "华文宋体");
-pref("font.name.sans-serif.zh-CN", "Hei");
-pref("font.name.monospace.zh-CN", "Hei");
+pref("font.name.sans-serif.zh-CN", "STHeiti");
+pref("font.name.monospace.zh-CN", "STHeiti");
 pref("font.name-list.serif.zh-CN", "华文宋体");
-pref("font.name-list.sans-serif.zh-CN", "Hei");
-pref("font.name-list.monospace.zh-CN", "Hei");
+pref("font.name-list.sans-serif.zh-CN", "STHeiti");
+pref("font.name-list.monospace.zh-CN", "STHeiti");
 
 pref("font.name.serif.zh-TW", "Apple LiSung"); 
 pref("font.name.sans-serif.zh-TW", "Apple LiGothic");  
 pref("font.name.monospace.zh-TW", "Apple LiGothic");  
 pref("font.name-list.serif.zh-TW", "Apple LiSung"); 
 pref("font.name-list.sans-serif.zh-TW", "Apple LiGothic");  
 pref("font.name-list.monospace.zh-TW", "Apple LiGothic");