From ab40a2feecf53d2ef787b7785132bf57e5bdcff9 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 26 Jun 2019 13:25:02 -0700 Subject: [PATCH] [config] Enable HB_NO_OT_FONT in HB_NO_OT --- CONFIG.md | 4 ++-- src/hb-config.hh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONFIG.md b/CONFIG.md index ff55154ad..bf14a6df4 100644 --- a/CONFIG.md +++ b/CONFIG.md @@ -90,8 +90,8 @@ without loss of functionality by defining `HB_NO_OT_FONT`. Most HarfBuzz clients use it for the main shaper, called "ot". However, it is legitimate to want to compile HarfBuzz with only another backend, eg. -CoreText, for example for an iOS app. For that, you want `HB_NO_OT_SHAPE`, -or more generally `HB_NO_OT`. +CoreText, for example for an iOS app. For that, you want `HB_NO_OT_SHAPE`. +If you are going down that route, check if you want `HB_NO_OT`. This is very rarely what you need. Make sure you understand exactly what you are doing. diff --git a/src/hb-config.hh b/src/hb-config.hh index c6a408053..e364a6a90 100644 --- a/src/hb-config.hh +++ b/src/hb-config.hh @@ -122,6 +122,7 @@ #endif #ifdef HB_NO_OT +#define HB_NO_OT_FONT #define HB_NO_OT_SHAPE #endif