firefox: clear prior font mess

This commit is contained in:
Aminda Suomalainen 2024-05-25 11:26:46 +03:00
parent 48fa3b4eb2
commit cf5a37e1ba
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 21 additions and 15 deletions

View File

@ -20,15 +20,21 @@ lockPref("cookiebanners.service.mode.privateBrowsing", 2);
// I can set my preferred fonts in an order! :O // I can set my preferred fonts in an order! :O
// but obviously this is forbidden in policies.json! // but obviously this is forbidden in policies.json!
lockPref( // lockPref(
"font.name-list.monospace.x-cyrillic", // "font.name-list.monospace.x-cyrillic",
"Noto Shanns Mono, monospace", // "Noto Shanns Mono, monospace",
); // );
lockPref("font.name-list.monospace.x-western", "Noto Shanns Mono, monospace"); // lockPref("font.name-list.monospace.x-western", "Noto Shanns Mono, monospace");
lockPref("font.name-list.sans-serif.x-cyrillic", "Noto Sans, sans-serif"); // lockPref("font.name-list.sans-serif.x-cyrillic", "Noto Sans, sans-serif");
lockPref("font.name-list.sans-serif.x-western", "Noto Sans, sans-serif"); // lockPref("font.name-list.sans-serif.x-western", "Noto Sans, sans-serif");
lockPref("font.name-list.serif.x-cyrillic", "Noto Serif, serif"); // lockPref("font.name-list.serif.x-cyrillic", "Noto Serif, serif");
lockPref("font.name-list.serif.x-western", "Noto Serif, serif"); // lockPref("font.name-list.serif.x-western", "Noto Serif, serif");
clearPref("font.name-list.monospace.x-cyrillic");
clearPref("font.name-list.monospace.x-western");
clearPref("font.name-list.sans-serif.x-cyrillic");
clearPref("font.name-list.sans-serif.x-western");
clearPref("font.name-list.serif.x-cyrillic");
clearPref("font.name-list.serif.x-western");
// Play animated images only once, accessibility. // Play animated images only once, accessibility.
lockPref("image.animation.mode", "once"); lockPref("image.animation.mode", "once");

View File

@ -436,37 +436,37 @@
}, },
"font.name-list.monospace.x-cyrillic": { "font.name-list.monospace.x-cyrillic": {
"Comment": "Preference not allowed for stability reasons.", "Comment": "Preference not allowed for stability reasons.",
"Status": "default", "Status": "clear",
"Type": "string", "Type": "string",
"Value": "Noto Shanns Mono, monospace" "Value": "Noto Shanns Mono, monospace"
}, },
"font.name-list.monospace.x-western": { "font.name-list.monospace.x-western": {
"Comment": "Preference not allowed for stability reasons.", "Comment": "Preference not allowed for stability reasons.",
"Status": "default", "Status": "clear",
"Type": "string", "Type": "string",
"Value": "Noto Shanns Mono, monospace" "Value": "Noto Shanns Mono, monospace"
}, },
"font.name-list.sans-serif.x-cyrillic": { "font.name-list.sans-serif.x-cyrillic": {
"Comment": "Preference not allowed for stability reasons.", "Comment": "Preference not allowed for stability reasons.",
"Status": "default", "Status": "clear",
"Type": "string", "Type": "string",
"Value": "Noto Sans, sans-serif" "Value": "Noto Sans, sans-serif"
}, },
"font.name-list.sans-serif.x-western": { "font.name-list.sans-serif.x-western": {
"Comment": "Preference not allowed for stability reasons.", "Comment": "Preference not allowed for stability reasons.",
"Status": "default", "Status": "clear",
"Type": "string", "Type": "string",
"Value": "Noto Sans, sans-serif" "Value": "Noto Sans, sans-serif"
}, },
"font.name-list.serif.x-cyrillic": { "font.name-list.serif.x-cyrillic": {
"Comment": "Preference not allowed for stability reasons.", "Comment": "Preference not allowed for stability reasons.",
"Status": "default", "Status": "clear",
"Type": "string", "Type": "string",
"Value": "Noto Serif, serif" "Value": "Noto Serif, serif"
}, },
"font.name-list.serif.x-western": { "font.name-list.serif.x-western": {
"Comment": "Preference not allowed for stability reasons.", "Comment": "Preference not allowed for stability reasons.",
"Status": "default", "Status": "clear",
"Type": "string", "Type": "string",
"Value": "Noto Serif, serif" "Value": "Noto Serif, serif"
}, },