From 8f0f4775ee1692152aa3281aceb86a6ed3d1aa49 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 1 Aug 2023 10:58:12 +0100 Subject: [PATCH] Firefox: Use my own fonts --- roles/home-gui/files/user.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/roles/home-gui/files/user.js b/roles/home-gui/files/user.js index 2cf5882..4383910 100644 --- a/roles/home-gui/files/user.js +++ b/roles/home-gui/files/user.js @@ -3,6 +3,7 @@ user_pref("app.shield.optoutstudies.enabled", false); user_pref("browser.contentblocking.category", "strict"); user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); user_pref("browser.discovery.enabled", false); +user_pref("browser.display.use_document_fonts", 0); user_pref("browser.download.useDownloadDir", false); user_pref("browser.eme.ui.enabled", false); user_pref("browser.formfill.enable", false); @@ -36,12 +37,15 @@ user_pref("extensions.pocket.onSaveRecs", false); user_pref("extensions.pocket.onSaveRecs.locales", ""); user_pref("extensions.pocket.showHome", false); user_pref("extensions.pocket.site", "0.0.0.0"); -user_pref("font.name.monospace.x-unicode", "monospace"); -user_pref("font.name.monospace.x-western", "monospace"); -user_pref("font.name.sans-serif.x-unicode", "sans-serif"); -user_pref("font.name.sans-serif.x-western", "sans-serif"); -user_pref("font.name.serif.x-unicode", "serif"); -user_pref("font.name.serif.x-western", "serif"); +user_pref("font.default.x-unicode", "sans-serif"); +user_pref("font.default.x-western", "sans-serif"); +user_pref("font.language.group", "x-unicode"); +user_pref("font.name.monospace.x-unicode", "Noto Sans Mono"); +user_pref("font.name.monospace.x-western", "Noto Sans Mono"); +user_pref("font.name.sans-serif.x-unicode", "Noto Sans"); +user_pref("font.name.sans-serif.x-western", "Noto Sans"); +user_pref("font.name.serif.x-unicode", "Noto Serif"); +user_pref("font.name.serif.x-western", "Noto Serif"); user_pref("general.smoothScroll", false); user_pref("media.eme.enabled", false); user_pref("media.peerconnection.enabled", true);