Initial commit
[charfbuzz.git] / hb-ot-layout.c
blobecfd5b109b43f549366a61efff16daa92db87349
1 // C99 port from c++ is protected by a GNU Lesser GPLv3
2 // Copyright © 2013 Sylvain BERTRAND <sylvain.bertrand@gmail.com>
3 // <sylware@legeek.net>
4 #include "hb.h"
5 #include "hb-private.h"
6 #include "hb-ot-face-private.h"
8 hb_bool_t
9 hb_ot_layout_table_find_script (hb_face_t *face,
10 hb_tag_t table_tag,
11 hb_tag_t script_tag,
12 unsigned int *script_index)
14 (void)face;
15 (void)table_tag;
16 (void)script_tag;
17 (void)script_index;
18 return FALSE;
21 unsigned int
22 hb_ot_layout_language_get_feature_tags (hb_face_t *face,
23 hb_tag_t table_tag,
24 unsigned int script_index,
25 unsigned int language_index,
26 unsigned int start_offset,
27 unsigned int *feature_count /* IN/OUT */,
28 hb_tag_t *feature_tags /* OUT */)
30 (void)face;
31 (void)table_tag;
32 (void)script_index;
33 (void)language_index;
34 (void)start_offset;
35 (void)feature_count;
36 (void)feature_tags;
37 return 0;
40 hb_bool_t
41 hb_ot_layout_language_find_feature (hb_face_t *face,
42 hb_tag_t table_tag,
43 unsigned int script_index,
44 unsigned int language_index,
45 hb_tag_t feature_tag,
46 unsigned int *feature_index)
48 (void)face;
49 (void)table_tag;
50 (void)script_index;
51 (void)language_index;
52 (void)feature_tag;
53 (void)feature_index;
54 return FALSE;
57 unsigned int
58 hb_ot_layout_script_get_language_tags (hb_face_t *face,
59 hb_tag_t table_tag,
60 unsigned int script_index,
61 unsigned int start_offset,
62 unsigned int *language_count /* IN/OUT */,
63 hb_tag_t *language_tags /* OUT */)
65 (void)face;
66 (void)table_tag;
67 (void)script_index;
68 (void)start_offset;
69 (void)language_count;
70 (void)language_tags;
71 return 0;
74 unsigned int
75 hb_ot_layout_table_get_script_tags (hb_face_t *face,
76 hb_tag_t table_tag,
77 unsigned int start_offset,
78 unsigned int *script_count /* IN/OUT */,
79 hb_tag_t *script_tags /* OUT */)
81 (void)face;
82 (void)table_tag;
83 (void)start_offset;
84 (void)script_count;
85 (void)script_tags;
86 return 0;
89 hb_bool_t
90 hb_ot_layout_script_find_language (hb_face_t *face,
91 hb_tag_t table_tag,
92 unsigned int script_index,
93 hb_tag_t language_tag,
94 unsigned int *language_index)
96 (void)face;
97 (void)table_tag;
98 (void)script_index;
99 (void)language_tag;
100 (void)language_index;
101 return FALSE;
104 hb_bool_t
105 hb_ot_layout_language_get_required_feature_index (hb_face_t *face,
106 hb_tag_t table_tag,
107 unsigned int script_index,
108 unsigned int language_index,
109 unsigned int *feature_index)
111 (void)face;
112 (void)table_tag;
113 (void)script_index;
114 (void)language_index;
115 (void)feature_index;
116 return FALSE;