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>
5 #include "hb-private.h"
6 #include "hb-ot-face-private.h"
9 hb_ot_layout_table_find_script (hb_face_t
*face
,
12 unsigned int *script_index
)
22 hb_ot_layout_language_get_feature_tags (hb_face_t
*face
,
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 */)
41 hb_ot_layout_language_find_feature (hb_face_t
*face
,
43 unsigned int script_index
,
44 unsigned int language_index
,
46 unsigned int *feature_index
)
58 hb_ot_layout_script_get_language_tags (hb_face_t
*face
,
60 unsigned int script_index
,
61 unsigned int start_offset
,
62 unsigned int *language_count
/* IN/OUT */,
63 hb_tag_t
*language_tags
/* OUT */)
75 hb_ot_layout_table_get_script_tags (hb_face_t
*face
,
77 unsigned int start_offset
,
78 unsigned int *script_count
/* IN/OUT */,
79 hb_tag_t
*script_tags
/* OUT */)
90 hb_ot_layout_script_find_language (hb_face_t
*face
,
92 unsigned int script_index
,
93 hb_tag_t language_tag
,
94 unsigned int *language_index
)
100 (void)language_index
;
105 hb_ot_layout_language_get_required_feature_index (hb_face_t
*face
,
107 unsigned int script_index
,
108 unsigned int language_index
,
109 unsigned int *feature_index
)
114 (void)language_index
;