mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 04:17:31 +09:00
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.
This commit is contained in:
parent
bd50a27250
commit
7a68504b3a
1 changed files with 6 additions and 5 deletions
|
|
@ -777,16 +777,17 @@ pref("gfx.font_rendering.opentype_svg.enabled", true);
|
||||||
// comma separated list of backends to use in order of preference
|
// comma separated list of backends to use in order of preference
|
||||||
// e.g., pref("gfx.canvas.azure.backends", "direct2d,skia,cairo");
|
// e.g., pref("gfx.canvas.azure.backends", "direct2d,skia,cairo");
|
||||||
pref("gfx.canvas.azure.backends", "direct2d1.1,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
|
#else
|
||||||
#ifdef XP_MACOSX
|
#ifdef XP_MACOSX
|
||||||
pref("gfx.content.azure.backends", "skia");
|
pref("gfx.content.azure.backends", "cg");
|
||||||
pref("gfx.canvas.azure.backends", "skia");
|
pref("gfx.canvas.azure.backends", "skia,cg");
|
||||||
// Accelerated cg canvas where available (10.7+)
|
// Accelerated cg canvas where available (10.7+)
|
||||||
pref("gfx.canvas.azure.accelerated", true);
|
pref("gfx.canvas.azure.accelerated", true);
|
||||||
#else
|
#else
|
||||||
pref("gfx.canvas.azure.backends", "skia");
|
// Linux etc.
|
||||||
pref("gfx.content.azure.backends", "skia");
|
pref("gfx.canvas.azure.backends", "skia,cairo");
|
||||||
|
pref("gfx.content.azure.backends", "cairo");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue