From 80ac9dfa1f916f0db80d7b10faa998e6c6b9cf23 Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Tue, 19 Sep 2017 04:54:52 +1200 Subject: [PATCH] 1404->1402: default fonts => inactive #237 Inactive as this actually can cause problems on Linux with tofu (I think arial on debian causes tofu - ask nodiscc) . Also incomplete with non-Western settings --- user.js | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/user.js b/user.js index f062a8c..340436e 100644 --- a/user.js +++ b/user.js @@ -820,22 +820,21 @@ user_pref("_user.js.parrot", "1400 syntax error: the parrot's bereft of life!"); * [SETTING] Options>Content>Font & Colors>Advanced>Allow pages to choose... * [SETUP] Disabling fonts can uglify the web a fair bit. ***/ user_pref("browser.display.use_document_fonts", 0); -/* 1402: enable icon fonts (glyphs) (FF41+) +/* 1402: set more legible default fonts [SETUP] + * [SETTING] Options>Fonts & Colors>Advanced>Serif|Sans-serif|Monospace + * [NOTE] Example below for Windows/Western only ***/ + // user_pref("font.name.serif.x-unicode", "Georgia"); + // user_pref("font.name.serif.x-western", "Georgia"); // default Times New Roman + // user_pref("font.name.sans-serif.x-unicode", "Arial"); + // user_pref("font.name.sans-serif.x-western", "Arial"); // default Arial + // user_pref("font.name.monospace.x-unicode", "Lucida Console"); + // user_pref("font.name.monospace.x-western", "Lucida Console"); // default Courier New +/* 1403: enable icon fonts (glyphs) (FF41+) * [1] https://bugzilla.mozilla.org/show_bug.cgi?id=789788 ***/ user_pref("gfx.downloadable_fonts.enabled", true); -/* 1403: disable rendering of SVG OpenType fonts +/* 1404: disable rendering of SVG OpenType fonts * [1] https://wiki.mozilla.org/SVGOpenTypeFonts - iSECPartnersReport recommends to disable this ***/ user_pref("gfx.font_rendering.opentype_svg.enabled", false); -/* 1404: set more legible default fonts - * [SETTING] Options>Fonts & Colors>Advanced>Serif|Sans-serif|Monospace - * [SETUP] These are optional, comment out if you do not require them - * [NOTE] Been using this for 18 months, it really grows on you ***/ -user_pref("font.name.serif.x-unicode", "Georgia"); -user_pref("font.name.serif.x-western", "Georgia"); // default Times New Roman -user_pref("font.name.sans-serif.x-unicode", "Arial"); -user_pref("font.name.sans-serif.x-western", "Arial"); // default Arial -user_pref("font.name.monospace.x-unicode", "Lucida Console"); -user_pref("font.name.monospace.x-western", "Lucida Console"); // default Courier New /* 1405: disable WOFF2 (Web Open Font Format) ***/ user_pref("gfx.downloadable_fonts.woff2.enabled", false); /* 1406: disable CSS Font Loading API