From 784df8eba1aaf20d2db464f8b3ea0984f7ea1308 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 11 May 2019 00:04:59 -0700 Subject: [PATCH] [config] Flesh out more Part of https://github.com/harfbuzz/harfbuzz/issues/1652 --- src/hb-config.hh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/hb-config.hh b/src/hb-config.hh index 03f1ba247..00a18e2d8 100644 --- a/src/hb-config.hh +++ b/src/hb-config.hh @@ -32,7 +32,16 @@ #endif +#ifdef HB_TINY +#define HB_MINI +#define HB_NO_BITMAP +#define HB_NO_CFF +#endif +#ifdef HB_MINI +#define HB_NO_AAT +#define HB_NO_FALLBACK +#endif /* Closure. */ @@ -50,5 +59,13 @@ #define HB_NO_SUBSET_CFF #endif +#ifdef HB_NO_FALLBACK +#define HB_NO_OT_SHAPE_COMPLEX_ARABIC_FALLBACK +#define HB_NO_OT_SHAPE_COMPLEX_HEBREW_FALLBACK +#define HB_NO_OT_SHAPE_COMPLEX_THAI_FALLBACK +#define HB_NO_OT_SHAPE_FALLBACK +#define HB_NO_OT_SHAPE_FALLBACK +#endif + #endif /* HB_CONFIG_HH */