[config] Enable HB_NO_OT_FONT in HB_NO_OT

This commit is contained in:
Behdad Esfahbod 2019-06-26 13:25:02 -07:00
parent 7aad53657e
commit ab40a2feec
2 changed files with 3 additions and 2 deletions

View File

@ -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 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. 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`, CoreText, for example for an iOS app. For that, you want `HB_NO_OT_SHAPE`.
or more generally `HB_NO_OT`. 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 This is very rarely what you need. Make sure you understand exactly what you
are doing. are doing.

View File

@ -122,6 +122,7 @@
#endif #endif
#ifdef HB_NO_OT #ifdef HB_NO_OT
#define HB_NO_OT_FONT
#define HB_NO_OT_SHAPE #define HB_NO_OT_SHAPE
#endif #endif