Explorar o código

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
Thorin-Oakenpants %!s(int64=7) %!d(string=hai) anos
pai
achega
80ac9dfa1f
Modificáronse 1 ficheiros con 11 adicións e 12 borrados
  1. 11 12
      user.js

+ 11 - 12
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