summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2019-09-24 21:14:54 +0200
committerGitHub <noreply@github.com>2019-09-24 21:14:54 +0200
commit81db54a1cbbaf9a8cbc64fcf8b232b0f1f13d14f (patch)
tree4da9b836212d843d2da64500c160a9b3489e114a
parentd59ef877425d39d4ef13f13e9c6ba034bfd6b483 (diff)
parent7422dd4fe9111e822d358cc160ce2deee08ab6c6 (diff)
downloadUXP-81db54a1cbbaf9a8cbc64fcf8b232b0f1f13d14f.tar
UXP-81db54a1cbbaf9a8cbc64fcf8b232b0f1f13d14f.tar.gz
UXP-81db54a1cbbaf9a8cbc64fcf8b232b0f1f13d14f.tar.lz
UXP-81db54a1cbbaf9a8cbc64fcf8b232b0f1f13d14f.tar.xz
UXP-81db54a1cbbaf9a8cbc64fcf8b232b0f1f13d14f.zip
Merge pull request #1232 from adeshkp/disable-color-mgmt-linux
Issue #1231 - Stop using ICC profiles on Linux.
-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);