From e4488592c42b32f8be1e1fb7c86871b12d707432 Mon Sep 17 00:00:00 2001 From: Jonathan Kew Date: Tue, 9 Oct 2012 13:45:42 +0100 Subject: [PATCH] bug 797402 - use harfbuzz for all OpenType font shaping under OS X. r=jdaggett --- modules/libpref/src/init/all.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/libpref/src/init/all.js b/modules/libpref/src/init/all.js index 387259287c3e..c38ac9fb56a7 100644 --- a/modules/libpref/src/init/all.js +++ b/modules/libpref/src/init/all.js @@ -233,8 +233,8 @@ pref("gfx.font_rendering.graphite.enabled", false); // Scripts not listed are grouped in the default category. // Set the pref to -1 to have all text shaped via the harfbuzz backend. #ifdef XP_MACOSX -// use harfbuzz for default (0x01) + arabic (0x02) + hebrew (0x04) + thai (0x40) -pref("gfx.font_rendering.harfbuzz.scripts", 71); +// use harfbuzz for all scripts (except when using AAT fonts) +pref("gfx.font_rendering.harfbuzz.scripts", -1); #else #ifdef ANDROID // use harfbuzz for everything, as we don't have a platform script-shaping lib