зеркало из https://github.com/mozilla/pjs.git
Bug 423582 - Switch Mac (CJK) font prefs to the canonical font names. r=jdaggett, sr=roc, a1.9=beltzner
This commit is contained in:
Родитель
1d7928adf6
Коммит
6f5e264ba2
|
@ -1515,7 +1515,10 @@ pref("browser.drag_out_of_frame_style", 1);
|
||||||
pref("ui.key.saveLink.shift", false); // true = shift, false = meta
|
pref("ui.key.saveLink.shift", false); // true = shift, false = meta
|
||||||
pref("ui.click_hold_context_menus", false);
|
pref("ui.click_hold_context_menus", false);
|
||||||
|
|
||||||
// default font name (in UTF8)
|
// default fonts (in UTF8 and using canonical names)
|
||||||
|
// to determine canonical font names, use a debug build and
|
||||||
|
// enable NSPR logging for module fontInfoLog:5
|
||||||
|
// canonical names immediately follow '(fontinit) family:' in the log
|
||||||
|
|
||||||
pref("font.name.serif.ar", "Al Bayan");
|
pref("font.name.serif.ar", "Al Bayan");
|
||||||
pref("font.name.sans-serif.ar", "Geeza Pro");
|
pref("font.name.sans-serif.ar", "Geeza Pro");
|
||||||
|
@ -1550,12 +1553,12 @@ pref("font.name-list.monospace.he", "Arial Hebrew");
|
||||||
pref("font.name-list.cursive.he", "Corsiva Hebrew");
|
pref("font.name-list.cursive.he", "Corsiva Hebrew");
|
||||||
pref("font.name-list.fantasy.he", "Corsiva Hebrew");
|
pref("font.name-list.fantasy.he", "Corsiva Hebrew");
|
||||||
|
|
||||||
pref("font.name.serif.ja", "ヒラギノ明朝 Pro");
|
pref("font.name.serif.ja", "Hiragino Mincho Pro");
|
||||||
pref("font.name.sans-serif.ja", "ヒラギノ角ゴ Pro");
|
pref("font.name.sans-serif.ja", "Hiragino Kaku Gothic Pro");
|
||||||
pref("font.name.monospace.ja", "Osaka−等幅");
|
pref("font.name.monospace.ja", "Osaka-Mono");
|
||||||
pref("font.name-list.serif.ja", "ヒラギノ明朝 Pro");
|
pref("font.name-list.serif.ja", "Hiragino Mincho Pro");
|
||||||
pref("font.name-list.sans-serif.ja", "ヒラギノ角ゴ Pro");
|
pref("font.name-list.sans-serif.ja", "Hiragino Kaku Gothic Pro");
|
||||||
pref("font.name-list.monospace.ja", "Osaka−等幅");
|
pref("font.name-list.monospace.ja", "Osaka-Mono");
|
||||||
|
|
||||||
pref("font.name.serif.ko", "AppleMyungjo");
|
pref("font.name.serif.ko", "AppleMyungjo");
|
||||||
pref("font.name.sans-serif.ko", "AppleGothic");
|
pref("font.name.sans-serif.ko", "AppleGothic");
|
||||||
|
@ -1728,10 +1731,10 @@ pref("font.name-list.monospace.x-western", "Courier");
|
||||||
pref("font.name-list.cursive.x-western", "Apple Chancery");
|
pref("font.name-list.cursive.x-western", "Apple Chancery");
|
||||||
pref("font.name-list.fantasy.x-western", "Papyrus");
|
pref("font.name-list.fantasy.x-western", "Papyrus");
|
||||||
|
|
||||||
pref("font.name.serif.zh-CN", "华文宋体");
|
pref("font.name.serif.zh-CN", "STSong");
|
||||||
pref("font.name.sans-serif.zh-CN", "STHeiti");
|
pref("font.name.sans-serif.zh-CN", "STHeiti");
|
||||||
pref("font.name.monospace.zh-CN", "STHeiti");
|
pref("font.name.monospace.zh-CN", "STHeiti");
|
||||||
pref("font.name-list.serif.zh-CN", "华文宋体");
|
pref("font.name-list.serif.zh-CN", "STSong");
|
||||||
pref("font.name-list.sans-serif.zh-CN", "STHeiti");
|
pref("font.name-list.sans-serif.zh-CN", "STHeiti");
|
||||||
pref("font.name-list.monospace.zh-CN", "STHeiti");
|
pref("font.name-list.monospace.zh-CN", "STHeiti");
|
||||||
|
|
||||||
|
@ -1742,12 +1745,12 @@ pref("font.name-list.serif.zh-TW", "Apple LiSung");
|
||||||
pref("font.name-list.sans-serif.zh-TW", "Apple LiGothic");
|
pref("font.name-list.sans-serif.zh-TW", "Apple LiGothic");
|
||||||
pref("font.name-list.monospace.zh-TW", "Apple LiGothic");
|
pref("font.name-list.monospace.zh-TW", "Apple LiGothic");
|
||||||
|
|
||||||
pref("font.name.serif.zh-HK", "儷宋 Pro");
|
pref("font.name.serif.zh-HK", "LiSong Pro");
|
||||||
pref("font.name.sans-serif.zh-HK", "儷黑 Pro");
|
pref("font.name.sans-serif.zh-HK", "LiHei Pro");
|
||||||
pref("font.name.monospace.zh-HK", "儷黑 Pro");
|
pref("font.name.monospace.zh-HK", "LiHei Pro");
|
||||||
pref("font.name-list.serif.zh-HK", "儷宋 Pro");
|
pref("font.name-list.serif.zh-HK", "LiSong Pro");
|
||||||
pref("font.name-list.sans-serif.zh-HK", "儷黑 Pro");
|
pref("font.name-list.sans-serif.zh-HK", "LiHei Pro");
|
||||||
pref("font.name-list.monospace.zh-HK", "儷黑 Pro");
|
pref("font.name-list.monospace.zh-HK", "LiHei Pro");
|
||||||
|
|
||||||
pref("font.default.ar", "sans-serif");
|
pref("font.default.ar", "sans-serif");
|
||||||
pref("font.size.variable.ar", 16);
|
pref("font.size.variable.ar", 16);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче