提交 ab40a2fe 编写于 作者: B Behdad Esfahbod

[config] Enable HB_NO_OT_FONT in HB_NO_OT

上级 7aad5365
......@@ -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.
......
......@@ -122,6 +122,7 @@
#endif
#ifdef HB_NO_OT
#define HB_NO_OT_FONT
#define HB_NO_OT_SHAPE
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册