Imported Upstream version 3.4.0
[platform/upstream/harfbuzz.git] / docs / html / harfbuzz-hb-ot-layout.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>hb-ot-layout: HarfBuzz Manual</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="index.html" title="HarfBuzz Manual">
8 <link rel="up" href="opentype-api.html" title="OpenType API">
9 <link rel="prev" href="harfbuzz-hb-ot-font.html" title="hb-ot-font">
10 <link rel="next" href="harfbuzz-hb-ot-math.html" title="hb-ot-math">
11 <meta name="generator" content="GTK-Doc V1.32 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18                   <a href="#harfbuzz-hb-ot-layout.description" class="shortcut">Description</a></span>
19 </td>
20 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21 <td><a accesskey="u" href="opentype-api.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22 <td><a accesskey="p" href="harfbuzz-hb-ot-font.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23 <td><a accesskey="n" href="harfbuzz-hb-ot-math.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24 </tr></table>
25 <div class="refentry">
26 <a name="harfbuzz-hb-ot-layout"></a><div class="titlepage"></div>
27 <div class="refnamediv"><table width="100%"><tr>
28 <td valign="top">
29 <h2><span class="refentrytitle"><a name="harfbuzz-hb-ot-layout.top_of_page"></a>hb-ot-layout</span></h2>
30 <p>hb-ot-layout — OpenType Layout</p>
31 </td>
32 <td class="gallery_image" valign="top" align="right"></td>
33 </tr></table></div>
34 <div class="refsect1">
35 <a name="harfbuzz-hb-ot-layout.functions"></a><h2>Functions</h2>
36 <div class="informaltable"><table class="informaltable" width="100%" border="0">
37 <colgroup>
38 <col width="150px" class="functions_proto_type">
39 <col class="functions_proto_name">
40 </colgroup>
41 <tbody>
42 <tr>
43 <td class="function_type">
44 <a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="returnvalue">hb_language_t</span></a>
45 </td>
46 <td class="function_name">
47 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-tag-to-language" title="hb_ot_tag_to_language ()">hb_ot_tag_to_language</a> <span class="c_punctuation">()</span>
48 </td>
49 </tr>
50 <tr>
51 <td class="function_type">
52 <a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="returnvalue">hb_script_t</span></a>
53 </td>
54 <td class="function_name">
55 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-tag-to-script" title="hb_ot_tag_to_script ()">hb_ot_tag_to_script</a> <span class="c_punctuation">()</span>
56 </td>
57 </tr>
58 <tr>
59 <td class="function_type">
60 <span class="returnvalue">void</span>
61 </td>
62 <td class="function_name">
63 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-tags-from-script-and-language" title="hb_ot_tags_from_script_and_language ()">hb_ot_tags_from_script_and_language</a> <span class="c_punctuation">()</span>
64 </td>
65 </tr>
66 <tr>
67 <td class="function_type">
68 <span class="returnvalue">void</span>
69 </td>
70 <td class="function_name">
71 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-tags-to-script-and-language" title="hb_ot_tags_to_script_and_language ()">hb_ot_tags_to_script_and_language</a> <span class="c_punctuation">()</span>
72 </td>
73 </tr>
74 <tr>
75 <td class="function_type">
76 <span class="returnvalue">void</span>
77 </td>
78 <td class="function_name">
79 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-collect-lookups" title="hb_ot_layout_collect_lookups ()">hb_ot_layout_collect_lookups</a> <span class="c_punctuation">()</span>
80 </td>
81 </tr>
82 <tr>
83 <td class="function_type">
84 <span class="returnvalue">void</span>
85 </td>
86 <td class="function_name">
87 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-collect-features" title="hb_ot_layout_collect_features ()">hb_ot_layout_collect_features</a> <span class="c_punctuation">()</span>
88 </td>
89 </tr>
90 <tr>
91 <td class="function_type">unsigned <span class="returnvalue">int</span>
92 </td>
93 <td class="function_name">
94 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-feature-get-characters" title="hb_ot_layout_feature_get_characters ()">hb_ot_layout_feature_get_characters</a> <span class="c_punctuation">()</span>
95 </td>
96 </tr>
97 <tr>
98 <td class="function_type">unsigned <span class="returnvalue">int</span>
99 </td>
100 <td class="function_name">
101 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-feature-get-lookups" title="hb_ot_layout_feature_get_lookups ()">hb_ot_layout_feature_get_lookups</a> <span class="c_punctuation">()</span>
102 </td>
103 </tr>
104 <tr>
105 <td class="function_type">
106 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
107 </td>
108 <td class="function_name">
109 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-feature-get-name-ids" title="hb_ot_layout_feature_get_name_ids ()">hb_ot_layout_feature_get_name_ids</a> <span class="c_punctuation">()</span>
110 </td>
111 </tr>
112 <tr>
113 <td class="function_type">unsigned <span class="returnvalue">int</span>
114 </td>
115 <td class="function_name">
116 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-feature-with-variations-get-lookups" title="hb_ot_layout_feature_with_variations_get_lookups ()">hb_ot_layout_feature_with_variations_get_lookups</a> <span class="c_punctuation">()</span>
117 </td>
118 </tr>
119 <tr>
120 <td class="function_type">unsigned <span class="returnvalue">int</span>
121 </td>
122 <td class="function_name">
123 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-get-attach-points" title="hb_ot_layout_get_attach_points ()">hb_ot_layout_get_attach_points</a> <span class="c_punctuation">()</span>
124 </td>
125 </tr>
126 <tr>
127 <td class="function_type">
128 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
129 </td>
130 <td class="function_name">
131 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-get-baseline" title="hb_ot_layout_get_baseline ()">hb_ot_layout_get_baseline</a> <span class="c_punctuation">()</span>
132 </td>
133 </tr>
134 <tr>
135 <td class="function_type">
136 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-glyph-class-t" title="enum hb_ot_layout_glyph_class_t"><span class="returnvalue">hb_ot_layout_glyph_class_t</span></a>
137 </td>
138 <td class="function_name">
139 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-get-glyph-class" title="hb_ot_layout_get_glyph_class ()">hb_ot_layout_get_glyph_class</a> <span class="c_punctuation">()</span>
140 </td>
141 </tr>
142 <tr>
143 <td class="function_type">
144 <span class="returnvalue">void</span>
145 </td>
146 <td class="function_name">
147 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-get-glyphs-in-class" title="hb_ot_layout_get_glyphs_in_class ()">hb_ot_layout_get_glyphs_in_class</a> <span class="c_punctuation">()</span>
148 </td>
149 </tr>
150 <tr>
151 <td class="function_type">unsigned <span class="returnvalue">int</span>
152 </td>
153 <td class="function_name">
154 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-get-ligature-carets" title="hb_ot_layout_get_ligature_carets ()">hb_ot_layout_get_ligature_carets</a> <span class="c_punctuation">()</span>
155 </td>
156 </tr>
157 <tr>
158 <td class="function_type">
159 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
160 </td>
161 <td class="function_name">
162 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-get-size-params" title="hb_ot_layout_get_size_params ()">hb_ot_layout_get_size_params</a> <span class="c_punctuation">()</span>
163 </td>
164 </tr>
165 <tr>
166 <td class="function_type">
167 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
168 </td>
169 <td class="function_name">
170 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-has-glyph-classes" title="hb_ot_layout_has_glyph_classes ()">hb_ot_layout_has_glyph_classes</a> <span class="c_punctuation">()</span>
171 </td>
172 </tr>
173 <tr>
174 <td class="function_type">
175 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
176 </td>
177 <td class="function_name">
178 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-has-positioning" title="hb_ot_layout_has_positioning ()">hb_ot_layout_has_positioning</a> <span class="c_punctuation">()</span>
179 </td>
180 </tr>
181 <tr>
182 <td class="function_type">
183 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
184 </td>
185 <td class="function_name">
186 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-has-substitution" title="hb_ot_layout_has_substitution ()">hb_ot_layout_has_substitution</a> <span class="c_punctuation">()</span>
187 </td>
188 </tr>
189 <tr>
190 <td class="function_type">
191 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
192 </td>
193 <td class="function_name">
194 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-language-find-feature" title="hb_ot_layout_language_find_feature ()">hb_ot_layout_language_find_feature</a> <span class="c_punctuation">()</span>
195 </td>
196 </tr>
197 <tr>
198 <td class="function_type">unsigned <span class="returnvalue">int</span>
199 </td>
200 <td class="function_name">
201 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-language-get-feature-indexes" title="hb_ot_layout_language_get_feature_indexes ()">hb_ot_layout_language_get_feature_indexes</a> <span class="c_punctuation">()</span>
202 </td>
203 </tr>
204 <tr>
205 <td class="function_type">unsigned <span class="returnvalue">int</span>
206 </td>
207 <td class="function_name">
208 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-language-get-feature-tags" title="hb_ot_layout_language_get_feature_tags ()">hb_ot_layout_language_get_feature_tags</a> <span class="c_punctuation">()</span>
209 </td>
210 </tr>
211 <tr>
212 <td class="function_type">
213 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
214 </td>
215 <td class="function_name">
216 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-language-get-required-feature" title="hb_ot_layout_language_get_required_feature ()">hb_ot_layout_language_get_required_feature</a> <span class="c_punctuation">()</span>
217 </td>
218 </tr>
219 <tr>
220 <td class="function_type">
221 <span class="returnvalue">void</span>
222 </td>
223 <td class="function_name">
224 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-lookup-collect-glyphs" title="hb_ot_layout_lookup_collect_glyphs ()">hb_ot_layout_lookup_collect_glyphs</a> <span class="c_punctuation">()</span>
225 </td>
226 </tr>
227 <tr>
228 <td class="function_type">
229 <span class="returnvalue">unsigned</span>
230 </td>
231 <td class="function_name">
232 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-lookup-get-glyph-alternates" title="hb_ot_layout_lookup_get_glyph_alternates ()">hb_ot_layout_lookup_get_glyph_alternates</a> <span class="c_punctuation">()</span>
233 </td>
234 </tr>
235 <tr>
236 <td class="function_type">
237 <span class="returnvalue">void</span>
238 </td>
239 <td class="function_name">
240 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-lookup-substitute-closure" title="hb_ot_layout_lookup_substitute_closure ()">hb_ot_layout_lookup_substitute_closure</a> <span class="c_punctuation">()</span>
241 </td>
242 </tr>
243 <tr>
244 <td class="function_type">
245 <span class="returnvalue">void</span>
246 </td>
247 <td class="function_name">
248 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-lookups-substitute-closure" title="hb_ot_layout_lookups_substitute_closure ()">hb_ot_layout_lookups_substitute_closure</a> <span class="c_punctuation">()</span>
249 </td>
250 </tr>
251 <tr>
252 <td class="function_type">
253 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
254 </td>
255 <td class="function_name">
256 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-lookup-would-substitute" title="hb_ot_layout_lookup_would_substitute ()">hb_ot_layout_lookup_would_substitute</a> <span class="c_punctuation">()</span>
257 </td>
258 </tr>
259 <tr>
260 <td class="function_type">unsigned <span class="returnvalue">int</span>
261 </td>
262 <td class="function_name">
263 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-script-get-language-tags" title="hb_ot_layout_script_get_language_tags ()">hb_ot_layout_script_get_language_tags</a> <span class="c_punctuation">()</span>
264 </td>
265 </tr>
266 <tr>
267 <td class="function_type">
268 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
269 </td>
270 <td class="function_name">
271 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-script-select-language" title="hb_ot_layout_script_select_language ()">hb_ot_layout_script_select_language</a> <span class="c_punctuation">()</span>
272 </td>
273 </tr>
274 <tr>
275 <td class="function_type">
276 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
277 </td>
278 <td class="function_name">
279 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-table-find-feature-variations" title="hb_ot_layout_table_find_feature_variations ()">hb_ot_layout_table_find_feature_variations</a> <span class="c_punctuation">()</span>
280 </td>
281 </tr>
282 <tr>
283 <td class="function_type">unsigned <span class="returnvalue">int</span>
284 </td>
285 <td class="function_name">
286 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-table-get-feature-tags" title="hb_ot_layout_table_get_feature_tags ()">hb_ot_layout_table_get_feature_tags</a> <span class="c_punctuation">()</span>
287 </td>
288 </tr>
289 <tr>
290 <td class="function_type">unsigned <span class="returnvalue">int</span>
291 </td>
292 <td class="function_name">
293 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-table-get-script-tags" title="hb_ot_layout_table_get_script_tags ()">hb_ot_layout_table_get_script_tags</a> <span class="c_punctuation">()</span>
294 </td>
295 </tr>
296 <tr>
297 <td class="function_type">unsigned <span class="returnvalue">int</span>
298 </td>
299 <td class="function_name">
300 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-table-get-lookup-count" title="hb_ot_layout_table_get_lookup_count ()">hb_ot_layout_table_get_lookup_count</a> <span class="c_punctuation">()</span>
301 </td>
302 </tr>
303 <tr>
304 <td class="function_type">
305 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
306 </td>
307 <td class="function_name">
308 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-table-select-script" title="hb_ot_layout_table_select_script ()">hb_ot_layout_table_select_script</a> <span class="c_punctuation">()</span>
309 </td>
310 </tr>
311 <tr>
312 <td class="function_type">
313 <span class="returnvalue">void</span>
314 </td>
315 <td class="function_name">
316 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-shape-plan-collect-lookups" title="hb_ot_shape_plan_collect_lookups ()">hb_ot_shape_plan_collect_lookups</a> <span class="c_punctuation">()</span>
317 </td>
318 </tr>
319 <tr>
320 <td class="function_type">
321 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
322 </td>
323 <td class="function_name">
324 <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-language-get-required-feature-index" title="hb_ot_layout_language_get_required_feature_index ()">hb_ot_layout_language_get_required_feature_index</a> <span class="c_punctuation">()</span>
325 </td>
326 </tr>
327 </tbody>
328 </table></div>
329 </div>
330 <div class="refsect1">
331 <a name="harfbuzz-hb-ot-layout.other"></a><h2>Types and Values</h2>
332 <div class="informaltable"><table class="informaltable" width="100%" border="0">
333 <colgroup>
334 <col width="150px" class="other_proto_type">
335 <col class="other_proto_name">
336 </colgroup>
337 <tbody>
338 <tr>
339 <td class="define_keyword">#define</td>
340 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-MAX-TAGS-PER-LANGUAGE:CAPS" title="HB_OT_MAX_TAGS_PER_LANGUAGE">HB_OT_MAX_TAGS_PER_LANGUAGE</a></td>
341 </tr>
342 <tr>
343 <td class="define_keyword">#define</td>
344 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-MAX-TAGS-PER-SCRIPT:CAPS" title="HB_OT_MAX_TAGS_PER_SCRIPT">HB_OT_MAX_TAGS_PER_SCRIPT</a></td>
345 </tr>
346 <tr>
347 <td class="define_keyword">#define</td>
348 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-DEFAULT-LANGUAGE:CAPS" title="HB_OT_TAG_DEFAULT_LANGUAGE">HB_OT_TAG_DEFAULT_LANGUAGE</a></td>
349 </tr>
350 <tr>
351 <td class="define_keyword">#define</td>
352 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-DEFAULT-SCRIPT:CAPS" title="HB_OT_TAG_DEFAULT_SCRIPT">HB_OT_TAG_DEFAULT_SCRIPT</a></td>
353 </tr>
354 <tr>
355 <td class="define_keyword">#define</td>
356 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-LAYOUT-DEFAULT-LANGUAGE-INDEX:CAPS" title="HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX">HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX</a></td>
357 </tr>
358 <tr>
359 <td class="define_keyword">#define</td>
360 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-LAYOUT-NO-FEATURE-INDEX:CAPS" title="HB_OT_LAYOUT_NO_FEATURE_INDEX">HB_OT_LAYOUT_NO_FEATURE_INDEX</a></td>
361 </tr>
362 <tr>
363 <td class="define_keyword">#define</td>
364 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-LAYOUT-NO-SCRIPT-INDEX:CAPS" title="HB_OT_LAYOUT_NO_SCRIPT_INDEX">HB_OT_LAYOUT_NO_SCRIPT_INDEX</a></td>
365 </tr>
366 <tr>
367 <td class="define_keyword">#define</td>
368 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-LAYOUT-NO-VARIATIONS-INDEX:CAPS" title="HB_OT_LAYOUT_NO_VARIATIONS_INDEX">HB_OT_LAYOUT_NO_VARIATIONS_INDEX</a></td>
369 </tr>
370 <tr>
371 <td class="define_keyword">#define</td>
372 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-BASE:CAPS" title="HB_OT_TAG_BASE">HB_OT_TAG_BASE</a></td>
373 </tr>
374 <tr>
375 <td class="define_keyword">#define</td>
376 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GDEF:CAPS" title="HB_OT_TAG_GDEF">HB_OT_TAG_GDEF</a></td>
377 </tr>
378 <tr>
379 <td class="define_keyword">#define</td>
380 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS">HB_OT_TAG_GPOS</a></td>
381 </tr>
382 <tr>
383 <td class="define_keyword">#define</td>
384 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB">HB_OT_TAG_GSUB</a></td>
385 </tr>
386 <tr>
387 <td class="define_keyword">#define</td>
388 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-JSTF:CAPS" title="HB_OT_TAG_JSTF">HB_OT_TAG_JSTF</a></td>
389 </tr>
390 <tr>
391 <td class="datatype_keyword">enum</td>
392 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-baseline-tag-t" title="enum hb_ot_layout_baseline_tag_t">hb_ot_layout_baseline_tag_t</a></td>
393 </tr>
394 <tr>
395 <td class="datatype_keyword">enum</td>
396 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-glyph-class-t" title="enum hb_ot_layout_glyph_class_t">hb_ot_layout_glyph_class_t</a></td>
397 </tr>
398 </tbody>
399 </table></div>
400 </div>
401 <div class="refsect1">
402 <a name="harfbuzz-hb-ot-layout.includes"></a><h2>Includes</h2>
403 <pre class="synopsis">#include &lt;hb-ot.h&gt;
404 </pre>
405 </div>
406 <div class="refsect1">
407 <a name="harfbuzz-hb-ot-layout.description"></a><h2>Description</h2>
408 <p>Functions for querying OpenType Layout features in the font face.</p>
409 </div>
410 <div class="refsect1">
411 <a name="harfbuzz-hb-ot-layout.functions_details"></a><h2>Functions</h2>
412 <div class="refsect2">
413 <a name="hb-ot-tag-to-language"></a><h3>hb_ot_tag_to_language ()</h3>
414 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="returnvalue">hb_language_t</span></a>
415 hb_ot_tag_to_language (<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> tag</code></em>);</pre>
416 <p>Converts a language tag to an <a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a>.</p>
417 <div class="refsect3">
418 <a name="hb-ot-tag-to-language.parameters"></a><h4>Parameters</h4>
419 <div class="informaltable"><table class="informaltable" width="100%" border="0">
420 <colgroup>
421 <col width="150px" class="parameters_name">
422 <col class="parameters_description">
423 <col width="200px" class="parameters_annotations">
424 </colgroup>
425 <tbody><tr>
426 <td class="parameter_name"><p>tag</p></td>
427 <td class="parameter_description"><p>an language tag</p></td>
428 <td class="parameter_annotations"> </td>
429 </tr></tbody>
430 </table></div>
431 </div>
432 <div class="refsect3">
433 <a name="hb-ot-tag-to-language.returns"></a><h4>Returns</h4>
434 <p>The <a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a> corresponding to <em class="parameter"><code>tag</code></em>
435 . </p>
436 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
437 </div>
438 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
439 </div>
440 <hr>
441 <div class="refsect2">
442 <a name="hb-ot-tag-to-script"></a><h3>hb_ot_tag_to_script ()</h3>
443 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="returnvalue">hb_script_t</span></a>
444 hb_ot_tag_to_script (<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> tag</code></em>);</pre>
445 <p>Converts a script tag to an <a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a>.</p>
446 <div class="refsect3">
447 <a name="hb-ot-tag-to-script.parameters"></a><h4>Parameters</h4>
448 <div class="informaltable"><table class="informaltable" width="100%" border="0">
449 <colgroup>
450 <col width="150px" class="parameters_name">
451 <col class="parameters_description">
452 <col width="200px" class="parameters_annotations">
453 </colgroup>
454 <tbody><tr>
455 <td class="parameter_name"><p>tag</p></td>
456 <td class="parameter_description"><p>a script tag</p></td>
457 <td class="parameter_annotations"> </td>
458 </tr></tbody>
459 </table></div>
460 </div>
461 <div class="refsect3">
462 <a name="hb-ot-tag-to-script.returns"></a><h4>Returns</h4>
463 <p> The <a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a> corresponding to <em class="parameter"><code>tag</code></em>
464 .</p>
465 </div>
466 </div>
467 <hr>
468 <div class="refsect2">
469 <a name="hb-ot-tags-from-script-and-language"></a><h3>hb_ot_tags_from_script_and_language ()</h3>
470 <pre class="programlisting"><span class="returnvalue">void</span>
471 hb_ot_tags_from_script_and_language (<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a> script</code></em>,
472                                      <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a> language</code></em>,
473                                      <em class="parameter"><code>unsigned <span class="type">int</span> *script_count</code></em>,
474                                      <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *script_tags</code></em>,
475                                      <em class="parameter"><code>unsigned <span class="type">int</span> *language_count</code></em>,
476                                      <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *language_tags</code></em>);</pre>
477 <p>Converts an <a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a> and an <a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a> to script and language tags.</p>
478 <div class="refsect3">
479 <a name="hb-ot-tags-from-script-and-language.parameters"></a><h4>Parameters</h4>
480 <div class="informaltable"><table class="informaltable" width="100%" border="0">
481 <colgroup>
482 <col width="150px" class="parameters_name">
483 <col class="parameters_description">
484 <col width="200px" class="parameters_annotations">
485 </colgroup>
486 <tbody>
487 <tr>
488 <td class="parameter_name"><p>script</p></td>
489 <td class="parameter_description"><p>an <a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a> to convert.</p></td>
490 <td class="parameter_annotations"> </td>
491 </tr>
492 <tr>
493 <td class="parameter_name"><p>language</p></td>
494 <td class="parameter_description"><p>an <a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a> to convert.</p></td>
495 <td class="parameter_annotations"> </td>
496 </tr>
497 <tr>
498 <td class="parameter_name"><p>script_count</p></td>
499 <td class="parameter_description"><p>maximum number of script tags to retrieve (IN)
500 and actual number of script tags retrieved (OUT). </p></td>
501 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
502 </tr>
503 <tr>
504 <td class="parameter_name"><p>script_tags</p></td>
505 <td class="parameter_description"><p>array of size at least <em class="parameter"><code>script_count</code></em>
506 to store the
507 script tag results. </p></td>
508 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
509 </tr>
510 <tr>
511 <td class="parameter_name"><p>language_count</p></td>
512 <td class="parameter_description"><p>maximum number of language tags to retrieve
513 (IN) and actual number of language tags retrieved (OUT). </p></td>
514 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
515 </tr>
516 <tr>
517 <td class="parameter_name"><p>language_tags</p></td>
518 <td class="parameter_description"><p>array of size at least <em class="parameter"><code>language_count</code></em>
519 to store
520 the language tag results. </p></td>
521 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
522 </tr>
523 </tbody>
524 </table></div>
525 </div>
526 <p class="since">Since: <a class="link" href="api-index-2-0-0.html#api-index-2.0.0">2.0.0</a></p>
527 </div>
528 <hr>
529 <div class="refsect2">
530 <a name="hb-ot-tags-to-script-and-language"></a><h3>hb_ot_tags_to_script_and_language ()</h3>
531 <pre class="programlisting"><span class="returnvalue">void</span>
532 hb_ot_tags_to_script_and_language (<em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> script_tag</code></em>,
533                                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> language_tag</code></em>,
534                                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a> *script</code></em>,
535                                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a> *language</code></em>);</pre>
536 <p>Converts a script tag and a language tag to an <a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a> and an
537 <a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a>.</p>
538 <div class="refsect3">
539 <a name="hb-ot-tags-to-script-and-language.parameters"></a><h4>Parameters</h4>
540 <div class="informaltable"><table class="informaltable" width="100%" border="0">
541 <colgroup>
542 <col width="150px" class="parameters_name">
543 <col class="parameters_description">
544 <col width="200px" class="parameters_annotations">
545 </colgroup>
546 <tbody>
547 <tr>
548 <td class="parameter_name"><p>script_tag</p></td>
549 <td class="parameter_description"><p>a script tag</p></td>
550 <td class="parameter_annotations"> </td>
551 </tr>
552 <tr>
553 <td class="parameter_name"><p>language_tag</p></td>
554 <td class="parameter_description"><p>a language tag</p></td>
555 <td class="parameter_annotations"> </td>
556 </tr>
557 <tr>
558 <td class="parameter_name"><p>script</p></td>
559 <td class="parameter_description"><p>the <a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a> corresponding to <em class="parameter"><code>script_tag</code></em>
560 . </p></td>
561 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
562 </tr>
563 <tr>
564 <td class="parameter_name"><p>language</p></td>
565 <td class="parameter_description"><p>the <a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a> corresponding to <em class="parameter"><code>script_tag</code></em>
566 and
567 <em class="parameter"><code>language_tag</code></em>
568 . </p></td>
569 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
570 </tr>
571 </tbody>
572 </table></div>
573 </div>
574 <p class="since">Since: <a class="link" href="api-index-2-0-0.html#api-index-2.0.0">2.0.0</a></p>
575 </div>
576 <hr>
577 <div class="refsect2">
578 <a name="hb-ot-layout-collect-lookups"></a><h3>hb_ot_layout_collect_lookups ()</h3>
579 <pre class="programlisting"><span class="returnvalue">void</span>
580 hb_ot_layout_collect_lookups (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
581                               <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
582                               <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *scripts</code></em>,
583                               <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *languages</code></em>,
584                               <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *features</code></em>,
585                               <em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *lookup_indexes</code></em>);</pre>
586 <p>Fetches a list of all feature-lookup indexes in the specified face's GSUB
587 table or GPOS table, underneath the specified scripts, languages, and
588 features. If no list of scripts is provided, all scripts will be queried.
589 If no list of languages is provided, all languages will be queried. If no
590 list of features is provided, all features will be queried.</p>
591 <div class="refsect3">
592 <a name="hb-ot-layout-collect-lookups.parameters"></a><h4>Parameters</h4>
593 <div class="informaltable"><table class="informaltable" width="100%" border="0">
594 <colgroup>
595 <col width="150px" class="parameters_name">
596 <col class="parameters_description">
597 <col width="200px" class="parameters_annotations">
598 </colgroup>
599 <tbody>
600 <tr>
601 <td class="parameter_name"><p>face</p></td>
602 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
603 <td class="parameter_annotations"> </td>
604 </tr>
605 <tr>
606 <td class="parameter_name"><p>table_tag</p></td>
607 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
608 <td class="parameter_annotations"> </td>
609 </tr>
610 <tr>
611 <td class="parameter_name"><p>scripts</p></td>
612 <td class="parameter_description"><p>The array of scripts to collect lookups for</p></td>
613 <td class="parameter_annotations"> </td>
614 </tr>
615 <tr>
616 <td class="parameter_name"><p>languages</p></td>
617 <td class="parameter_description"><p>The array of languages to collect lookups for</p></td>
618 <td class="parameter_annotations"> </td>
619 </tr>
620 <tr>
621 <td class="parameter_name"><p>features</p></td>
622 <td class="parameter_description"><p>The array of features to collect lookups for</p></td>
623 <td class="parameter_annotations"> </td>
624 </tr>
625 <tr>
626 <td class="parameter_name"><p>lookup_indexes</p></td>
627 <td class="parameter_description"><p>The array of lookup indexes found for the query. </p></td>
628 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
629 </tr>
630 </tbody>
631 </table></div>
632 </div>
633 <p class="since">Since: <a class="link" href="api-index-0-9-8.html#api-index-0.9.8">0.9.8</a></p>
634 </div>
635 <hr>
636 <div class="refsect2">
637 <a name="hb-ot-layout-collect-features"></a><h3>hb_ot_layout_collect_features ()</h3>
638 <pre class="programlisting"><span class="returnvalue">void</span>
639 hb_ot_layout_collect_features (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
640                                <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
641                                <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *scripts</code></em>,
642                                <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *languages</code></em>,
643                                <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *features</code></em>,
644                                <em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *feature_indexes</code></em>);</pre>
645 <p>Fetches a list of all feature indexes in the specified face's GSUB table
646 or GPOS table, underneath the specified scripts, languages, and features.
647 If no list of scripts is provided, all scripts will be queried. If no list
648 of languages is provided, all languages will be queried. If no list of
649 features is provided, all features will be queried.</p>
650 <div class="refsect3">
651 <a name="hb-ot-layout-collect-features.parameters"></a><h4>Parameters</h4>
652 <div class="informaltable"><table class="informaltable" width="100%" border="0">
653 <colgroup>
654 <col width="150px" class="parameters_name">
655 <col class="parameters_description">
656 <col width="200px" class="parameters_annotations">
657 </colgroup>
658 <tbody>
659 <tr>
660 <td class="parameter_name"><p>face</p></td>
661 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
662 <td class="parameter_annotations"> </td>
663 </tr>
664 <tr>
665 <td class="parameter_name"><p>table_tag</p></td>
666 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
667 <td class="parameter_annotations"> </td>
668 </tr>
669 <tr>
670 <td class="parameter_name"><p>scripts</p></td>
671 <td class="parameter_description"><p>The array of scripts to collect features for</p></td>
672 <td class="parameter_annotations"> </td>
673 </tr>
674 <tr>
675 <td class="parameter_name"><p>languages</p></td>
676 <td class="parameter_description"><p>The array of languages to collect features for</p></td>
677 <td class="parameter_annotations"> </td>
678 </tr>
679 <tr>
680 <td class="parameter_name"><p>features</p></td>
681 <td class="parameter_description"><p>The array of features to collect</p></td>
682 <td class="parameter_annotations"> </td>
683 </tr>
684 <tr>
685 <td class="parameter_name"><p>feature_indexes</p></td>
686 <td class="parameter_description"><p>The array of feature indexes found for the query. </p></td>
687 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
688 </tr>
689 </tbody>
690 </table></div>
691 </div>
692 <p class="since">Since: <a class="link" href="api-index-1-8-5.html#api-index-1.8.5">1.8.5</a></p>
693 </div>
694 <hr>
695 <div class="refsect2">
696 <a name="hb-ot-layout-feature-get-characters"></a><h3>hb_ot_layout_feature_get_characters ()</h3>
697 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
698 hb_ot_layout_feature_get_characters (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
699                                      <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
700                                      <em class="parameter"><code>unsigned <span class="type">int</span> feature_index</code></em>,
701                                      <em class="parameter"><code>unsigned <span class="type">int</span> start_offset</code></em>,
702                                      <em class="parameter"><code>unsigned <span class="type">int</span> *char_count</code></em>,
703                                      <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *characters</code></em>);</pre>
704 <p>Fetches a list of the characters defined as having a variant under the specified
705 "Character Variant" ("cvXX") feature tag.</p>
706 <div class="refsect3">
707 <a name="hb-ot-layout-feature-get-characters.parameters"></a><h4>Parameters</h4>
708 <div class="informaltable"><table class="informaltable" width="100%" border="0">
709 <colgroup>
710 <col width="150px" class="parameters_name">
711 <col class="parameters_description">
712 <col width="200px" class="parameters_annotations">
713 </colgroup>
714 <tbody>
715 <tr>
716 <td class="parameter_name"><p>face</p></td>
717 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
718 <td class="parameter_annotations"> </td>
719 </tr>
720 <tr>
721 <td class="parameter_name"><p>table_tag</p></td>
722 <td class="parameter_description"><p>table tag to query, "GSUB" or "GPOS".</p></td>
723 <td class="parameter_annotations"> </td>
724 </tr>
725 <tr>
726 <td class="parameter_name"><p>feature_index</p></td>
727 <td class="parameter_description"><p>index of feature to query.</p></td>
728 <td class="parameter_annotations"> </td>
729 </tr>
730 <tr>
731 <td class="parameter_name"><p>start_offset</p></td>
732 <td class="parameter_description"><p>offset of the first character to retrieve</p></td>
733 <td class="parameter_annotations"> </td>
734 </tr>
735 <tr>
736 <td class="parameter_name"><p>char_count</p></td>
737 <td class="parameter_description"><p>Input = the maximum number of characters to return;
738 Output = the actual number of characters returned (may be zero). </p></td>
739 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
740 </tr>
741 <tr>
742 <td class="parameter_name"><p>characters</p></td>
743 <td class="parameter_description"><p>A buffer pointer.
744 The Unicode codepoints of the characters for which this feature provides
745 glyph variants. </p></td>
746 <td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=char_count]</span></td>
747 </tr>
748 </tbody>
749 </table></div>
750 </div>
751 <div class="refsect3">
752 <a name="hb-ot-layout-feature-get-characters.returns"></a><h4>Returns</h4>
753 <p> Number of total sample characters in the cvXX feature.</p>
754 </div>
755 <p class="since">Since: <a class="link" href="api-index-2-0-0.html#api-index-2.0.0">2.0.0</a></p>
756 </div>
757 <hr>
758 <div class="refsect2">
759 <a name="hb-ot-layout-feature-get-lookups"></a><h3>hb_ot_layout_feature_get_lookups ()</h3>
760 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
761 hb_ot_layout_feature_get_lookups (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
762                                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
763                                   <em class="parameter"><code>unsigned <span class="type">int</span> feature_index</code></em>,
764                                   <em class="parameter"><code>unsigned <span class="type">int</span> start_offset</code></em>,
765                                   <em class="parameter"><code>unsigned <span class="type">int</span> *lookup_count</code></em>,
766                                   <em class="parameter"><code>unsigned <span class="type">int</span> *lookup_indexes</code></em>);</pre>
767 <p>Fetches a list of all lookups enumerated for the specified feature, in
768 the specified face's GSUB table or GPOS table. The list returned will
769 begin at the offset provided.</p>
770 <div class="refsect3">
771 <a name="hb-ot-layout-feature-get-lookups.parameters"></a><h4>Parameters</h4>
772 <div class="informaltable"><table class="informaltable" width="100%" border="0">
773 <colgroup>
774 <col width="150px" class="parameters_name">
775 <col class="parameters_description">
776 <col width="200px" class="parameters_annotations">
777 </colgroup>
778 <tbody>
779 <tr>
780 <td class="parameter_name"><p>face</p></td>
781 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
782 <td class="parameter_annotations"> </td>
783 </tr>
784 <tr>
785 <td class="parameter_name"><p>table_tag</p></td>
786 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
787 <td class="parameter_annotations"> </td>
788 </tr>
789 <tr>
790 <td class="parameter_name"><p>feature_index</p></td>
791 <td class="parameter_description"><p>The index of the requested feature</p></td>
792 <td class="parameter_annotations"> </td>
793 </tr>
794 <tr>
795 <td class="parameter_name"><p>start_offset</p></td>
796 <td class="parameter_description"><p>offset of the first lookup to retrieve</p></td>
797 <td class="parameter_annotations"> </td>
798 </tr>
799 <tr>
800 <td class="parameter_name"><p>lookup_count</p></td>
801 <td class="parameter_description"><p>Input = the maximum number of lookups to return;
802 Output = the actual number of lookups returned (may be zero). </p></td>
803 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
804 </tr>
805 <tr>
806 <td class="parameter_name"><p>lookup_indexes</p></td>
807 <td class="parameter_description"><p>The array of lookup indexes found for the query. </p></td>
808 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=lookup_count]</span></td>
809 </tr>
810 </tbody>
811 </table></div>
812 </div>
813 <div class="refsect3">
814 <a name="hb-ot-layout-feature-get-lookups.returns"></a><h4>Returns</h4>
815 <p> Total number of lookups.</p>
816 </div>
817 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
818 </div>
819 <hr>
820 <div class="refsect2">
821 <a name="hb-ot-layout-feature-get-name-ids"></a><h3>hb_ot_layout_feature_get_name_ids ()</h3>
822 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
823 hb_ot_layout_feature_get_name_ids (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
824                                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
825                                    <em class="parameter"><code>unsigned <span class="type">int</span> feature_index</code></em>,
826                                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-ot-name.html#hb-ot-name-id-t" title="hb_ot_name_id_t"><span class="type">hb_ot_name_id_t</span></a> *label_id</code></em>,
827                                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-ot-name.html#hb-ot-name-id-t" title="hb_ot_name_id_t"><span class="type">hb_ot_name_id_t</span></a> *tooltip_id</code></em>,
828                                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-ot-name.html#hb-ot-name-id-t" title="hb_ot_name_id_t"><span class="type">hb_ot_name_id_t</span></a> *sample_id</code></em>,
829                                    <em class="parameter"><code>unsigned <span class="type">int</span> *num_named_parameters</code></em>,
830                                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-ot-name.html#hb-ot-name-id-t" title="hb_ot_name_id_t"><span class="type">hb_ot_name_id_t</span></a> *first_param_id</code></em>);</pre>
831 <p>Fetches name indices from feature parameters for "Stylistic Set" ('ssXX') or
832 "Character Variant" ('cvXX') features.</p>
833 <div class="refsect3">
834 <a name="hb-ot-layout-feature-get-name-ids.parameters"></a><h4>Parameters</h4>
835 <div class="informaltable"><table class="informaltable" width="100%" border="0">
836 <colgroup>
837 <col width="150px" class="parameters_name">
838 <col class="parameters_description">
839 <col width="200px" class="parameters_annotations">
840 </colgroup>
841 <tbody>
842 <tr>
843 <td class="parameter_name"><p>face</p></td>
844 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
845 <td class="parameter_annotations"> </td>
846 </tr>
847 <tr>
848 <td class="parameter_name"><p>table_tag</p></td>
849 <td class="parameter_description"><p>table tag to query, "GSUB" or "GPOS".</p></td>
850 <td class="parameter_annotations"> </td>
851 </tr>
852 <tr>
853 <td class="parameter_name"><p>feature_index</p></td>
854 <td class="parameter_description"><p>index of feature to query.</p></td>
855 <td class="parameter_annotations"> </td>
856 </tr>
857 <tr>
858 <td class="parameter_name"><p>label_id</p></td>
859 <td class="parameter_description"><p>The ‘name’ table name ID that specifies a string
860 for a user-interface label for this feature. (May be NULL.). </p></td>
861 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
862 </tr>
863 <tr>
864 <td class="parameter_name"><p>tooltip_id</p></td>
865 <td class="parameter_description"><p>The ‘name’ table name ID that specifies a string
866 that an application can use for tooltip text for this
867 feature. (May be NULL.). </p></td>
868 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
869 </tr>
870 <tr>
871 <td class="parameter_name"><p>sample_id</p></td>
872 <td class="parameter_description"><p>The ‘name’ table name ID that specifies sample text
873 that illustrates the effect of this feature. (May be NULL.). </p></td>
874 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
875 </tr>
876 <tr>
877 <td class="parameter_name"><p>num_named_parameters</p></td>
878 <td class="parameter_description"><p>Number of named parameters. (May be zero.). </p></td>
879 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
880 </tr>
881 <tr>
882 <td class="parameter_name"><p>first_param_id</p></td>
883 <td class="parameter_description"><p>The first ‘name’ table name ID used to specify
884 strings for user-interface labels for the feature
885 parameters. (Must be zero if numParameters is zero.). </p></td>
886 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
887 </tr>
888 </tbody>
889 </table></div>
890 </div>
891 <div class="refsect3">
892 <a name="hb-ot-layout-feature-get-name-ids.returns"></a><h4>Returns</h4>
893 <p> <code class="literal">true</code> if data found, <code class="literal">false</code> otherwise</p>
894 </div>
895 <p class="since">Since: <a class="link" href="api-index-2-0-0.html#api-index-2.0.0">2.0.0</a></p>
896 </div>
897 <hr>
898 <div class="refsect2">
899 <a name="hb-ot-layout-feature-with-variations-get-lookups"></a><h3>hb_ot_layout_feature_with_variations_get_lookups ()</h3>
900 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
901 hb_ot_layout_feature_with_variations_get_lookups
902                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
903                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
904                                 <em class="parameter"><code>unsigned <span class="type">int</span> feature_index</code></em>,
905                                 <em class="parameter"><code>unsigned <span class="type">int</span> variations_index</code></em>,
906                                 <em class="parameter"><code>unsigned <span class="type">int</span> start_offset</code></em>,
907                                 <em class="parameter"><code>unsigned <span class="type">int</span> *lookup_count</code></em>,
908                                 <em class="parameter"><code>unsigned <span class="type">int</span> *lookup_indexes</code></em>);</pre>
909 <p>Fetches a list of all lookups enumerated for the specified feature, in
910 the specified face's GSUB table or GPOS table, enabled at the specified
911 variations index. The list returned will begin at the offset provided.</p>
912 <div class="refsect3">
913 <a name="hb-ot-layout-feature-with-variations-get-lookups.parameters"></a><h4>Parameters</h4>
914 <div class="informaltable"><table class="informaltable" width="100%" border="0">
915 <colgroup>
916 <col width="150px" class="parameters_name">
917 <col class="parameters_description">
918 <col width="200px" class="parameters_annotations">
919 </colgroup>
920 <tbody>
921 <tr>
922 <td class="parameter_name"><p>face</p></td>
923 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
924 <td class="parameter_annotations"> </td>
925 </tr>
926 <tr>
927 <td class="parameter_name"><p>table_tag</p></td>
928 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
929 <td class="parameter_annotations"> </td>
930 </tr>
931 <tr>
932 <td class="parameter_name"><p>feature_index</p></td>
933 <td class="parameter_description"><p>The index of the feature to query</p></td>
934 <td class="parameter_annotations"> </td>
935 </tr>
936 <tr>
937 <td class="parameter_name"><p>variations_index</p></td>
938 <td class="parameter_description"><p>The index of the feature variation to query</p></td>
939 <td class="parameter_annotations"> </td>
940 </tr>
941 <tr>
942 <td class="parameter_name"><p>start_offset</p></td>
943 <td class="parameter_description"><p>offset of the first lookup to retrieve</p></td>
944 <td class="parameter_annotations"> </td>
945 </tr>
946 <tr>
947 <td class="parameter_name"><p>lookup_count</p></td>
948 <td class="parameter_description"><p>Input = the maximum number of lookups to return;
949 Output = the actual number of lookups returned (may be zero). </p></td>
950 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
951 </tr>
952 <tr>
953 <td class="parameter_name"><p>lookup_indexes</p></td>
954 <td class="parameter_description"><p>The array of lookups found for the query. </p></td>
955 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=lookup_count]</span></td>
956 </tr>
957 </tbody>
958 </table></div>
959 </div>
960 <div class="refsect3">
961 <a name="hb-ot-layout-feature-with-variations-get-lookups.returns"></a><h4>Returns</h4>
962 <p> Total number of lookups.</p>
963 </div>
964 </div>
965 <hr>
966 <div class="refsect2">
967 <a name="hb-ot-layout-get-attach-points"></a><h3>hb_ot_layout_get_attach_points ()</h3>
968 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
969 hb_ot_layout_get_attach_points (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
970                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
971                                 <em class="parameter"><code>unsigned <span class="type">int</span> start_offset</code></em>,
972                                 <em class="parameter"><code>unsigned <span class="type">int</span> *point_count</code></em>,
973                                 <em class="parameter"><code>unsigned <span class="type">int</span> *point_array</code></em>);</pre>
974 <p>Fetches a list of all attachment points for the specified glyph in the GDEF
975 table of the face. The list returned will begin at the offset provided.</p>
976 <p>Useful if the client program wishes to cache the list.</p>
977 <div class="refsect3">
978 <a name="hb-ot-layout-get-attach-points.parameters"></a><h4>Parameters</h4>
979 <div class="informaltable"><table class="informaltable" width="100%" border="0">
980 <colgroup>
981 <col width="150px" class="parameters_name">
982 <col class="parameters_description">
983 <col width="200px" class="parameters_annotations">
984 </colgroup>
985 <tbody>
986 <tr>
987 <td class="parameter_name"><p>face</p></td>
988 <td class="parameter_description"><p>The <a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work on</p></td>
989 <td class="parameter_annotations"> </td>
990 </tr>
991 <tr>
992 <td class="parameter_name"><p>glyph</p></td>
993 <td class="parameter_description"><p>The <a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> code point to query</p></td>
994 <td class="parameter_annotations"> </td>
995 </tr>
996 <tr>
997 <td class="parameter_name"><p>start_offset</p></td>
998 <td class="parameter_description"><p>offset of the first attachment point to retrieve</p></td>
999 <td class="parameter_annotations"> </td>
1000 </tr>
1001 <tr>
1002 <td class="parameter_name"><p>point_count</p></td>
1003 <td class="parameter_description"><p>Input = the maximum number of attachment points to return;
1004 Output = the actual number of attachment points returned (may be zero). </p></td>
1005 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
1006 </tr>
1007 <tr>
1008 <td class="parameter_name"><p>point_array</p></td>
1009 <td class="parameter_description"><p>The array of attachment points found for the query. </p></td>
1010 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=point_count]</span></td>
1011 </tr>
1012 </tbody>
1013 </table></div>
1014 </div>
1015 <div class="refsect3">
1016 <a name="hb-ot-layout-get-attach-points.returns"></a><h4>Returns</h4>
1017 <p> Total number of attachment points for <em class="parameter"><code>glyph</code></em>
1018 .</p>
1019 </div>
1020 </div>
1021 <hr>
1022 <div class="refsect2">
1023 <a name="hb-ot-layout-get-baseline"></a><h3>hb_ot_layout_get_baseline ()</h3>
1024 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1025 hb_ot_layout_get_baseline (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t" title="hb_font_t"><span class="type">hb_font_t</span></a> *font</code></em>,
1026                            <em class="parameter"><code><a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-baseline-tag-t" title="enum hb_ot_layout_baseline_tag_t"><span class="type">hb_ot_layout_baseline_tag_t</span></a> baseline_tag</code></em>,
1027                            <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>,
1028                            <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> script_tag</code></em>,
1029                            <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> language_tag</code></em>,
1030                            <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *coord</code></em>);</pre>
1031 <p>Fetches a baseline value from the face.</p>
1032 <div class="refsect3">
1033 <a name="hb-ot-layout-get-baseline.parameters"></a><h4>Parameters</h4>
1034 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1035 <colgroup>
1036 <col width="150px" class="parameters_name">
1037 <col class="parameters_description">
1038 <col width="200px" class="parameters_annotations">
1039 </colgroup>
1040 <tbody>
1041 <tr>
1042 <td class="parameter_name"><p>font</p></td>
1043 <td class="parameter_description"><p>a font</p></td>
1044 <td class="parameter_annotations"> </td>
1045 </tr>
1046 <tr>
1047 <td class="parameter_name"><p>baseline_tag</p></td>
1048 <td class="parameter_description"><p>a baseline tag</p></td>
1049 <td class="parameter_annotations"> </td>
1050 </tr>
1051 <tr>
1052 <td class="parameter_name"><p>direction</p></td>
1053 <td class="parameter_description"><p>text direction.</p></td>
1054 <td class="parameter_annotations"> </td>
1055 </tr>
1056 <tr>
1057 <td class="parameter_name"><p>script_tag</p></td>
1058 <td class="parameter_description"><p>script tag.</p></td>
1059 <td class="parameter_annotations"> </td>
1060 </tr>
1061 <tr>
1062 <td class="parameter_name"><p>language_tag</p></td>
1063 <td class="parameter_description"><p>language tag, currently unused.</p></td>
1064 <td class="parameter_annotations"> </td>
1065 </tr>
1066 <tr>
1067 <td class="parameter_name"><p>coord</p></td>
1068 <td class="parameter_description"><p>baseline value if found. </p></td>
1069 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1070 </tr>
1071 </tbody>
1072 </table></div>
1073 </div>
1074 <div class="refsect3">
1075 <a name="hb-ot-layout-get-baseline.returns"></a><h4>Returns</h4>
1076 <p> <code class="literal">true</code> if found baseline value in the font.</p>
1077 </div>
1078 <p class="since">Since: <a class="link" href="api-index-2-6-0.html#api-index-2.6.0">2.6.0</a></p>
1079 </div>
1080 <hr>
1081 <div class="refsect2">
1082 <a name="hb-ot-layout-get-glyph-class"></a><h3>hb_ot_layout_get_glyph_class ()</h3>
1083 <pre class="programlisting"><a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-glyph-class-t" title="enum hb_ot_layout_glyph_class_t"><span class="returnvalue">hb_ot_layout_glyph_class_t</span></a>
1084 hb_ot_layout_get_glyph_class (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
1085                               <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>);</pre>
1086 <p>Fetches the GDEF class of the requested glyph in the specified face.</p>
1087 <div class="refsect3">
1088 <a name="hb-ot-layout-get-glyph-class.parameters"></a><h4>Parameters</h4>
1089 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1090 <colgroup>
1091 <col width="150px" class="parameters_name">
1092 <col class="parameters_description">
1093 <col width="200px" class="parameters_annotations">
1094 </colgroup>
1095 <tbody>
1096 <tr>
1097 <td class="parameter_name"><p>face</p></td>
1098 <td class="parameter_description"><p>The <a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work on</p></td>
1099 <td class="parameter_annotations"> </td>
1100 </tr>
1101 <tr>
1102 <td class="parameter_name"><p>glyph</p></td>
1103 <td class="parameter_description"><p>The <a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> code point to query</p></td>
1104 <td class="parameter_annotations"> </td>
1105 </tr>
1106 </tbody>
1107 </table></div>
1108 </div>
1109 <div class="refsect3">
1110 <a name="hb-ot-layout-get-glyph-class.returns"></a><h4>Returns</h4>
1111 <p> The <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-glyph-class-t" title="enum hb_ot_layout_glyph_class_t"><span class="type">hb_ot_layout_glyph_class_t</span></a> glyph class of the given code
1112 point in the GDEF table of the face.</p>
1113 </div>
1114 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
1115 </div>
1116 <hr>
1117 <div class="refsect2">
1118 <a name="hb-ot-layout-get-glyphs-in-class"></a><h3>hb_ot_layout_get_glyphs_in_class ()</h3>
1119 <pre class="programlisting"><span class="returnvalue">void</span>
1120 hb_ot_layout_get_glyphs_in_class (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
1121                                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-glyph-class-t" title="enum hb_ot_layout_glyph_class_t"><span class="type">hb_ot_layout_glyph_class_t</span></a> klass</code></em>,
1122                                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *glyphs</code></em>);</pre>
1123 <p>Retrieves the set of all glyphs from the face that belong to the requested
1124 glyph class in the face's GDEF table.</p>
1125 <div class="refsect3">
1126 <a name="hb-ot-layout-get-glyphs-in-class.parameters"></a><h4>Parameters</h4>
1127 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1128 <colgroup>
1129 <col width="150px" class="parameters_name">
1130 <col class="parameters_description">
1131 <col width="200px" class="parameters_annotations">
1132 </colgroup>
1133 <tbody>
1134 <tr>
1135 <td class="parameter_name"><p>face</p></td>
1136 <td class="parameter_description"><p>The <a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work on</p></td>
1137 <td class="parameter_annotations"> </td>
1138 </tr>
1139 <tr>
1140 <td class="parameter_name"><p>klass</p></td>
1141 <td class="parameter_description"><p>The <a class="link" href="harfbuzz-hb-ot-layout.html#hb-ot-layout-glyph-class-t" title="enum hb_ot_layout_glyph_class_t"><span class="type">hb_ot_layout_glyph_class_t</span></a> GDEF class to retrieve</p></td>
1142 <td class="parameter_annotations"> </td>
1143 </tr>
1144 <tr>
1145 <td class="parameter_name"><p>glyphs</p></td>
1146 <td class="parameter_description"><p>The <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> set of all glyphs belonging to the requested
1147 class. </p></td>
1148 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1149 </tr>
1150 </tbody>
1151 </table></div>
1152 </div>
1153 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
1154 </div>
1155 <hr>
1156 <div class="refsect2">
1157 <a name="hb-ot-layout-get-ligature-carets"></a><h3>hb_ot_layout_get_ligature_carets ()</h3>
1158 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
1159 hb_ot_layout_get_ligature_carets (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t" title="hb_font_t"><span class="type">hb_font_t</span></a> *font</code></em>,
1160                                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>,
1161                                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1162                                   <em class="parameter"><code>unsigned <span class="type">int</span> start_offset</code></em>,
1163                                   <em class="parameter"><code>unsigned <span class="type">int</span> *caret_count</code></em>,
1164                                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *caret_array</code></em>);</pre>
1165 <p>Fetches a list of the caret positions defined for a ligature glyph in the GDEF
1166 table of the font. The list returned will begin at the offset provided.</p>
1167 <div class="refsect3">
1168 <a name="hb-ot-layout-get-ligature-carets.parameters"></a><h4>Parameters</h4>
1169 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1170 <colgroup>
1171 <col width="150px" class="parameters_name">
1172 <col class="parameters_description">
1173 <col width="200px" class="parameters_annotations">
1174 </colgroup>
1175 <tbody>
1176 <tr>
1177 <td class="parameter_name"><p>font</p></td>
1178 <td class="parameter_description"><p>The <a class="link" href="harfbuzz-hb-font.html#hb-font-t" title="hb_font_t"><span class="type">hb_font_t</span></a> to work on</p></td>
1179 <td class="parameter_annotations"> </td>
1180 </tr>
1181 <tr>
1182 <td class="parameter_name"><p>direction</p></td>
1183 <td class="parameter_description"><p>The <a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> text direction to use</p></td>
1184 <td class="parameter_annotations"> </td>
1185 </tr>
1186 <tr>
1187 <td class="parameter_name"><p>glyph</p></td>
1188 <td class="parameter_description"><p>The <a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> code point to query</p></td>
1189 <td class="parameter_annotations"> </td>
1190 </tr>
1191 <tr>
1192 <td class="parameter_name"><p>start_offset</p></td>
1193 <td class="parameter_description"><p>offset of the first caret position to retrieve</p></td>
1194 <td class="parameter_annotations"> </td>
1195 </tr>
1196 <tr>
1197 <td class="parameter_name"><p>caret_count</p></td>
1198 <td class="parameter_description"><p>Input = the maximum number of caret positions to return;
1199 Output = the actual number of caret positions returned (may be zero). </p></td>
1200 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
1201 </tr>
1202 <tr>
1203 <td class="parameter_name"><p>caret_array</p></td>
1204 <td class="parameter_description"><p>The array of caret positions found for the query. </p></td>
1205 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=caret_count]</span></td>
1206 </tr>
1207 </tbody>
1208 </table></div>
1209 </div>
1210 <div class="refsect3">
1211 <a name="hb-ot-layout-get-ligature-carets.returns"></a><h4>Returns</h4>
1212 <p> Total number of ligature caret positions for <em class="parameter"><code>glyph</code></em>
1213 .</p>
1214 </div>
1215 </div>
1216 <hr>
1217 <div class="refsect2">
1218 <a name="hb-ot-layout-get-size-params"></a><h3>hb_ot_layout_get_size_params ()</h3>
1219 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1220 hb_ot_layout_get_size_params (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
1221                               <em class="parameter"><code>unsigned <span class="type">int</span> *design_size</code></em>,
1222                               <em class="parameter"><code>unsigned <span class="type">int</span> *subfamily_id</code></em>,
1223                               <em class="parameter"><code><a class="link" href="harfbuzz-hb-ot-name.html#hb-ot-name-id-t" title="hb_ot_name_id_t"><span class="type">hb_ot_name_id_t</span></a> *subfamily_name_id</code></em>,
1224                               <em class="parameter"><code>unsigned <span class="type">int</span> *range_start</code></em>,
1225                               <em class="parameter"><code>unsigned <span class="type">int</span> *range_end</code></em>);</pre>
1226 <p>Fetches optical-size feature data (i.e., the <code class="literal">size</code> feature from GPOS). Note that
1227 the subfamily_id and the subfamily name string (accessible via the subfamily_name_id)
1228 as used here are defined as pertaining only to fonts within a font family that differ
1229 specifically in their respective size ranges; other ways to differentiate fonts within
1230 a subfamily are not covered by the <code class="literal">size</code> feature.</p>
1231 <p>For more information on this distinction, see the <a class="ulink" href="https://docs.microsoft.com/en-us/typography/opentype/spec/features_pt#tag-size" target="_top"><code class="literal">size</code> feature documentation</a>.</p>
1232 <div class="refsect3">
1233 <a name="hb-ot-layout-get-size-params.parameters"></a><h4>Parameters</h4>
1234 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1235 <colgroup>
1236 <col width="150px" class="parameters_name">
1237 <col class="parameters_description">
1238 <col width="200px" class="parameters_annotations">
1239 </colgroup>
1240 <tbody>
1241 <tr>
1242 <td class="parameter_name"><p>face</p></td>
1243 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
1244 <td class="parameter_annotations"> </td>
1245 </tr>
1246 <tr>
1247 <td class="parameter_name"><p>design_size</p></td>
1248 <td class="parameter_description"><p>The design size of the face. </p></td>
1249 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1250 </tr>
1251 <tr>
1252 <td class="parameter_name"><p>subfamily_id</p></td>
1253 <td class="parameter_description"><p>The identifier of the face within the font subfamily. </p></td>
1254 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1255 </tr>
1256 <tr>
1257 <td class="parameter_name"><p>subfamily_name_id</p></td>
1258 <td class="parameter_description"><p>The ‘name’ table name ID of the face within the font subfamily. </p></td>
1259 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1260 </tr>
1261 <tr>
1262 <td class="parameter_name"><p>range_start</p></td>
1263 <td class="parameter_description"><p>The minimum size of the recommended size range for the face. </p></td>
1264 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1265 </tr>
1266 <tr>
1267 <td class="parameter_name"><p>range_end</p></td>
1268 <td class="parameter_description"><p>The maximum size of the recommended size range for the face. </p></td>
1269 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1270 </tr>
1271 </tbody>
1272 </table></div>
1273 </div>
1274 <div class="refsect3">
1275 <a name="hb-ot-layout-get-size-params.returns"></a><h4>Returns</h4>
1276 <p> <code class="literal">true</code> if data found, <code class="literal">false</code> otherwise</p>
1277 </div>
1278 <p class="since">Since: <a class="link" href="api-index-0-9-10.html#api-index-0.9.10">0.9.10</a></p>
1279 </div>
1280 <hr>
1281 <div class="refsect2">
1282 <a name="hb-ot-layout-has-glyph-classes"></a><h3>hb_ot_layout_has_glyph_classes ()</h3>
1283 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1284 hb_ot_layout_has_glyph_classes (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>);</pre>
1285 <p>Tests whether a face has any glyph classes defined in its GDEF table.</p>
1286 <div class="refsect3">
1287 <a name="hb-ot-layout-has-glyph-classes.parameters"></a><h4>Parameters</h4>
1288 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1289 <colgroup>
1290 <col width="150px" class="parameters_name">
1291 <col class="parameters_description">
1292 <col width="200px" class="parameters_annotations">
1293 </colgroup>
1294 <tbody><tr>
1295 <td class="parameter_name"><p>face</p></td>
1296 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
1297 <td class="parameter_annotations"> </td>
1298 </tr></tbody>
1299 </table></div>
1300 </div>
1301 <div class="refsect3">
1302 <a name="hb-ot-layout-has-glyph-classes.returns"></a><h4>Returns</h4>
1303 <p> <code class="literal">true</code> if data found, <code class="literal">false</code> otherwise</p>
1304 </div>
1305 </div>
1306 <hr>
1307 <div class="refsect2">
1308 <a name="hb-ot-layout-has-positioning"></a><h3>hb_ot_layout_has_positioning ()</h3>
1309 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1310 hb_ot_layout_has_positioning (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>);</pre>
1311 <p>Tests whether the specified face includes any GPOS positioning.</p>
1312 <div class="refsect3">
1313 <a name="hb-ot-layout-has-positioning.parameters"></a><h4>Parameters</h4>
1314 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1315 <colgroup>
1316 <col width="150px" class="parameters_name">
1317 <col class="parameters_description">
1318 <col width="200px" class="parameters_annotations">
1319 </colgroup>
1320 <tbody><tr>
1321 <td class="parameter_name"><p>face</p></td>
1322 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
1323 <td class="parameter_annotations"> </td>
1324 </tr></tbody>
1325 </table></div>
1326 </div>
1327 <div class="refsect3">
1328 <a name="hb-ot-layout-has-positioning.returns"></a><h4>Returns</h4>
1329 <p> <code class="literal">true</code> if the face has GPOS data, <code class="literal">false</code> otherwise</p>
1330 </div>
1331 </div>
1332 <hr>
1333 <div class="refsect2">
1334 <a name="hb-ot-layout-has-substitution"></a><h3>hb_ot_layout_has_substitution ()</h3>
1335 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1336 hb_ot_layout_has_substitution (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>);</pre>
1337 <p>Tests whether the specified face includes any GSUB substitutions.</p>
1338 <div class="refsect3">
1339 <a name="hb-ot-layout-has-substitution.parameters"></a><h4>Parameters</h4>
1340 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1341 <colgroup>
1342 <col width="150px" class="parameters_name">
1343 <col class="parameters_description">
1344 <col width="200px" class="parameters_annotations">
1345 </colgroup>
1346 <tbody><tr>
1347 <td class="parameter_name"><p>face</p></td>
1348 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
1349 <td class="parameter_annotations"> </td>
1350 </tr></tbody>
1351 </table></div>
1352 </div>
1353 <div class="refsect3">
1354 <a name="hb-ot-layout-has-substitution.returns"></a><h4>Returns</h4>
1355 <p> <code class="literal">true</code> if data found, <code class="literal">false</code> otherwise</p>
1356 </div>
1357 </div>
1358 <hr>
1359 <div class="refsect2">
1360 <a name="hb-ot-layout-language-find-feature"></a><h3>hb_ot_layout_language_find_feature ()</h3>
1361 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1362 hb_ot_layout_language_find_feature (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
1363                                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
1364                                     <em class="parameter"><code>unsigned <span class="type">int</span> script_index</code></em>,
1365                                     <em class="parameter"><code>unsigned <span class="type">int</span> language_index</code></em>,
1366                                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> feature_tag</code></em>,
1367                                     <em class="parameter"><code>unsigned <span class="type">int</span> *feature_index</code></em>);</pre>
1368 <p>Fetches the index of a given feature tag in the specified face's GSUB table
1369 or GPOS table, underneath the specified script and language.</p>
1370 <div class="refsect3">
1371 <a name="hb-ot-layout-language-find-feature.parameters"></a><h4>Parameters</h4>
1372 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1373 <colgroup>
1374 <col width="150px" class="parameters_name">
1375 <col class="parameters_description">
1376 <col width="200px" class="parameters_annotations">
1377 </colgroup>
1378 <tbody>
1379 <tr>
1380 <td class="parameter_name"><p>face</p></td>
1381 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
1382 <td class="parameter_annotations"> </td>
1383 </tr>
1384 <tr>
1385 <td class="parameter_name"><p>table_tag</p></td>
1386 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
1387 <td class="parameter_annotations"> </td>
1388 </tr>
1389 <tr>
1390 <td class="parameter_name"><p>script_index</p></td>
1391 <td class="parameter_description"><p>The index of the requested script tag</p></td>
1392 <td class="parameter_annotations"> </td>
1393 </tr>
1394 <tr>
1395 <td class="parameter_name"><p>language_index</p></td>
1396 <td class="parameter_description"><p>The index of the requested language tag</p></td>
1397 <td class="parameter_annotations"> </td>
1398 </tr>
1399 <tr>
1400 <td class="parameter_name"><p>feature_tag</p></td>
1401 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> of the feature tag requested</p></td>
1402 <td class="parameter_annotations"> </td>
1403 </tr>
1404 <tr>
1405 <td class="parameter_name"><p>feature_index</p></td>
1406 <td class="parameter_description"><p>The index of the requested feature. </p></td>
1407 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1408 </tr>
1409 </tbody>
1410 </table></div>
1411 </div>
1412 <div class="refsect3">
1413 <a name="hb-ot-layout-language-find-feature.returns"></a><h4>Returns</h4>
1414 <p> <code class="literal">true</code> if the feature is found, <code class="literal">false</code> otherwise</p>
1415 </div>
1416 </div>
1417 <hr>
1418 <div class="refsect2">
1419 <a name="hb-ot-layout-language-get-feature-indexes"></a><h3>hb_ot_layout_language_get_feature_indexes ()</h3>
1420 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
1421 hb_ot_layout_language_get_feature_indexes
1422                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
1423                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
1424                                 <em class="parameter"><code>unsigned <span class="type">int</span> script_index</code></em>,
1425                                 <em class="parameter"><code>unsigned <span class="type">int</span> language_index</code></em>,
1426                                 <em class="parameter"><code>unsigned <span class="type">int</span> start_offset</code></em>,
1427                                 <em class="parameter"><code>unsigned <span class="type">int</span> *feature_count</code></em>,
1428                                 <em class="parameter"><code>unsigned <span class="type">int</span> *feature_indexes</code></em>);</pre>
1429 <p>Fetches a list of all features in the specified face's GSUB table
1430 or GPOS table, underneath the specified script and language. The list
1431 returned will begin at the offset provided.</p>
1432 <div class="refsect3">
1433 <a name="hb-ot-layout-language-get-feature-indexes.parameters"></a><h4>Parameters</h4>
1434 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1435 <colgroup>
1436 <col width="150px" class="parameters_name">
1437 <col class="parameters_description">
1438 <col width="200px" class="parameters_annotations">
1439 </colgroup>
1440 <tbody>
1441 <tr>
1442 <td class="parameter_name"><p>face</p></td>
1443 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
1444 <td class="parameter_annotations"> </td>
1445 </tr>
1446 <tr>
1447 <td class="parameter_name"><p>table_tag</p></td>
1448 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
1449 <td class="parameter_annotations"> </td>
1450 </tr>
1451 <tr>
1452 <td class="parameter_name"><p>script_index</p></td>
1453 <td class="parameter_description"><p>The index of the requested script tag</p></td>
1454 <td class="parameter_annotations"> </td>
1455 </tr>
1456 <tr>
1457 <td class="parameter_name"><p>language_index</p></td>
1458 <td class="parameter_description"><p>The index of the requested language tag</p></td>
1459 <td class="parameter_annotations"> </td>
1460 </tr>
1461 <tr>
1462 <td class="parameter_name"><p>start_offset</p></td>
1463 <td class="parameter_description"><p>offset of the first feature tag to retrieve</p></td>
1464 <td class="parameter_annotations"> </td>
1465 </tr>
1466 <tr>
1467 <td class="parameter_name"><p>feature_count</p></td>
1468 <td class="parameter_description"><p>Input = the maximum number of feature tags to return;
1469 Output: the actual number of feature tags returned (may be zero). </p></td>
1470 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
1471 </tr>
1472 <tr>
1473 <td class="parameter_name"><p>feature_indexes</p></td>
1474 <td class="parameter_description"><p>The array of feature indexes found for the query. </p></td>
1475 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=feature_count]</span></td>
1476 </tr>
1477 </tbody>
1478 </table></div>
1479 </div>
1480 <div class="refsect3">
1481 <a name="hb-ot-layout-language-get-feature-indexes.returns"></a><h4>Returns</h4>
1482 <p> Total number of features.</p>
1483 </div>
1484 </div>
1485 <hr>
1486 <div class="refsect2">
1487 <a name="hb-ot-layout-language-get-feature-tags"></a><h3>hb_ot_layout_language_get_feature_tags ()</h3>
1488 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
1489 hb_ot_layout_language_get_feature_tags
1490                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
1491                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
1492                                 <em class="parameter"><code>unsigned <span class="type">int</span> script_index</code></em>,
1493                                 <em class="parameter"><code>unsigned <span class="type">int</span> language_index</code></em>,
1494                                 <em class="parameter"><code>unsigned <span class="type">int</span> start_offset</code></em>,
1495                                 <em class="parameter"><code>unsigned <span class="type">int</span> *feature_count</code></em>,
1496                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *feature_tags</code></em>);</pre>
1497 <p>Fetches a list of all features in the specified face's GSUB table
1498 or GPOS table, underneath the specified script and language. The list
1499 returned will begin at the offset provided.</p>
1500 <div class="refsect3">
1501 <a name="hb-ot-layout-language-get-feature-tags.parameters"></a><h4>Parameters</h4>
1502 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1503 <colgroup>
1504 <col width="150px" class="parameters_name">
1505 <col class="parameters_description">
1506 <col width="200px" class="parameters_annotations">
1507 </colgroup>
1508 <tbody>
1509 <tr>
1510 <td class="parameter_name"><p>face</p></td>
1511 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
1512 <td class="parameter_annotations"> </td>
1513 </tr>
1514 <tr>
1515 <td class="parameter_name"><p>table_tag</p></td>
1516 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
1517 <td class="parameter_annotations"> </td>
1518 </tr>
1519 <tr>
1520 <td class="parameter_name"><p>script_index</p></td>
1521 <td class="parameter_description"><p>The index of the requested script tag</p></td>
1522 <td class="parameter_annotations"> </td>
1523 </tr>
1524 <tr>
1525 <td class="parameter_name"><p>language_index</p></td>
1526 <td class="parameter_description"><p>The index of the requested language tag</p></td>
1527 <td class="parameter_annotations"> </td>
1528 </tr>
1529 <tr>
1530 <td class="parameter_name"><p>start_offset</p></td>
1531 <td class="parameter_description"><p>offset of the first feature tag to retrieve</p></td>
1532 <td class="parameter_annotations"> </td>
1533 </tr>
1534 <tr>
1535 <td class="parameter_name"><p>feature_count</p></td>
1536 <td class="parameter_description"><p>Input = the maximum number of feature tags to return;
1537 Output = the actual number of feature tags returned (may be zero). </p></td>
1538 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
1539 </tr>
1540 <tr>
1541 <td class="parameter_name"><p>feature_tags</p></td>
1542 <td class="parameter_description"><p>The array of <a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> feature tags found for the query. </p></td>
1543 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=feature_count]</span></td>
1544 </tr>
1545 </tbody>
1546 </table></div>
1547 </div>
1548 <div class="refsect3">
1549 <a name="hb-ot-layout-language-get-feature-tags.returns"></a><h4>Returns</h4>
1550 <p> Total number of feature tags.</p>
1551 </div>
1552 </div>
1553 <hr>
1554 <div class="refsect2">
1555 <a name="hb-ot-layout-language-get-required-feature"></a><h3>hb_ot_layout_language_get_required_feature ()</h3>
1556 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1557 hb_ot_layout_language_get_required_feature
1558                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
1559                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
1560                                 <em class="parameter"><code>unsigned <span class="type">int</span> script_index</code></em>,
1561                                 <em class="parameter"><code>unsigned <span class="type">int</span> language_index</code></em>,
1562                                 <em class="parameter"><code>unsigned <span class="type">int</span> *feature_index</code></em>,
1563                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *feature_tag</code></em>);</pre>
1564 <p>Fetches the tag of a requested feature index in the given face's GSUB or GPOS table,
1565 underneath the specified script and language.</p>
1566 <div class="refsect3">
1567 <a name="hb-ot-layout-language-get-required-feature.parameters"></a><h4>Parameters</h4>
1568 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1569 <colgroup>
1570 <col width="150px" class="parameters_name">
1571 <col class="parameters_description">
1572 <col width="200px" class="parameters_annotations">
1573 </colgroup>
1574 <tbody>
1575 <tr>
1576 <td class="parameter_name"><p>face</p></td>
1577 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
1578 <td class="parameter_annotations"> </td>
1579 </tr>
1580 <tr>
1581 <td class="parameter_name"><p>table_tag</p></td>
1582 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
1583 <td class="parameter_annotations"> </td>
1584 </tr>
1585 <tr>
1586 <td class="parameter_name"><p>script_index</p></td>
1587 <td class="parameter_description"><p>The index of the requested script tag</p></td>
1588 <td class="parameter_annotations"> </td>
1589 </tr>
1590 <tr>
1591 <td class="parameter_name"><p>language_index</p></td>
1592 <td class="parameter_description"><p>The index of the requested language tag</p></td>
1593 <td class="parameter_annotations"> </td>
1594 </tr>
1595 <tr>
1596 <td class="parameter_name"><p>feature_index</p></td>
1597 <td class="parameter_description"><p>The index of the requested feature. </p></td>
1598 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1599 </tr>
1600 <tr>
1601 <td class="parameter_name"><p>feature_tag</p></td>
1602 <td class="parameter_description"><p>The <a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> of the requested feature. </p></td>
1603 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1604 </tr>
1605 </tbody>
1606 </table></div>
1607 </div>
1608 <div class="refsect3">
1609 <a name="hb-ot-layout-language-get-required-feature.returns"></a><h4>Returns</h4>
1610 <p> <code class="literal">true</code> if the feature is found, <code class="literal">false</code> otherwise</p>
1611 </div>
1612 <p class="since">Since: <a class="link" href="api-index-0-9-30.html#api-index-0.9.30">0.9.30</a></p>
1613 </div>
1614 <hr>
1615 <div class="refsect2">
1616 <a name="hb-ot-layout-lookup-collect-glyphs"></a><h3>hb_ot_layout_lookup_collect_glyphs ()</h3>
1617 <pre class="programlisting"><span class="returnvalue">void</span>
1618 hb_ot_layout_lookup_collect_glyphs (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
1619                                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
1620                                     <em class="parameter"><code>unsigned <span class="type">int</span> lookup_index</code></em>,
1621                                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *glyphs_before</code></em>,
1622                                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *glyphs_input</code></em>,
1623                                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *glyphs_after</code></em>,
1624                                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *glyphs_output</code></em>);</pre>
1625 <p>Fetches a list of all glyphs affected by the specified lookup in the
1626 specified face's GSUB table or GPOS table.</p>
1627 <div class="refsect3">
1628 <a name="hb-ot-layout-lookup-collect-glyphs.parameters"></a><h4>Parameters</h4>
1629 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1630 <colgroup>
1631 <col width="150px" class="parameters_name">
1632 <col class="parameters_description">
1633 <col width="200px" class="parameters_annotations">
1634 </colgroup>
1635 <tbody>
1636 <tr>
1637 <td class="parameter_name"><p>face</p></td>
1638 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
1639 <td class="parameter_annotations"> </td>
1640 </tr>
1641 <tr>
1642 <td class="parameter_name"><p>table_tag</p></td>
1643 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
1644 <td class="parameter_annotations"> </td>
1645 </tr>
1646 <tr>
1647 <td class="parameter_name"><p>lookup_index</p></td>
1648 <td class="parameter_description"><p>The index of the feature lookup to query</p></td>
1649 <td class="parameter_annotations"> </td>
1650 </tr>
1651 <tr>
1652 <td class="parameter_name"><p>glyphs_before</p></td>
1653 <td class="parameter_description"><p>Array of glyphs preceding the substitution range. </p></td>
1654 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1655 </tr>
1656 <tr>
1657 <td class="parameter_name"><p>glyphs_input</p></td>
1658 <td class="parameter_description"><p>Array of input glyphs that would be substituted by the lookup. </p></td>
1659 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1660 </tr>
1661 <tr>
1662 <td class="parameter_name"><p>glyphs_after</p></td>
1663 <td class="parameter_description"><p>Array of glyphs following the substitution range. </p></td>
1664 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1665 </tr>
1666 <tr>
1667 <td class="parameter_name"><p>glyphs_output</p></td>
1668 <td class="parameter_description"><p>Array of glyphs that would be the substituted output of the lookup. </p></td>
1669 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1670 </tr>
1671 </tbody>
1672 </table></div>
1673 </div>
1674 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
1675 </div>
1676 <hr>
1677 <div class="refsect2">
1678 <a name="hb-ot-layout-lookup-get-glyph-alternates"></a><h3>hb_ot_layout_lookup_get_glyph_alternates ()</h3>
1679 <pre class="programlisting"><span class="returnvalue">unsigned</span>
1680 hb_ot_layout_lookup_get_glyph_alternates
1681                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
1682                                 <em class="parameter"><code><span class="type">unsigned </span> lookup_index</code></em>,
1683                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1684                                 <em class="parameter"><code><span class="type">unsigned </span> start_offset</code></em>,
1685                                 <em class="parameter"><code><span class="type">unsigned</span> *alternate_count</code></em>,
1686                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *alternate_glyphs</code></em>);</pre>
1687 <p>Fetches alternates of a glyph from a given GSUB lookup index.</p>
1688 <div class="refsect3">
1689 <a name="hb-ot-layout-lookup-get-glyph-alternates.parameters"></a><h4>Parameters</h4>
1690 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1691 <colgroup>
1692 <col width="150px" class="parameters_name">
1693 <col class="parameters_description">
1694 <col width="200px" class="parameters_annotations">
1695 </colgroup>
1696 <tbody>
1697 <tr>
1698 <td class="parameter_name"><p>face</p></td>
1699 <td class="parameter_description"><p>a face.</p></td>
1700 <td class="parameter_annotations"> </td>
1701 </tr>
1702 <tr>
1703 <td class="parameter_name"><p>lookup_index</p></td>
1704 <td class="parameter_description"><p>index of the feature lookup to query.</p></td>
1705 <td class="parameter_annotations"> </td>
1706 </tr>
1707 <tr>
1708 <td class="parameter_name"><p>glyph</p></td>
1709 <td class="parameter_description"><p>a glyph id.</p></td>
1710 <td class="parameter_annotations"> </td>
1711 </tr>
1712 <tr>
1713 <td class="parameter_name"><p>start_offset</p></td>
1714 <td class="parameter_description"><p>starting offset.</p></td>
1715 <td class="parameter_annotations"> </td>
1716 </tr>
1717 <tr>
1718 <td class="parameter_name"><p>alternate_count</p></td>
1719 <td class="parameter_description"><p>Input = the maximum number of alternate glyphs to return;
1720 Output = the actual number of alternate glyphs returned (may be zero). </p></td>
1721 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
1722 </tr>
1723 <tr>
1724 <td class="parameter_name"><p>alternate_glyphs</p></td>
1725 <td class="parameter_description"><p>A glyphs buffer.
1726 Alternate glyphs associated with the glyph id. </p></td>
1727 <td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=alternate_count]</span></td>
1728 </tr>
1729 </tbody>
1730 </table></div>
1731 </div>
1732 <div class="refsect3">
1733 <a name="hb-ot-layout-lookup-get-glyph-alternates.returns"></a><h4>Returns</h4>
1734 <p> Total number of alternates found in the specific lookup index for the given glyph id.</p>
1735 </div>
1736 <p class="since">Since: <a class="link" href="api-index-2-6-8.html#api-index-2.6.8">2.6.8</a></p>
1737 </div>
1738 <hr>
1739 <div class="refsect2">
1740 <a name="hb-ot-layout-lookup-substitute-closure"></a><h3>hb_ot_layout_lookup_substitute_closure ()</h3>
1741 <pre class="programlisting"><span class="returnvalue">void</span>
1742 hb_ot_layout_lookup_substitute_closure
1743                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
1744                                 <em class="parameter"><code>unsigned <span class="type">int</span> lookup_index</code></em>,
1745                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *glyphs</code></em>);</pre>
1746 <p>Compute the transitive closure of glyphs needed for a
1747 specified lookup.</p>
1748 <div class="refsect3">
1749 <a name="hb-ot-layout-lookup-substitute-closure.parameters"></a><h4>Parameters</h4>
1750 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1751 <colgroup>
1752 <col width="150px" class="parameters_name">
1753 <col class="parameters_description">
1754 <col width="200px" class="parameters_annotations">
1755 </colgroup>
1756 <tbody>
1757 <tr>
1758 <td class="parameter_name"><p>face</p></td>
1759 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
1760 <td class="parameter_annotations"> </td>
1761 </tr>
1762 <tr>
1763 <td class="parameter_name"><p>lookup_index</p></td>
1764 <td class="parameter_description"><p>index of the feature lookup to query</p></td>
1765 <td class="parameter_annotations"> </td>
1766 </tr>
1767 <tr>
1768 <td class="parameter_name"><p>glyphs</p></td>
1769 <td class="parameter_description"><p>Array of glyphs comprising the transitive closure of the lookup. </p></td>
1770 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1771 </tr>
1772 </tbody>
1773 </table></div>
1774 </div>
1775 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
1776 </div>
1777 <hr>
1778 <div class="refsect2">
1779 <a name="hb-ot-layout-lookups-substitute-closure"></a><h3>hb_ot_layout_lookups_substitute_closure ()</h3>
1780 <pre class="programlisting"><span class="returnvalue">void</span>
1781 hb_ot_layout_lookups_substitute_closure
1782                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
1783                                 <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *lookups</code></em>,
1784                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *glyphs</code></em>);</pre>
1785 <p>Compute the transitive closure of glyphs needed for all of the
1786 provided lookups.</p>
1787 <div class="refsect3">
1788 <a name="hb-ot-layout-lookups-substitute-closure.parameters"></a><h4>Parameters</h4>
1789 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1790 <colgroup>
1791 <col width="150px" class="parameters_name">
1792 <col class="parameters_description">
1793 <col width="200px" class="parameters_annotations">
1794 </colgroup>
1795 <tbody>
1796 <tr>
1797 <td class="parameter_name"><p>face</p></td>
1798 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
1799 <td class="parameter_annotations"> </td>
1800 </tr>
1801 <tr>
1802 <td class="parameter_name"><p>lookups</p></td>
1803 <td class="parameter_description"><p>The set of lookups to query</p></td>
1804 <td class="parameter_annotations"> </td>
1805 </tr>
1806 <tr>
1807 <td class="parameter_name"><p>glyphs</p></td>
1808 <td class="parameter_description"><p>Array of glyphs comprising the transitive closure of the lookups. </p></td>
1809 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1810 </tr>
1811 </tbody>
1812 </table></div>
1813 </div>
1814 <p class="since">Since: <a class="link" href="api-index-1-8-1.html#api-index-1.8.1">1.8.1</a></p>
1815 </div>
1816 <hr>
1817 <div class="refsect2">
1818 <a name="hb-ot-layout-lookup-would-substitute"></a><h3>hb_ot_layout_lookup_would_substitute ()</h3>
1819 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1820 hb_ot_layout_lookup_would_substitute (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
1821                                       <em class="parameter"><code>unsigned <span class="type">int</span> lookup_index</code></em>,
1822                                       <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *glyphs</code></em>,
1823                                       <em class="parameter"><code>unsigned <span class="type">int</span> glyphs_length</code></em>,
1824                                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="type">hb_bool_t</span></a> zero_context</code></em>);</pre>
1825 <p>Tests whether a specified lookup in the specified face would
1826 trigger a substitution on the given glyph sequence.</p>
1827 <div class="refsect3">
1828 <a name="hb-ot-layout-lookup-would-substitute.parameters"></a><h4>Parameters</h4>
1829 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1830 <colgroup>
1831 <col width="150px" class="parameters_name">
1832 <col class="parameters_description">
1833 <col width="200px" class="parameters_annotations">
1834 </colgroup>
1835 <tbody>
1836 <tr>
1837 <td class="parameter_name"><p>face</p></td>
1838 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
1839 <td class="parameter_annotations"> </td>
1840 </tr>
1841 <tr>
1842 <td class="parameter_name"><p>lookup_index</p></td>
1843 <td class="parameter_description"><p>The index of the lookup to query</p></td>
1844 <td class="parameter_annotations"> </td>
1845 </tr>
1846 <tr>
1847 <td class="parameter_name"><p>glyphs</p></td>
1848 <td class="parameter_description"><p>The sequence of glyphs to query for substitution</p></td>
1849 <td class="parameter_annotations"> </td>
1850 </tr>
1851 <tr>
1852 <td class="parameter_name"><p>glyphs_length</p></td>
1853 <td class="parameter_description"><p>The length of the glyph sequence</p></td>
1854 <td class="parameter_annotations"> </td>
1855 </tr>
1856 <tr>
1857 <td class="parameter_name"><p>zero_context</p></td>
1858 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="type">hb_bool_t</span></a> indicating whether pre-/post-context are disallowed
1859 in substitutions</p></td>
1860 <td class="parameter_annotations"> </td>
1861 </tr>
1862 </tbody>
1863 </table></div>
1864 </div>
1865 <div class="refsect3">
1866 <a name="hb-ot-layout-lookup-would-substitute.returns"></a><h4>Returns</h4>
1867 <p> <code class="literal">true</code> if a substitution would be triggered, <code class="literal">false</code> otherwise</p>
1868 </div>
1869 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
1870 </div>
1871 <hr>
1872 <div class="refsect2">
1873 <a name="hb-ot-layout-script-get-language-tags"></a><h3>hb_ot_layout_script_get_language_tags ()</h3>
1874 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
1875 hb_ot_layout_script_get_language_tags (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
1876                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
1877                                        <em class="parameter"><code>unsigned <span class="type">int</span> script_index</code></em>,
1878                                        <em class="parameter"><code>unsigned <span class="type">int</span> start_offset</code></em>,
1879                                        <em class="parameter"><code>unsigned <span class="type">int</span> *language_count</code></em>,
1880                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *language_tags</code></em>);</pre>
1881 <p>Fetches a list of language tags in the given face's GSUB or GPOS table, underneath
1882 the specified script index. The list returned will begin at the offset provided.</p>
1883 <div class="refsect3">
1884 <a name="hb-ot-layout-script-get-language-tags.parameters"></a><h4>Parameters</h4>
1885 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1886 <colgroup>
1887 <col width="150px" class="parameters_name">
1888 <col class="parameters_description">
1889 <col width="200px" class="parameters_annotations">
1890 </colgroup>
1891 <tbody>
1892 <tr>
1893 <td class="parameter_name"><p>face</p></td>
1894 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
1895 <td class="parameter_annotations"> </td>
1896 </tr>
1897 <tr>
1898 <td class="parameter_name"><p>table_tag</p></td>
1899 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
1900 <td class="parameter_annotations"> </td>
1901 </tr>
1902 <tr>
1903 <td class="parameter_name"><p>script_index</p></td>
1904 <td class="parameter_description"><p>The index of the requested script tag</p></td>
1905 <td class="parameter_annotations"> </td>
1906 </tr>
1907 <tr>
1908 <td class="parameter_name"><p>start_offset</p></td>
1909 <td class="parameter_description"><p>offset of the first language tag to retrieve</p></td>
1910 <td class="parameter_annotations"> </td>
1911 </tr>
1912 <tr>
1913 <td class="parameter_name"><p>language_count</p></td>
1914 <td class="parameter_description"><p>Input = the maximum number of language tags to return;
1915 Output = the actual number of language tags returned (may be zero). </p></td>
1916 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
1917 </tr>
1918 <tr>
1919 <td class="parameter_name"><p>language_tags</p></td>
1920 <td class="parameter_description"><p>Array of language tags found in the table. </p></td>
1921 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=language_count]</span></td>
1922 </tr>
1923 </tbody>
1924 </table></div>
1925 </div>
1926 <div class="refsect3">
1927 <a name="hb-ot-layout-script-get-language-tags.returns"></a><h4>Returns</h4>
1928 <p> Total number of language tags.</p>
1929 </div>
1930 </div>
1931 <hr>
1932 <div class="refsect2">
1933 <a name="hb-ot-layout-script-select-language"></a><h3>hb_ot_layout_script_select_language ()</h3>
1934 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1935 hb_ot_layout_script_select_language (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
1936                                      <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
1937                                      <em class="parameter"><code>unsigned <span class="type">int</span> script_index</code></em>,
1938                                      <em class="parameter"><code>unsigned <span class="type">int</span> language_count</code></em>,
1939                                      <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *language_tags</code></em>,
1940                                      <em class="parameter"><code>unsigned <span class="type">int</span> *language_index</code></em>);</pre>
1941 <p>Fetches the index of the first language tag fom <em class="parameter"><code>language_tags</code></em>
1942  that is present
1943 in the specified face's GSUB or GPOS table, underneath the specified script
1944 index.</p>
1945 <p>If none of the given language tags is found, <code class="literal">false</code> is returned and
1946 <em class="parameter"><code>language_index</code></em>
1947  is set to the default language index.</p>
1948 <div class="refsect3">
1949 <a name="hb-ot-layout-script-select-language.parameters"></a><h4>Parameters</h4>
1950 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1951 <colgroup>
1952 <col width="150px" class="parameters_name">
1953 <col class="parameters_description">
1954 <col width="200px" class="parameters_annotations">
1955 </colgroup>
1956 <tbody>
1957 <tr>
1958 <td class="parameter_name"><p>face</p></td>
1959 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
1960 <td class="parameter_annotations"> </td>
1961 </tr>
1962 <tr>
1963 <td class="parameter_name"><p>table_tag</p></td>
1964 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
1965 <td class="parameter_annotations"> </td>
1966 </tr>
1967 <tr>
1968 <td class="parameter_name"><p>script_index</p></td>
1969 <td class="parameter_description"><p>The index of the requested script tag</p></td>
1970 <td class="parameter_annotations"> </td>
1971 </tr>
1972 <tr>
1973 <td class="parameter_name"><p>language_count</p></td>
1974 <td class="parameter_description"><p>The number of languages in the specified script</p></td>
1975 <td class="parameter_annotations"> </td>
1976 </tr>
1977 <tr>
1978 <td class="parameter_name"><p>language_tags</p></td>
1979 <td class="parameter_description"><p>The array of language tags</p></td>
1980 <td class="parameter_annotations"> </td>
1981 </tr>
1982 <tr>
1983 <td class="parameter_name"><p>language_index</p></td>
1984 <td class="parameter_description"><p>The index of the requested language. </p></td>
1985 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1986 </tr>
1987 </tbody>
1988 </table></div>
1989 </div>
1990 <div class="refsect3">
1991 <a name="hb-ot-layout-script-select-language.returns"></a><h4>Returns</h4>
1992 <p> <code class="literal">true</code> if one of the given language tags is found, <code class="literal">false</code> otherwise</p>
1993 </div>
1994 <p class="since">Since: <a class="link" href="api-index-2-0-0.html#api-index-2.0.0">2.0.0</a></p>
1995 </div>
1996 <hr>
1997 <div class="refsect2">
1998 <a name="hb-ot-layout-table-find-feature-variations"></a><h3>hb_ot_layout_table_find_feature_variations ()</h3>
1999 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
2000 hb_ot_layout_table_find_feature_variations
2001                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
2002                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
2003                                 <em class="parameter"><code>const <span class="type">int</span> *coords</code></em>,
2004                                 <em class="parameter"><code>unsigned <span class="type">int</span> num_coords</code></em>,
2005                                 <em class="parameter"><code>unsigned <span class="type">int</span> *variations_index</code></em>);</pre>
2006 <p>Fetches a list of feature variations in the specified face's GSUB table
2007 or GPOS table, at the specified variation coordinates.</p>
2008 <div class="refsect3">
2009 <a name="hb-ot-layout-table-find-feature-variations.parameters"></a><h4>Parameters</h4>
2010 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2011 <colgroup>
2012 <col width="150px" class="parameters_name">
2013 <col class="parameters_description">
2014 <col width="200px" class="parameters_annotations">
2015 </colgroup>
2016 <tbody>
2017 <tr>
2018 <td class="parameter_name"><p>face</p></td>
2019 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
2020 <td class="parameter_annotations"> </td>
2021 </tr>
2022 <tr>
2023 <td class="parameter_name"><p>table_tag</p></td>
2024 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
2025 <td class="parameter_annotations"> </td>
2026 </tr>
2027 <tr>
2028 <td class="parameter_name"><p>coords</p></td>
2029 <td class="parameter_description"><p>The variation coordinates to query</p></td>
2030 <td class="parameter_annotations"> </td>
2031 </tr>
2032 <tr>
2033 <td class="parameter_name"><p>num_coords</p></td>
2034 <td class="parameter_description"><p>The number of variation coordinates</p></td>
2035 <td class="parameter_annotations"> </td>
2036 </tr>
2037 <tr>
2038 <td class="parameter_name"><p>variations_index</p></td>
2039 <td class="parameter_description"><p>The array of feature variations found for the query. </p></td>
2040 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2041 </tr>
2042 </tbody>
2043 </table></div>
2044 </div>
2045 <div class="refsect3">
2046 <a name="hb-ot-layout-table-find-feature-variations.returns"></a><h4>Returns</h4>
2047 <p> <code class="literal">true</code> if feature variations were found, <code class="literal">false</code> otherwise.</p>
2048 </div>
2049 </div>
2050 <hr>
2051 <div class="refsect2">
2052 <a name="hb-ot-layout-table-get-feature-tags"></a><h3>hb_ot_layout_table_get_feature_tags ()</h3>
2053 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
2054 hb_ot_layout_table_get_feature_tags (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
2055                                      <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
2056                                      <em class="parameter"><code>unsigned <span class="type">int</span> start_offset</code></em>,
2057                                      <em class="parameter"><code>unsigned <span class="type">int</span> *feature_count</code></em>,
2058                                      <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *feature_tags</code></em>);</pre>
2059 <p>Fetches a list of all feature tags in the given face's GSUB or GPOS table.</p>
2060 <div class="refsect3">
2061 <a name="hb-ot-layout-table-get-feature-tags.parameters"></a><h4>Parameters</h4>
2062 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2063 <colgroup>
2064 <col width="150px" class="parameters_name">
2065 <col class="parameters_description">
2066 <col width="200px" class="parameters_annotations">
2067 </colgroup>
2068 <tbody>
2069 <tr>
2070 <td class="parameter_name"><p>face</p></td>
2071 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
2072 <td class="parameter_annotations"> </td>
2073 </tr>
2074 <tr>
2075 <td class="parameter_name"><p>table_tag</p></td>
2076 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
2077 <td class="parameter_annotations"> </td>
2078 </tr>
2079 <tr>
2080 <td class="parameter_name"><p>start_offset</p></td>
2081 <td class="parameter_description"><p>offset of the first feature tag to retrieve</p></td>
2082 <td class="parameter_annotations"> </td>
2083 </tr>
2084 <tr>
2085 <td class="parameter_name"><p>feature_count</p></td>
2086 <td class="parameter_description"><p>Input = the maximum number of feature tags to return;
2087 Output = the actual number of feature tags returned (may be zero). </p></td>
2088 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
2089 </tr>
2090 <tr>
2091 <td class="parameter_name"><p>feature_tags</p></td>
2092 <td class="parameter_description"><p>Array of feature tags found in the table. </p></td>
2093 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=feature_count]</span></td>
2094 </tr>
2095 </tbody>
2096 </table></div>
2097 </div>
2098 <div class="refsect3">
2099 <a name="hb-ot-layout-table-get-feature-tags.returns"></a><h4>Returns</h4>
2100 <p> Total number of feature tags.</p>
2101 </div>
2102 </div>
2103 <hr>
2104 <div class="refsect2">
2105 <a name="hb-ot-layout-table-get-script-tags"></a><h3>hb_ot_layout_table_get_script_tags ()</h3>
2106 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
2107 hb_ot_layout_table_get_script_tags (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
2108                                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
2109                                     <em class="parameter"><code>unsigned <span class="type">int</span> start_offset</code></em>,
2110                                     <em class="parameter"><code>unsigned <span class="type">int</span> *script_count</code></em>,
2111                                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *script_tags</code></em>);</pre>
2112 <p>Fetches a list of all scripts enumerated in the specified face's GSUB table
2113 or GPOS table. The list returned will begin at the offset provided.</p>
2114 <div class="refsect3">
2115 <a name="hb-ot-layout-table-get-script-tags.parameters"></a><h4>Parameters</h4>
2116 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2117 <colgroup>
2118 <col width="150px" class="parameters_name">
2119 <col class="parameters_description">
2120 <col width="200px" class="parameters_annotations">
2121 </colgroup>
2122 <tbody>
2123 <tr>
2124 <td class="parameter_name"><p>face</p></td>
2125 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
2126 <td class="parameter_annotations"> </td>
2127 </tr>
2128 <tr>
2129 <td class="parameter_name"><p>table_tag</p></td>
2130 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
2131 <td class="parameter_annotations"> </td>
2132 </tr>
2133 <tr>
2134 <td class="parameter_name"><p>start_offset</p></td>
2135 <td class="parameter_description"><p>offset of the first script tag to retrieve</p></td>
2136 <td class="parameter_annotations"> </td>
2137 </tr>
2138 <tr>
2139 <td class="parameter_name"><p>script_count</p></td>
2140 <td class="parameter_description"><p>Input = the maximum number of script tags to return;
2141 Output = the actual number of script tags returned (may be zero). </p></td>
2142 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
2143 </tr>
2144 <tr>
2145 <td class="parameter_name"><p>script_tags</p></td>
2146 <td class="parameter_description"><p>The array of <a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> script tags found for the query. </p></td>
2147 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=script_count]</span></td>
2148 </tr>
2149 </tbody>
2150 </table></div>
2151 </div>
2152 <div class="refsect3">
2153 <a name="hb-ot-layout-table-get-script-tags.returns"></a><h4>Returns</h4>
2154 <p> Total number of script tags.</p>
2155 </div>
2156 </div>
2157 <hr>
2158 <div class="refsect2">
2159 <a name="hb-ot-layout-table-get-lookup-count"></a><h3>hb_ot_layout_table_get_lookup_count ()</h3>
2160 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
2161 hb_ot_layout_table_get_lookup_count (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
2162                                      <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>);</pre>
2163 <p>Fetches the total number of lookups enumerated in the specified
2164 face's GSUB table or GPOS table.</p>
2165 <div class="refsect3">
2166 <a name="hb-ot-layout-table-get-lookup-count.parameters"></a><h4>Parameters</h4>
2167 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2168 <colgroup>
2169 <col width="150px" class="parameters_name">
2170 <col class="parameters_description">
2171 <col width="200px" class="parameters_annotations">
2172 </colgroup>
2173 <tbody>
2174 <tr>
2175 <td class="parameter_name"><p>face</p></td>
2176 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
2177 <td class="parameter_annotations"> </td>
2178 </tr>
2179 <tr>
2180 <td class="parameter_name"><p>table_tag</p></td>
2181 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
2182 <td class="parameter_annotations"> </td>
2183 </tr>
2184 </tbody>
2185 </table></div>
2186 </div>
2187 <div class="refsect3">
2188 <a name="hb-ot-layout-table-get-lookup-count.returns"></a><h4>Returns</h4>
2189 <p> Total number of lookups.</p>
2190 </div>
2191 <p class="since">Since: <a class="link" href="api-index-0-9-22.html#api-index-0.9.22">0.9.22</a></p>
2192 </div>
2193 <hr>
2194 <div class="refsect2">
2195 <a name="hb-ot-layout-table-select-script"></a><h3>hb_ot_layout_table_select_script ()</h3>
2196 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
2197 hb_ot_layout_table_select_script (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
2198                                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
2199                                   <em class="parameter"><code>unsigned <span class="type">int</span> script_count</code></em>,
2200                                   <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *script_tags</code></em>,
2201                                   <em class="parameter"><code>unsigned <span class="type">int</span> *script_index</code></em>,
2202                                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> *chosen_script</code></em>);</pre>
2203 <p>Selects an OpenType script for <em class="parameter"><code>table_tag</code></em>
2204  from the <em class="parameter"><code>script_tags</code></em>
2205  array.</p>
2206 <p>If the table does not have any of the requested scripts, then <code class="literal">DFLT</code>,
2207 <code class="literal">dflt</code>, and <code class="literal">latn</code> tags are tried in that order. If the table still does not
2208 have any of these scripts, <em class="parameter"><code>script_index</code></em>
2209  and <em class="parameter"><code>chosen_script</code></em>
2210  are set to
2211 <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-LAYOUT-NO-SCRIPT-INDEX:CAPS" title="HB_OT_LAYOUT_NO_SCRIPT_INDEX"><span class="type">HB_OT_LAYOUT_NO_SCRIPT_INDEX</span></a>.</p>
2212 <div class="refsect3">
2213 <a name="hb-ot-layout-table-select-script.parameters"></a><h4>Parameters</h4>
2214 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2215 <colgroup>
2216 <col width="150px" class="parameters_name">
2217 <col class="parameters_description">
2218 <col width="200px" class="parameters_annotations">
2219 </colgroup>
2220 <tbody>
2221 <tr>
2222 <td class="parameter_name"><p>face</p></td>
2223 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
2224 <td class="parameter_annotations"> </td>
2225 </tr>
2226 <tr>
2227 <td class="parameter_name"><p>table_tag</p></td>
2228 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
2229 <td class="parameter_annotations"> </td>
2230 </tr>
2231 <tr>
2232 <td class="parameter_name"><p>script_count</p></td>
2233 <td class="parameter_description"><p>Number of script tags in the array</p></td>
2234 <td class="parameter_annotations"> </td>
2235 </tr>
2236 <tr>
2237 <td class="parameter_name"><p>script_tags</p></td>
2238 <td class="parameter_description"><p>Array of <a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> script tags</p></td>
2239 <td class="parameter_annotations"> </td>
2240 </tr>
2241 <tr>
2242 <td class="parameter_name"><p>script_index</p></td>
2243 <td class="parameter_description"><p>The index of the requested script. </p></td>
2244 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
2245 </tr>
2246 <tr>
2247 <td class="parameter_name"><p>chosen_script</p></td>
2248 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> of the requested script. </p></td>
2249 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
2250 </tr>
2251 </tbody>
2252 </table></div>
2253 </div>
2254 <div class="refsect3">
2255 <a name="hb-ot-layout-table-select-script.returns"></a><h4>Returns</h4>
2256 <p><code class="literal">true</code> if one of the requested scripts is selected, <code class="literal">false</code> if a fallback
2257 script is selected or if no scripts are selected.</p>
2258 </div>
2259 <p class="since">Since: <a class="link" href="api-index-2-0-0.html#api-index-2.0.0">2.0.0</a></p>
2260 </div>
2261 <hr>
2262 <div class="refsect2">
2263 <a name="hb-ot-shape-plan-collect-lookups"></a><h3>hb_ot_shape_plan_collect_lookups ()</h3>
2264 <pre class="programlisting"><span class="returnvalue">void</span>
2265 hb_ot_shape_plan_collect_lookups (<em class="parameter"><code><a class="link" href="harfbuzz-hb-shape-plan.html#hb-shape-plan-t" title="hb_shape_plan_t"><span class="type">hb_shape_plan_t</span></a> *shape_plan</code></em>,
2266                                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
2267                                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *lookup_indexes</code></em>);</pre>
2268 <p>Computes the complete set of GSUB or GPOS lookups that are applicable
2269 under a given <em class="parameter"><code>shape_plan</code></em>
2270 .</p>
2271 <div class="refsect3">
2272 <a name="hb-ot-shape-plan-collect-lookups.parameters"></a><h4>Parameters</h4>
2273 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2274 <colgroup>
2275 <col width="150px" class="parameters_name">
2276 <col class="parameters_description">
2277 <col width="200px" class="parameters_annotations">
2278 </colgroup>
2279 <tbody>
2280 <tr>
2281 <td class="parameter_name"><p>shape_plan</p></td>
2282 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-shape-plan.html#hb-shape-plan-t" title="hb_shape_plan_t"><span class="type">hb_shape_plan_t</span></a> to query</p></td>
2283 <td class="parameter_annotations"> </td>
2284 </tr>
2285 <tr>
2286 <td class="parameter_name"><p>table_tag</p></td>
2287 <td class="parameter_description"><p>GSUB or GPOS</p></td>
2288 <td class="parameter_annotations"> </td>
2289 </tr>
2290 <tr>
2291 <td class="parameter_name"><p>lookup_indexes</p></td>
2292 <td class="parameter_description"><p>The <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> set of lookups returned. </p></td>
2293 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2294 </tr>
2295 </tbody>
2296 </table></div>
2297 </div>
2298 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
2299 </div>
2300 <hr>
2301 <div class="refsect2">
2302 <a name="hb-ot-layout-language-get-required-feature-index"></a><h3>hb_ot_layout_language_get_required_feature_index ()</h3>
2303 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
2304 hb_ot_layout_language_get_required_feature_index
2305                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
2306                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> table_tag</code></em>,
2307                                 <em class="parameter"><code>unsigned <span class="type">int</span> script_index</code></em>,
2308                                 <em class="parameter"><code>unsigned <span class="type">int</span> language_index</code></em>,
2309                                 <em class="parameter"><code>unsigned <span class="type">int</span> *feature_index</code></em>);</pre>
2310 <p>Fetches the index of a requested feature in the given face's GSUB or GPOS table,
2311 underneath the specified script and language.</p>
2312 <div class="refsect3">
2313 <a name="hb-ot-layout-language-get-required-feature-index.parameters"></a><h4>Parameters</h4>
2314 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2315 <colgroup>
2316 <col width="150px" class="parameters_name">
2317 <col class="parameters_description">
2318 <col width="200px" class="parameters_annotations">
2319 </colgroup>
2320 <tbody>
2321 <tr>
2322 <td class="parameter_name"><p>face</p></td>
2323 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
2324 <td class="parameter_annotations"> </td>
2325 </tr>
2326 <tr>
2327 <td class="parameter_name"><p>table_tag</p></td>
2328 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
2329 <td class="parameter_annotations"> </td>
2330 </tr>
2331 <tr>
2332 <td class="parameter_name"><p>script_index</p></td>
2333 <td class="parameter_description"><p>The index of the requested script tag</p></td>
2334 <td class="parameter_annotations"> </td>
2335 </tr>
2336 <tr>
2337 <td class="parameter_name"><p>language_index</p></td>
2338 <td class="parameter_description"><p>The index of the requested language tag</p></td>
2339 <td class="parameter_annotations"> </td>
2340 </tr>
2341 <tr>
2342 <td class="parameter_name"><p>feature_index</p></td>
2343 <td class="parameter_description"><p>The index of the requested feature. </p></td>
2344 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2345 </tr>
2346 </tbody>
2347 </table></div>
2348 </div>
2349 <div class="refsect3">
2350 <a name="hb-ot-layout-language-get-required-feature-index.returns"></a><h4>Returns</h4>
2351 <p> <code class="literal">true</code> if the feature is found, <code class="literal">false</code> otherwise</p>
2352 </div>
2353 </div>
2354 </div>
2355 <div class="refsect1">
2356 <a name="harfbuzz-hb-ot-layout.other_details"></a><h2>Types and Values</h2>
2357 <div class="refsect2">
2358 <a name="HB-OT-MAX-TAGS-PER-LANGUAGE:CAPS"></a><h3>HB_OT_MAX_TAGS_PER_LANGUAGE</h3>
2359 <pre class="programlisting">#define HB_OT_MAX_TAGS_PER_LANGUAGE 3u
2360 </pre>
2361 <p>Maximum number of OpenType tags that can correspond to a give <a class="link" href="harfbuzz-hb-common.html#hb-language-t" title="hb_language_t"><span class="type">hb_language_t</span></a>.</p>
2362 <p class="since">Since: <a class="link" href="api-index-2-0-0.html#api-index-2.0.0">2.0.0</a></p>
2363 </div>
2364 <hr>
2365 <div class="refsect2">
2366 <a name="HB-OT-MAX-TAGS-PER-SCRIPT:CAPS"></a><h3>HB_OT_MAX_TAGS_PER_SCRIPT</h3>
2367 <pre class="programlisting">#define HB_OT_MAX_TAGS_PER_SCRIPT 3u
2368 </pre>
2369 <p>Maximum number of OpenType tags that can correspond to a give <a class="link" href="harfbuzz-hb-common.html#hb-script-t" title="enum hb_script_t"><span class="type">hb_script_t</span></a>.</p>
2370 <p class="since">Since: <a class="link" href="api-index-2-0-0.html#api-index-2.0.0">2.0.0</a></p>
2371 </div>
2372 <hr>
2373 <div class="refsect2">
2374 <a name="HB-OT-TAG-DEFAULT-LANGUAGE:CAPS"></a><h3>HB_OT_TAG_DEFAULT_LANGUAGE</h3>
2375 <pre class="programlisting">#define HB_OT_TAG_DEFAULT_LANGUAGE HB_TAG ('d', 'f', 'l', 't')
2376 </pre>
2377 <p>OpenType language tag, <code class="literal">dflt</code>. Not a valid language tag, but some fonts
2378 mistakenly use it.</p>
2379 </div>
2380 <hr>
2381 <div class="refsect2">
2382 <a name="HB-OT-TAG-DEFAULT-SCRIPT:CAPS"></a><h3>HB_OT_TAG_DEFAULT_SCRIPT</h3>
2383 <pre class="programlisting">#define HB_OT_TAG_DEFAULT_SCRIPT HB_TAG ('D', 'F', 'L', 'T')
2384 </pre>
2385 <p>OpenType script tag, <code class="literal">DFLT</code>, for features that are not script-specific.</p>
2386 </div>
2387 <hr>
2388 <div class="refsect2">
2389 <a name="HB-OT-LAYOUT-DEFAULT-LANGUAGE-INDEX:CAPS"></a><h3>HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX</h3>
2390 <pre class="programlisting">#define HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX 0xFFFFu
2391 </pre>
2392 <p>Special value for language index indicating default or unsupported language.</p>
2393 </div>
2394 <hr>
2395 <div class="refsect2">
2396 <a name="HB-OT-LAYOUT-NO-FEATURE-INDEX:CAPS"></a><h3>HB_OT_LAYOUT_NO_FEATURE_INDEX</h3>
2397 <pre class="programlisting">#define HB_OT_LAYOUT_NO_FEATURE_INDEX               0xFFFFu
2398 </pre>
2399 <p>Special value for feature index indicating unsupported feature.</p>
2400 </div>
2401 <hr>
2402 <div class="refsect2">
2403 <a name="HB-OT-LAYOUT-NO-SCRIPT-INDEX:CAPS"></a><h3>HB_OT_LAYOUT_NO_SCRIPT_INDEX</h3>
2404 <pre class="programlisting">#define HB_OT_LAYOUT_NO_SCRIPT_INDEX                0xFFFFu
2405 </pre>
2406 <p>Special value for script index indicating unsupported script.</p>
2407 </div>
2408 <hr>
2409 <div class="refsect2">
2410 <a name="HB-OT-LAYOUT-NO-VARIATIONS-INDEX:CAPS"></a><h3>HB_OT_LAYOUT_NO_VARIATIONS_INDEX</h3>
2411 <pre class="programlisting">#define HB_OT_LAYOUT_NO_VARIATIONS_INDEX 0xFFFFFFFFu
2412 </pre>
2413 <p>Special value for variations index indicating unsupported variation.</p>
2414 </div>
2415 <hr>
2416 <div class="refsect2">
2417 <a name="HB-OT-TAG-BASE:CAPS"></a><h3>HB_OT_TAG_BASE</h3>
2418 <pre class="programlisting">#define HB_OT_TAG_BASE HB_TAG('B','A','S','E')
2419 </pre>
2420 <p>OpenType <a class="ulink" href="https://docs.microsoft.com/en-us/typography/opentype/spec/base" target="_top">Baseline Table</a>.</p>
2421 </div>
2422 <hr>
2423 <div class="refsect2">
2424 <a name="HB-OT-TAG-GDEF:CAPS"></a><h3>HB_OT_TAG_GDEF</h3>
2425 <pre class="programlisting">#define HB_OT_TAG_GDEF HB_TAG('G','D','E','F')
2426 </pre>
2427 <p>OpenType <a class="ulink" href="https://docs.microsoft.com/en-us/typography/opentype/spec/gdef" target="_top">Glyph Definition Table</a>.</p>
2428 </div>
2429 <hr>
2430 <div class="refsect2">
2431 <a name="HB-OT-TAG-GPOS:CAPS"></a><h3>HB_OT_TAG_GPOS</h3>
2432 <pre class="programlisting">#define HB_OT_TAG_GPOS HB_TAG('G','P','O','S')
2433 </pre>
2434 <p>OpenType <a class="ulink" href="https://docs.microsoft.com/en-us/typography/opentype/spec/gpos" target="_top">Glyph Positioning Table</a>.</p>
2435 </div>
2436 <hr>
2437 <div class="refsect2">
2438 <a name="HB-OT-TAG-GSUB:CAPS"></a><h3>HB_OT_TAG_GSUB</h3>
2439 <pre class="programlisting">#define HB_OT_TAG_GSUB HB_TAG('G','S','U','B')
2440 </pre>
2441 <p>OpenType <a class="ulink" href="https://docs.microsoft.com/en-us/typography/opentype/spec/gsub" target="_top">Glyph Substitution Table</a>.</p>
2442 </div>
2443 <hr>
2444 <div class="refsect2">
2445 <a name="HB-OT-TAG-JSTF:CAPS"></a><h3>HB_OT_TAG_JSTF</h3>
2446 <pre class="programlisting">#define HB_OT_TAG_JSTF HB_TAG('J','S','T','F')
2447 </pre>
2448 <p>OpenType <a class="ulink" href="https://docs.microsoft.com/en-us/typography/opentype/spec/jstf" target="_top">Justification Table</a>.</p>
2449 </div>
2450 <hr>
2451 <div class="refsect2">
2452 <a name="hb-ot-layout-baseline-tag-t"></a><h3>enum hb_ot_layout_baseline_tag_t</h3>
2453 <p>Baseline tags from <a class="ulink" href="https://docs.microsoft.com/en-us/typography/opentype/spec/baselinetags" target="_top">Baseline Tags</a> registry.</p>
2454 <div class="refsect3">
2455 <a name="hb-ot-layout-baseline-tag-t.members"></a><h4>Members</h4>
2456 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2457 <colgroup>
2458 <col width="300px" class="enum_members_name">
2459 <col class="enum_members_description">
2460 <col width="200px" class="enum_members_annotations">
2461 </colgroup>
2462 <tbody>
2463 <tr>
2464 <td class="enum_member_name"><p><a name="HB-OT-LAYOUT-BASELINE-TAG-ROMAN:CAPS"></a>HB_OT_LAYOUT_BASELINE_TAG_ROMAN</p></td>
2465 <td class="enum_member_description">
2466 <p>The baseline used by alphabetic scripts such as Latin, Cyrillic and Greek.
2467 In vertical writing mode, the alphabetic baseline for characters rotated 90 degrees clockwise.
2468 (This would not apply to alphabetic characters that remain upright in vertical writing mode, since these
2469 characters are not rotated.)</p>
2470 </td>
2471 <td class="enum_member_annotations"> </td>
2472 </tr>
2473 <tr>
2474 <td class="enum_member_name"><p><a name="HB-OT-LAYOUT-BASELINE-TAG-HANGING:CAPS"></a>HB_OT_LAYOUT_BASELINE_TAG_HANGING</p></td>
2475 <td class="enum_member_description">
2476 <p>The hanging baseline. In horizontal direction, this is the horizontal
2477 line from which syllables seem, to hang in Tibetan and other similar scripts. In vertical writing mode,
2478 for Tibetan (or some other similar script) characters rotated 90 degrees clockwise.</p>
2479 </td>
2480 <td class="enum_member_annotations"> </td>
2481 </tr>
2482 <tr>
2483 <td class="enum_member_name"><p><a name="HB-OT-LAYOUT-BASELINE-TAG-IDEO-FACE-BOTTOM-OR-LEFT:CAPS"></a>HB_OT_LAYOUT_BASELINE_TAG_IDEO_FACE_BOTTOM_OR_LEFT</p></td>
2484 <td class="enum_member_description">
2485 <p>Ideographic character face bottom or left edge,
2486 if the direction is horizontal or vertical, respectively.</p>
2487 </td>
2488 <td class="enum_member_annotations"> </td>
2489 </tr>
2490 <tr>
2491 <td class="enum_member_name"><p><a name="HB-OT-LAYOUT-BASELINE-TAG-IDEO-FACE-TOP-OR-RIGHT:CAPS"></a>HB_OT_LAYOUT_BASELINE_TAG_IDEO_FACE_TOP_OR_RIGHT</p></td>
2492 <td class="enum_member_description">
2493 <p>Ideographic character face top or right edge,
2494 if the direction is horizontal or vertical, respectively.</p>
2495 </td>
2496 <td class="enum_member_annotations"> </td>
2497 </tr>
2498 <tr>
2499 <td class="enum_member_name"><p><a name="HB-OT-LAYOUT-BASELINE-TAG-IDEO-EMBOX-BOTTOM-OR-LEFT:CAPS"></a>HB_OT_LAYOUT_BASELINE_TAG_IDEO_EMBOX_BOTTOM_OR_LEFT</p></td>
2500 <td class="enum_member_description">
2501 <p>Ideographic em-box bottom or left edge,
2502 if the direction is horizontal or vertical, respectively.</p>
2503 </td>
2504 <td class="enum_member_annotations"> </td>
2505 </tr>
2506 <tr>
2507 <td class="enum_member_name"><p><a name="HB-OT-LAYOUT-BASELINE-TAG-IDEO-EMBOX-TOP-OR-RIGHT:CAPS"></a>HB_OT_LAYOUT_BASELINE_TAG_IDEO_EMBOX_TOP_OR_RIGHT</p></td>
2508 <td class="enum_member_description">
2509 <p>Ideographic em-box top or right edge baseline,
2510 if the direction is horizontal or vertical, respectively.</p>
2511 </td>
2512 <td class="enum_member_annotations"> </td>
2513 </tr>
2514 <tr>
2515 <td class="enum_member_name"><p><a name="HB-OT-LAYOUT-BASELINE-TAG-MATH:CAPS"></a>HB_OT_LAYOUT_BASELINE_TAG_MATH</p></td>
2516 <td class="enum_member_description">
2517 <p>The baseline about which mathematical characters are centered.
2518 In vertical writing mode when mathematical characters rotated 90 degrees clockwise, are centered.</p>
2519 </td>
2520 <td class="enum_member_annotations"> </td>
2521 </tr>
2522 </tbody>
2523 </table></div>
2524 </div>
2525 <p class="since">Since: <a class="link" href="api-index-2-6-0.html#api-index-2.6.0">2.6.0</a></p>
2526 </div>
2527 <hr>
2528 <div class="refsect2">
2529 <a name="hb-ot-layout-glyph-class-t"></a><h3>enum hb_ot_layout_glyph_class_t</h3>
2530 <p>The GDEF classes defined for glyphs.</p>
2531 <div class="refsect3">
2532 <a name="hb-ot-layout-glyph-class-t.members"></a><h4>Members</h4>
2533 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2534 <colgroup>
2535 <col width="300px" class="enum_members_name">
2536 <col class="enum_members_description">
2537 <col width="200px" class="enum_members_annotations">
2538 </colgroup>
2539 <tbody>
2540 <tr>
2541 <td class="enum_member_name"><p><a name="HB-OT-LAYOUT-GLYPH-CLASS-UNCLASSIFIED:CAPS"></a>HB_OT_LAYOUT_GLYPH_CLASS_UNCLASSIFIED</p></td>
2542 <td class="enum_member_description">
2543 <p>Glyphs not matching the other classifications</p>
2544 </td>
2545 <td class="enum_member_annotations"> </td>
2546 </tr>
2547 <tr>
2548 <td class="enum_member_name"><p><a name="HB-OT-LAYOUT-GLYPH-CLASS-BASE-GLYPH:CAPS"></a>HB_OT_LAYOUT_GLYPH_CLASS_BASE_GLYPH</p></td>
2549 <td class="enum_member_description">
2550 <p>Spacing, single characters, capable of accepting marks</p>
2551 </td>
2552 <td class="enum_member_annotations"> </td>
2553 </tr>
2554 <tr>
2555 <td class="enum_member_name"><p><a name="HB-OT-LAYOUT-GLYPH-CLASS-LIGATURE:CAPS"></a>HB_OT_LAYOUT_GLYPH_CLASS_LIGATURE</p></td>
2556 <td class="enum_member_description">
2557 <p>Glyphs that represent ligation of multiple characters</p>
2558 </td>
2559 <td class="enum_member_annotations"> </td>
2560 </tr>
2561 <tr>
2562 <td class="enum_member_name"><p><a name="HB-OT-LAYOUT-GLYPH-CLASS-MARK:CAPS"></a>HB_OT_LAYOUT_GLYPH_CLASS_MARK</p></td>
2563 <td class="enum_member_description">
2564 <p>Non-spacing, combining glyphs that represent marks</p>
2565 </td>
2566 <td class="enum_member_annotations"> </td>
2567 </tr>
2568 <tr>
2569 <td class="enum_member_name"><p><a name="HB-OT-LAYOUT-GLYPH-CLASS-COMPONENT:CAPS"></a>HB_OT_LAYOUT_GLYPH_CLASS_COMPONENT</p></td>
2570 <td class="enum_member_description">
2571 <p>Spacing glyphs that represent part of a single character</p>
2572 </td>
2573 <td class="enum_member_annotations"> </td>
2574 </tr>
2575 </tbody>
2576 </table></div>
2577 </div>
2578 </div>
2579 </div>
2580 </div>
2581 <div class="footer">
2582 <hr>Generated by GTK-Doc V1.32</div>
2583 </body>
2584 </html>