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