diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-04-18 21:00:09 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-04-18 21:00:09 +0200 |
commit | 3cc715734d5b1414c1149303876f822384d704f1 (patch) | |
tree | e1bfe0712ad40ce7be7e506795f3ebbbdb41932b /modules | |
parent | 88c41659751b99d0eac7c13ed2177971773632d8 (diff) | |
download | uxp-3cc715734d5b1414c1149303876f822384d704f1.tar.gz |
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')
-rw-r--r-- | modules/libpref/init/all.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index e3e23550ac..530d1e3e90 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 |