add explicit freetype2 linking
[charfbuzz.git] / hb-shape-plan-private.h
blob62ff962974ac05946c099ea7d4fb3473bd95f6ba
1 #ifndef HB_SHAPE_PLAN_PRIVATE_H
2 #define HB_SHAPE_PLAN_PRIVATE_H
3 struct hb_shape_plan_t {
4 atomic_int32_t ref_cnt;
6 hb_bool_t default_shaper_list;
7 hb_face_t *face;
8 hb_segment_properties_t props;
10 hb_shape_func_t *shaper_func;
11 char *shaper_name;
13 struct hb_shaper_data_t shaper_data;
16 #ifdef HAVE_GRAPHITE2
17 struct hb_graphite2_shaper_shape_plan_data_t;
18 struct hb_graphite2_shaper_shape_plan_data_t
19 *hb_graphite2_shaper_shape_plan_data_create(hb_shape_plan_t * shape_plan,
20 const hb_feature_t *
21 user_features,
22 unsigned num_user_features);
23 void hb_graphite2_shaper_shape_plan_data_destroy(struct
24 hb_graphite2_shaper_shape_plan_data_t
25 *data);
26 #endif
27 #ifdef HAVE_OT
28 struct hb_ot_shaper_shape_plan_data_t;
29 struct hb_ot_shaper_shape_plan_data_t
30 *hb_ot_shaper_shape_plan_data_create(hb_shape_plan_t * shape_plan,
31 const hb_feature_t * user_features,
32 unsigned num_user_features);
33 void hb_ot_shaper_shape_plan_data_destroy(struct hb_ot_shaper_shape_plan_data_t
34 *data);
35 #endif
36 struct hb_fallback_shaper_shape_plan_data_t;
37 struct hb_fallback_shaper_shape_plan_data_t
38 *hb_fallback_shaper_shape_plan_data_create(hb_shape_plan_t * shape_plan,
39 const hb_feature_t *
40 user_features,
41 unsigned num_user_features);
42 void hb_fallback_shaper_shape_plan_data_destroy(struct
43 hb_fallback_shaper_shape_plan_data_t
44 *data);
45 #endif