summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-10-21 08:42:45 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-10-21 08:43:14 +0200
commit50b875bff1ccf12925246c4df3a3aff6f624e0d4 (patch)
tree31f48b80b4b7f032a57b5bbeb97e82b771cbf854
parent5d3b13dbec3c4b81cb67f60f7dbc8ba88ba58036 (diff)
downloadUXP-50b875bff1ccf12925246c4df3a3aff6f624e0d4.tar
UXP-50b875bff1ccf12925246c4df3a3aff6f624e0d4.tar.gz
UXP-50b875bff1ccf12925246c4df3a3aff6f624e0d4.tar.lz
UXP-50b875bff1ccf12925246c4df3a3aff6f624e0d4.tar.xz
UXP-50b875bff1ccf12925246c4df3a3aff6f624e0d4.zip
Issue #1231 - Correct defines for Mac and keep universal prefs generic.
-rw-r--r--modules/libpref/init/all.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index b64c157c5..ea76c30e5 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -732,19 +732,19 @@ pref("gfx.layerscope.port", 23456);
// This should be use to quickly find which slow paths are used by test cases.
pref("gfx.perf-warnings.enabled", false);
+// Color Management System
// 0 = Off, 1 = All Images, 2 = Tagged Images Only.
// See eCMSMode in gfx/thebes/gfxPlatform.h
-#ifdef XP_WIN
+// Enabled by default on Windows and Mac, disabled elsewhere
+#if defined(XP_WIN) || defined(XP_MACOSX)
pref("gfx.color_management.mode", 2);
-pref("gfx.color_management.display_profile", "");
-pref("gfx.color_management.rendering_intent", 0);
-pref("gfx.color_management.enablev4", true);
#else
pref("gfx.color_management.mode", 0);
+#endif
pref("gfx.color_management.display_profile", "");
pref("gfx.color_management.rendering_intent", 0);
-pref("gfx.color_management.enablev4", false);
-#endif
+pref("gfx.color_management.enablev4", true);
+
pref("gfx.downloadable_fonts.enabled", true);
pref("gfx.downloadable_fonts.fallback_delay", 3000);