[tbb-commits] [tor-browser] branch tor-browser-102.5.0esr-12.0-1 updated: fixup! Firefox preference overrides.

gitolite role git at cupani.torproject.org
Wed Nov 30 11:16:45 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch tor-browser-102.5.0esr-12.0-1
in repository tor-browser.

The following commit(s) were added to refs/heads/tor-browser-102.5.0esr-12.0-1 by this push:
     new f9051f13fb2b fixup! Firefox preference overrides.
f9051f13fb2b is described below

commit f9051f13fb2b29c673ceb8790bf8287e0ed515bb
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Tue Nov 22 11:49:31 2022 +0100

    fixup! Firefox preference overrides.
    
    Bug 23451: Use PingFang for Chinese in macOS
---
 browser/app/profile/001-base-profile.js | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/browser/app/profile/001-base-profile.js b/browser/app/profile/001-base-profile.js
index eb2fb6ce458e..bfeadbbbe305 100644
--- a/browser/app/profile/001-base-profile.js
+++ b/browser/app/profile/001-base-profile.js
@@ -465,7 +465,7 @@ pref("browser.taskbar.lists.recent.enabled", false);
 pref("gfx.bundled-fonts.activate", 1);
 
 #ifdef XP_MACOSX
-pref("font.system.whitelist", "AppleGothic, Apple Color Emoji, Arial, Courier, Geneva, Georgia, Heiti TC, Helvetica, Helvetica Neue, .Helvetica Neue DeskInterface, Hiragino Kaku Gothic ProN, Kailasa, Lucida Grande, Menlo, Monaco, STHeiti, Tahoma, Thonburi, Times, Times New Roman, Verdana, STIX Math, Noto Sans Adlam, Noto Sans Armenian, Noto Sans Balinese, Noto Sans Bamum, Noto Sans Bassa Vah, Noto Sans Batak, Noto Sans Bengali, Noto Sans Buginese, Noto Sans Buhid, Noto Sans Canadian Abor [...]
+pref("font.system.whitelist", "AppleGothic, Apple Color Emoji, Arial, Courier, Courier New, Geneva, Georgia, Heiti TC, Helvetica, Helvetica Neue, .Helvetica Neue DeskInterface, Hiragino Kaku Gothic ProN, Kailasa, Lucida Grande, Menlo, Monaco, PingFang HK, PingFang SC, PingFang TC, Songti SC, Songti TC, Tahoma, Thonburi, Times, Times New Roman, Verdana, STIX Math, Noto Sans Adlam, Noto Sans Armenian, Noto Sans Balinese, Noto Sans Bamum, Noto Sans Bassa Vah, Noto Sans Batak, Noto Sans Beng [...]
 
 // Armenian
 pref("font.name-list.serif.x-armn", "Noto Serif Armenian, Times, Times New Roman");
@@ -479,6 +479,18 @@ pref("font.name-list.monospace.x-beng", "Noto Sans Bengali, Menlo, Courier New")
 pref("font.name-list.serif.x-cans", "Noto Serif Canadian Aboriginal, Times, Times New Roman");
 pref("font.name-list.sans-serif.x-cans", "Noto Sans Canadian Aboriginal, Helvetica, Arial");
 pref("font.name-list.monospace.x-cans", "Noto Sans Canadian Aboriginal, Menlo, Courier New");
+// ChineseCN
+pref("font.name-list.serif.zh-CN", "Songti SC, Times, Times New Roman");
+pref("font.name-list.sans-serif.zh-CN", "PingFang SC, Helvetica, Arial");
+pref("font.name-list.monospace.zh-CN", "PingFang SC, Menlo, Courier New");
+// ChineseHK
+pref("font.name-list.serif.zh-HK", "Songti TC, Times, Times New Roman");
+pref("font.name-list.sans-serif.zh-HK", "PingFang HK, Helvetica, Arial");
+pref("font.name-list.monospace.zh-HK", "PingFang HK, Menlo, Courier New");
+// ChineseTW
+pref("font.name-list.serif.zh-TW", "Songti TC, Times, Times New Roman");
+pref("font.name-list.sans-serif.zh-TW", "PingFang TC, Helvetica, Arial");
+pref("font.name-list.monospace.zh-TW", "PingFang TC, Menlo, Courier New");
 // Devanagari
 pref("font.name-list.serif.x-devanagari", "Noto Serif Devanagari, Times, Times New Roman");
 pref("font.name-list.sans-serif.x-devanagari", "Noto Sans Devanagari, Helvetica, Arial");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list