add explicit freetype2 linking
[charfbuzz.git] / hb-face-private.h
blob5e43e30983efc3b0936efbdaf3921eecbfc1635a
1 #ifndef HB_FACE_PRIVATE_H
2 #define HB_FACE_PRIVATE_H
3 struct plan_node_t {
4 hb_shape_plan_t *shape_plan;
5 struct plan_node_t *next;
6 };
8 struct hb_face_t {
9 atomic_int32_t ref_cnt;
10 hb_bool_t immutable;
11 FT_Face ft_face;
12 void *user_data;
13 hb_destroy_func_t destroy;
14 struct hb_shaper_data_t shaper_data;
15 struct plan_node_t *shape_plans;
16 unsigned upem;
17 unsigned num_glyphs;
18 unsigned index;
19 hb_reference_table_func_t reference_table_func;
22 #ifdef HAVE_GRAPHITE2
23 struct hb_graphite2_shaper_face_data_t;
24 struct hb_graphite2_shaper_face_data_t
25 *hb_graphite2_shaper_face_data_create(hb_face_t * face);
26 void hb_graphite2_shaper_face_data_destroy(struct hb_graphite2_shaper_face_data
27 *data);
28 #endif
29 #ifdef HAVE_OT
30 struct hb_ot_shaper_face_data_t;
31 struct hb_ot_shaper_face_data_t *hb_ot_shaper_face_data_create(hb_face_t *
32 face);
33 void hb_ot_shaper_face_data_destroy(struct hb_ot_shaper_face_data_t *data);
34 #endif
35 struct hb_fallback_shaper_face_data_t;
36 struct hb_fallback_shaper_face_data_t
37 *hb_fallback_shaper_face_data_create(hb_face_t * face);
38 void hb_fallback_shaper_face_data_destroy(struct hb_fallback_shaper_face_data_t
39 *data);
40 #endif