From ad5588e80046ea2f5108d21c583a1ecf12efeb82 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 4 Dec 2022 15:27:59 -0700 Subject: [PATCH] [config] If HB_NO_SHAPER then HB_NO_OT_SHAPE --- src/hb-config.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/hb-config.hh b/src/hb-config.hh index d029ff843..81c5b83df 100644 --- a/src/hb-config.hh +++ b/src/hb-config.hh @@ -114,6 +114,11 @@ #define HB_IF_NOT_DEPRECATED(x) x #endif +#ifdef HB_NO_SHAPER +#define HB_NO_OT_SHAPE +#define HB_NO_AAT_SHAPE +#endif + #ifdef HB_NO_AAT #define HB_NO_OT_NAME_LANGUAGE_AAT #define HB_NO_AAT_SHAPE