mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +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
|
||||
// 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue