summaryrefslogtreecommitdiffstats
path: root/modules/libpref
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-09-24 13:51:29 -0400
committeradeshkp <adeshkp@users.noreply.github.com>2019-09-24 13:59:46 -0400
commit7422dd4fe9111e822d358cc160ce2deee08ab6c6 (patch)
tree4da9b836212d843d2da64500c160a9b3489e114a /modules/libpref
parentd59ef877425d39d4ef13f13e9c6ba034bfd6b483 (diff)
downloadUXP-7422dd4fe9111e822d358cc160ce2deee08ab6c6.tar
UXP-7422dd4fe9111e822d358cc160ce2deee08ab6c6.tar.gz
UXP-7422dd4fe9111e822d358cc160ce2deee08ab6c6.tar.lz
UXP-7422dd4fe9111e822d358cc160ce2deee08ab6c6.tar.xz
UXP-7422dd4fe9111e822d358cc160ce2deee08ab6c6.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.
Diffstat (limited to 'modules/libpref')
-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);