summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-04-18 21:00:09 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-04-18 21:00:09 +0200
commit8bfaf15e559a23b10566762c19c17862a7f5e949 (patch)
treee1bfe0712ad40ce7be7e506795f3ebbbdb41932b /modules/libpref/init
parentab174e65d9223673b14aa6d908e51e71f451b835 (diff)
downloadUXP-8bfaf15e559a23b10566762c19c17862a7f5e949.tar
UXP-8bfaf15e559a23b10566762c19c17862a7f5e949.tar.gz
UXP-8bfaf15e559a23b10566762c19c17862a7f5e949.tar.lz
UXP-8bfaf15e559a23b10566762c19c17862a7f5e949.tar.xz
UXP-8bfaf15e559a23b10566762c19c17862a7f5e949.zip
Use tried-and-proven backends for content rendering and reserve the use of Skia for canvas only.
This should prevent anemic, poorly-spaced and/or cut glyphs in content text.
Diffstat (limited to 'modules/libpref/init')
-rw-r--r--modules/libpref/init/all.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index e3e23550a..530d1e3e9 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -777,16 +777,17 @@ pref("gfx.font_rendering.opentype_svg.enabled", true);
// comma separated list of backends to use in order of preference
// e.g., pref("gfx.canvas.azure.backends", "direct2d,skia,cairo");
pref("gfx.canvas.azure.backends", "direct2d1.1,skia,cairo");
-pref("gfx.content.azure.backends", "direct2d1.1,skia,cairo");
+pref("gfx.content.azure.backends", "direct2d1.1,cairo");
#else
#ifdef XP_MACOSX
-pref("gfx.content.azure.backends", "skia");
-pref("gfx.canvas.azure.backends", "skia");
+pref("gfx.content.azure.backends", "cg");
+pref("gfx.canvas.azure.backends", "skia,cg");
// Accelerated cg canvas where available (10.7+)
pref("gfx.canvas.azure.accelerated", true);
#else
-pref("gfx.canvas.azure.backends", "skia");
-pref("gfx.content.azure.backends", "skia");
+// Linux etc.
+pref("gfx.canvas.azure.backends", "skia,cairo");
+pref("gfx.content.azure.backends", "cairo");
#endif
#endif