From 3cec819d39e45470d03085bb6fa132882cc85943 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 15 Nov 2012 13:15:39 -0800 Subject: [PATCH] Make the OT shaper default, even if CoreText or Uniscribe is enabled --- src/hb-shaper-list.hh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/hb-shaper-list.hh b/src/hb-shaper-list.hh index 6c02de46d..b9c029e58 100644 --- a/src/hb-shaper-list.hh +++ b/src/hb-shaper-list.hh @@ -29,15 +29,11 @@ #endif /* HB_SHAPER_LIST_HH */ /* Dummy header guards */ /* v--- Add new shapers in the right place here. */ + #ifdef HAVE_GRAPHITE2 +/* Only picks up fonts that have a "Silf" table. */ HB_SHAPER_IMPLEMENT (graphite2) #endif -#ifdef HAVE_UNISCRIBE -HB_SHAPER_IMPLEMENT (uniscribe) -#endif -#ifdef HAVE_CORETEXT -HB_SHAPER_IMPLEMENT (coretext) -#endif #ifdef HAVE_OT HB_SHAPER_IMPLEMENT (ot) /* <--- This is our main OpenType shaper. */ @@ -46,9 +42,14 @@ HB_SHAPER_IMPLEMENT (ot) /* <--- This is our main OpenType shaper. */ #ifdef HAVE_HB_OLD HB_SHAPER_IMPLEMENT (old) #endif - #ifdef HAVE_ICU_LE HB_SHAPER_IMPLEMENT (icu_le) #endif +#ifdef HAVE_UNISCRIBE +HB_SHAPER_IMPLEMENT (uniscribe) +#endif +#ifdef HAVE_CORETEXT +HB_SHAPER_IMPLEMENT (coretext) +#endif HB_SHAPER_IMPLEMENT (fallback) /* <--- This should be last. */