diff --git a/conf/firefox-forbidden-policies.js b/conf/firefox-forbidden-policies.js index 3d8d8d8d..f8c4dcd4 100644 --- a/conf/firefox-forbidden-policies.js +++ b/conf/firefox-forbidden-policies.js @@ -18,6 +18,15 @@ pref("cookiebanners.bannerClicking.enabled", true); pref("cookiebanners.service.mode", 2); pref("cookiebanners.service.mode.privateBrowsing", 2); +// I can set my preferred fonts in an order! :O +// but obviously this is forbidden in policies.json! +pref("font.name-list.monospace.x-cyrillic", "Noto Shanns Mono, monospace"); +pref("font.name-list.monospace.x-western", "Noto Shanns Mono, monospace"); +pref("font.name-list.sans-serif.x-cyrillic", "Noto Sans, sans-serif"); +pref("font.name-list.sans-serif.x-western", "Noto Sans, sans-serif"); +pref("font.name-list.serif.x-cyrillic", "Noto Serif, serif"); +pref("font.name-list.serif.x-western", "Noto Serif, serif"); + // Play animated images only once, accessibility. pref("image.animation.mode", "once"); diff --git a/etc/firefox/policies/policies.json b/etc/firefox/policies/policies.json index c4b4312a..f7426baa 100644 --- a/etc/firefox/policies/policies.json +++ b/etc/firefox/policies/policies.json @@ -423,6 +423,42 @@ "Type": "string", "Value": "" }, + "font.name-list.monospace.x-cyrillic": { + "Comment": "Preference not allowed for stability reasons.", + "Status": "default", + "Type": "string", + "Value": "Noto Shanns Mono, monospace" + }, + "font.name-list.monospace.x-western": { + "Comment": "Preference not allowed for stability reasons.", + "Status": "default", + "Type": "string", + "Value": "Noto Shanns Mono, monospace" + }, + "font.name-list.sans-serif.x-cyrillic": { + "Comment": "Preference not allowed for stability reasons.", + "Status": "default", + "Type": "string", + "Value": "Noto Sans, sans-serif" + }, + "font.name-list.sans-serif.x-western": { + "Comment": "Preference not allowed for stability reasons.", + "Status": "default", + "Type": "string", + "Value": "Noto Sans, sans-serif" + }, + "font.name-list.serif.x-cyrillic": { + "Comment": "Preference not allowed for stability reasons.", + "Status": "default", + "Type": "string", + "Value": "Noto Serif, serif" + }, + "font.name-list.serif.x-western": { + "Comment": "Preference not allowed for stability reasons.", + "Status": "default", + "Type": "string", + "Value": "Noto Serif, serif" + }, "general.config.obscure_value": { "Comment": "Required for autoconfig.", "Status": "locked",