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

[config] Add HB_NO_OT_LAYOUT

Part of https://github.com/harfbuzz/harfbuzz/issues/1652
上级 ab40a2fe
...@@ -123,6 +123,7 @@ ...@@ -123,6 +123,7 @@
#ifdef HB_NO_OT #ifdef HB_NO_OT
#define HB_NO_OT_FONT #define HB_NO_OT_FONT
#define HB_NO_OT_LAYOUT
#define HB_NO_OT_SHAPE #define HB_NO_OT_SHAPE
#endif #endif
......
...@@ -28,6 +28,10 @@ ...@@ -28,6 +28,10 @@
* Google Author(s): Behdad Esfahbod * Google Author(s): Behdad Esfahbod
*/ */
#include "hb.hh"
#ifndef HB_NO_OT_LAYOUT
#include "hb-open-type.hh" #include "hb-open-type.hh"
#include "hb-ot-layout.hh" #include "hb-ot-layout.hh"
#include "hb-ot-face.hh" #include "hb-ot-face.hh"
...@@ -2000,3 +2004,6 @@ hb_ot_layout_get_baseline (hb_font_t *font, ...@@ -2000,3 +2004,6 @@ hb_ot_layout_get_baseline (hb_font_t *font,
hb_position_t *coord /* OUT. May be NULL. */); hb_position_t *coord /* OUT. May be NULL. */);
#endif #endif
#endif
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
* Google Author(s): Behdad Esfahbod * Google Author(s): Behdad Esfahbod
*/ */
#include "hb.hh"
#ifndef HB_NO_OT_SHAPE
#include "hb-ot-map.hh" #include "hb-ot-map.hh"
#include "hb-ot-shape.hh" #include "hb-ot-shape.hh"
#include "hb-ot-layout.hh" #include "hb-ot-layout.hh"
...@@ -332,3 +336,6 @@ hb_ot_map_builder_t::compile (hb_ot_map_t &m, ...@@ -332,3 +336,6 @@ hb_ot_map_builder_t::compile (hb_ot_map_t &m,
} }
} }
} }
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册