summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-09-24 13:51:29 -0400
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-10-21 08:28:23 +0200
commit5d3b13dbec3c4b81cb67f60f7dbc8ba88ba58036 (patch)
treee7c9036d6d45efc5eb56cc67a92cbc85d9954594
parente5488f14db386a54fbfae275655241d2a6e80800 (diff)
downloadUXP-5d3b13dbec3c4b81cb67f60f7dbc8ba88ba58036.tar
UXP-5d3b13dbec3c4b81cb67f60f7dbc8ba88ba58036.tar.gz
UXP-5d3b13dbec3c4b81cb67f60f7dbc8ba88ba58036.tar.lz
UXP-5d3b13dbec3c4b81cb67f60f7dbc8ba88ba58036.tar.xz
UXP-5d3b13dbec3c4b81cb67f60f7dbc8ba88ba58036.zip
Issue #1231 - Stop using ICC profiles on Linux.
General consensus seems to be that color management on Linux desktops is not mature enough to enable by default.
-rw-r--r--modules/libpref/init/all.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index e69a985ce..b64c157c5 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -732,12 +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);
-// 0 = Off, 1 = Full, 2 = Tagged Images Only.
+// 0 = Off, 1 = All Images, 2 = Tagged Images Only.
// See eCMSMode in gfx/thebes/gfxPlatform.h
+#ifdef XP_WIN
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);
+pref("gfx.color_management.display_profile", "");
+pref("gfx.color_management.rendering_intent", 0);
+pref("gfx.color_management.enablev4", false);
+#endif
pref("gfx.downloadable_fonts.enabled", true);
pref("gfx.downloadable_fonts.fallback_delay", 3000);