Imported Upstream version 2.3.1
[platform/upstream/harfbuzz.git] / docs / html / harfbuzz-hb-font.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-font: 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="ch09.html" title="Core API">
9 <link rel="prev" href="harfbuzz-hb-face.html" title="hb-face">
10 <link rel="next" href="harfbuzz-hb-map.html" title="hb-map">
11 <meta name="generator" content="GTK-Doc V1.25 (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-font.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19                   <a href="#harfbuzz-hb-font.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
20 </td>
21 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22 <td><a accesskey="u" href="ch09.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23 <td><a accesskey="p" href="harfbuzz-hb-face.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24 <td><a accesskey="n" href="harfbuzz-hb-map.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25 </tr></table>
26 <div class="refentry">
27 <a name="harfbuzz-hb-font"></a><div class="titlepage"></div>
28 <div class="refnamediv"><table width="100%"><tr>
29 <td valign="top">
30 <h2><span class="refentrytitle"><a name="harfbuzz-hb-font.top_of_page"></a>hb-font</span></h2>
31 <p>hb-font — Font objects</p>
32 </td>
33 <td class="gallery_image" valign="top" align="right"></td>
34 </tr></table></div>
35 <div class="refsect1">
36 <a name="harfbuzz-hb-font.functions"></a><h2>Functions</h2>
37 <div class="informaltable"><table class="informaltable" width="100%" border="0">
38 <colgroup>
39 <col width="150px" class="functions_return">
40 <col class="functions_name">
41 </colgroup>
42 <tbody>
43 <tr>
44 <td class="function_type">
45 <span class="returnvalue">void</span>
46 </td>
47 <td class="function_name">
48 <a class="link" href="harfbuzz-hb-font.html#hb-font-add-glyph-origin-for-direction" title="hb_font_add_glyph_origin_for_direction ()">hb_font_add_glyph_origin_for_direction</a> <span class="c_punctuation">()</span>
49 </td>
50 </tr>
51 <tr>
52 <td class="function_type">
53 <a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
54 </td>
55 <td class="function_name">
56 <a class="link" href="harfbuzz-hb-font.html#hb-font-create" title="hb_font_create ()">hb_font_create</a> <span class="c_punctuation">()</span>
57 </td>
58 </tr>
59 <tr>
60 <td class="function_type">
61 <a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
62 </td>
63 <td class="function_name">
64 <a class="link" href="harfbuzz-hb-font.html#hb-font-create-sub-font" title="hb_font_create_sub_font ()">hb_font_create_sub_font</a> <span class="c_punctuation">()</span>
65 </td>
66 </tr>
67 <tr>
68 <td class="function_type">
69 <span class="returnvalue">void</span>
70 </td>
71 <td class="function_name">
72 <a class="link" href="harfbuzz-hb-font.html#hb-font-destroy" title="hb_font_destroy ()">hb_font_destroy</a> <span class="c_punctuation">()</span>
73 </td>
74 </tr>
75 <tr>
76 <td class="function_type">
77 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
78 </td>
79 <td class="function_name">
80 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-create" title="hb_font_funcs_create ()">hb_font_funcs_create</a> <span class="c_punctuation">()</span>
81 </td>
82 </tr>
83 <tr>
84 <td class="function_type">
85 <span class="returnvalue">void</span>
86 </td>
87 <td class="function_name">
88 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-destroy" title="hb_font_funcs_destroy ()">hb_font_funcs_destroy</a> <span class="c_punctuation">()</span>
89 </td>
90 </tr>
91 <tr>
92 <td class="function_type">
93 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
94 </td>
95 <td class="function_name">
96 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-get-empty" title="hb_font_funcs_get_empty ()">hb_font_funcs_get_empty</a> <span class="c_punctuation">()</span>
97 </td>
98 </tr>
99 <tr>
100 <td class="function_type">
101 <span class="returnvalue">void</span> *
102 </td>
103 <td class="function_name">
104 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-get-user-data" title="hb_font_funcs_get_user_data ()">hb_font_funcs_get_user_data</a> <span class="c_punctuation">()</span>
105 </td>
106 </tr>
107 <tr>
108 <td class="function_type">
109 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
110 </td>
111 <td class="function_name">
112 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-is-immutable" title="hb_font_funcs_is_immutable ()">hb_font_funcs_is_immutable</a> <span class="c_punctuation">()</span>
113 </td>
114 </tr>
115 <tr>
116 <td class="function_type">
117 <span class="returnvalue">void</span>
118 </td>
119 <td class="function_name">
120 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-make-immutable" title="hb_font_funcs_make_immutable ()">hb_font_funcs_make_immutable</a> <span class="c_punctuation">()</span>
121 </td>
122 </tr>
123 <tr>
124 <td class="function_type">
125 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
126 </td>
127 <td class="function_name">
128 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-reference" title="hb_font_funcs_reference ()">hb_font_funcs_reference</a> <span class="c_punctuation">()</span>
129 </td>
130 </tr>
131 <tr>
132 <td class="function_type">
133 <span class="returnvalue">void</span>
134 </td>
135 <td class="function_name">
136 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-contour-point-func" title="hb_font_funcs_set_glyph_contour_point_func ()">hb_font_funcs_set_glyph_contour_point_func</a> <span class="c_punctuation">()</span>
137 </td>
138 </tr>
139 <tr>
140 <td class="function_type">
141 <span class="returnvalue">void</span>
142 </td>
143 <td class="function_name">
144 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-extents-func" title="hb_font_funcs_set_glyph_extents_func ()">hb_font_funcs_set_glyph_extents_func</a> <span class="c_punctuation">()</span>
145 </td>
146 </tr>
147 <tr>
148 <td class="function_type">
149 <span class="returnvalue">void</span>
150 </td>
151 <td class="function_name">
152 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-from-name-func" title="hb_font_funcs_set_glyph_from_name_func ()">hb_font_funcs_set_glyph_from_name_func</a> <span class="c_punctuation">()</span>
153 </td>
154 </tr>
155 <tr>
156 <td class="function_type">
157 <span class="returnvalue">void</span>
158 </td>
159 <td class="function_name">
160 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-h-advance-func" title="hb_font_funcs_set_glyph_h_advance_func ()">hb_font_funcs_set_glyph_h_advance_func</a> <span class="c_punctuation">()</span>
161 </td>
162 </tr>
163 <tr>
164 <td class="function_type">
165 <span class="returnvalue">void</span>
166 </td>
167 <td class="function_name">
168 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-h-advances-func" title="hb_font_funcs_set_glyph_h_advances_func ()">hb_font_funcs_set_glyph_h_advances_func</a> <span class="c_punctuation">()</span>
169 </td>
170 </tr>
171 <tr>
172 <td class="function_type">
173 <span class="returnvalue">void</span>
174 </td>
175 <td class="function_name">
176 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-h-origin-func" title="hb_font_funcs_set_glyph_h_origin_func ()">hb_font_funcs_set_glyph_h_origin_func</a> <span class="c_punctuation">()</span>
177 </td>
178 </tr>
179 <tr>
180 <td class="function_type">
181 <span class="returnvalue">void</span>
182 </td>
183 <td class="function_name">
184 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-name-func" title="hb_font_funcs_set_glyph_name_func ()">hb_font_funcs_set_glyph_name_func</a> <span class="c_punctuation">()</span>
185 </td>
186 </tr>
187 <tr>
188 <td class="function_type">
189 <span class="returnvalue">void</span>
190 </td>
191 <td class="function_name">
192 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-v-advance-func" title="hb_font_funcs_set_glyph_v_advance_func ()">hb_font_funcs_set_glyph_v_advance_func</a> <span class="c_punctuation">()</span>
193 </td>
194 </tr>
195 <tr>
196 <td class="function_type">
197 <span class="returnvalue">void</span>
198 </td>
199 <td class="function_name">
200 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-v-advances-func" title="hb_font_funcs_set_glyph_v_advances_func ()">hb_font_funcs_set_glyph_v_advances_func</a> <span class="c_punctuation">()</span>
201 </td>
202 </tr>
203 <tr>
204 <td class="function_type">
205 <span class="returnvalue">void</span>
206 </td>
207 <td class="function_name">
208 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-v-origin-func" title="hb_font_funcs_set_glyph_v_origin_func ()">hb_font_funcs_set_glyph_v_origin_func</a> <span class="c_punctuation">()</span>
209 </td>
210 </tr>
211 <tr>
212 <td class="function_type">
213 <span class="returnvalue">void</span>
214 </td>
215 <td class="function_name">
216 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-nominal-glyph-func" title="hb_font_funcs_set_nominal_glyph_func ()">hb_font_funcs_set_nominal_glyph_func</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-font.html#hb-font-funcs-set-nominal-glyphs-func" title="hb_font_funcs_set_nominal_glyphs_func ()">hb_font_funcs_set_nominal_glyphs_func</a> <span class="c_punctuation">()</span>
225 </td>
226 </tr>
227 <tr>
228 <td class="function_type">
229 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
230 </td>
231 <td class="function_name">
232 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-user-data" title="hb_font_funcs_set_user_data ()">hb_font_funcs_set_user_data</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-font.html#hb-font-funcs-set-variation-glyph-func" title="hb_font_funcs_set_variation_glyph_func ()">hb_font_funcs_set_variation_glyph_func</a> <span class="c_punctuation">()</span>
241 </td>
242 </tr>
243 <tr>
244 <td class="function_type">
245 <a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
246 </td>
247 <td class="function_name">
248 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-empty" title="hb_font_get_empty ()">hb_font_get_empty</a> <span class="c_punctuation">()</span>
249 </td>
250 </tr>
251 <tr>
252 <td class="function_type">
253 <a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
254 </td>
255 <td class="function_name">
256 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-face" title="hb_font_get_face ()">hb_font_get_face</a> <span class="c_punctuation">()</span>
257 </td>
258 </tr>
259 <tr>
260 <td class="function_type">
261 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
262 </td>
263 <td class="function_name">
264 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph" title="hb_font_get_glyph ()">hb_font_get_glyph</a> <span class="c_punctuation">()</span>
265 </td>
266 </tr>
267 <tr>
268 <td class="function_type">
269 <span class="returnvalue">void</span>
270 </td>
271 <td class="function_name">
272 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-advance-for-direction" title="hb_font_get_glyph_advance_for_direction ()">hb_font_get_glyph_advance_for_direction</a> <span class="c_punctuation">()</span>
273 </td>
274 </tr>
275 <tr>
276 <td class="function_type">
277 <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
278 </td>
279 <td class="function_name">
280 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-advance-func-t" title="hb_font_get_glyph_advance_func_t ()">*hb_font_get_glyph_advance_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
281 </td>
282 </tr>
283 <tr>
284 <td class="function_type">
285 <span class="returnvalue">void</span>
286 </td>
287 <td class="function_name">
288 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-advances-for-direction" title="hb_font_get_glyph_advances_for_direction ()">hb_font_get_glyph_advances_for_direction</a> <span class="c_punctuation">()</span>
289 </td>
290 </tr>
291 <tr>
292 <td class="function_type">
293 <span class="returnvalue">void</span>
294 </td>
295 <td class="function_name">
296 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-advances-func-t" title="hb_font_get_glyph_advances_func_t ()">*hb_font_get_glyph_advances_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
297 </td>
298 </tr>
299 <tr>
300 <td class="function_type">
301 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
302 </td>
303 <td class="function_name">
304 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-contour-point" title="hb_font_get_glyph_contour_point ()">hb_font_get_glyph_contour_point</a> <span class="c_punctuation">()</span>
305 </td>
306 </tr>
307 <tr>
308 <td class="function_type">
309 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
310 </td>
311 <td class="function_name">
312 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-contour-point-for-origin" title="hb_font_get_glyph_contour_point_for_origin ()">hb_font_get_glyph_contour_point_for_origin</a> <span class="c_punctuation">()</span>
313 </td>
314 </tr>
315 <tr>
316 <td class="function_type">
317 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
318 </td>
319 <td class="function_name">
320 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-contour-point-func-t" title="hb_font_get_glyph_contour_point_func_t ()">*hb_font_get_glyph_contour_point_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
321 </td>
322 </tr>
323 <tr>
324 <td class="function_type">
325 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
326 </td>
327 <td class="function_name">
328 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-extents" title="hb_font_get_glyph_extents ()">hb_font_get_glyph_extents</a> <span class="c_punctuation">()</span>
329 </td>
330 </tr>
331 <tr>
332 <td class="function_type">
333 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
334 </td>
335 <td class="function_name">
336 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-extents-for-origin" title="hb_font_get_glyph_extents_for_origin ()">hb_font_get_glyph_extents_for_origin</a> <span class="c_punctuation">()</span>
337 </td>
338 </tr>
339 <tr>
340 <td class="function_type">
341 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
342 </td>
343 <td class="function_name">
344 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-extents-func-t" title="hb_font_get_glyph_extents_func_t ()">*hb_font_get_glyph_extents_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
345 </td>
346 </tr>
347 <tr>
348 <td class="function_type">
349 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
350 </td>
351 <td class="function_name">
352 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-from-name" title="hb_font_get_glyph_from_name ()">hb_font_get_glyph_from_name</a> <span class="c_punctuation">()</span>
353 </td>
354 </tr>
355 <tr>
356 <td class="function_type">
357 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
358 </td>
359 <td class="function_name">
360 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-from-name-func-t" title="hb_font_get_glyph_from_name_func_t ()">*hb_font_get_glyph_from_name_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
361 </td>
362 </tr>
363 <tr>
364 <td class="function_type">
365 <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
366 </td>
367 <td class="function_name">
368 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-advance" title="hb_font_get_glyph_h_advance ()">hb_font_get_glyph_h_advance</a> <span class="c_punctuation">()</span>
369 </td>
370 </tr>
371 <tr>
372 <td class="function_type">
373 <span class="returnvalue">void</span>
374 </td>
375 <td class="function_name">
376 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-advances" title="hb_font_get_glyph_h_advances ()">hb_font_get_glyph_h_advances</a> <span class="c_punctuation">()</span>
377 </td>
378 </tr>
379 <tr>
380 <td class="function_type">
381 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
382 </td>
383 <td class="function_name">
384 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-origin" title="hb_font_get_glyph_h_origin ()">hb_font_get_glyph_h_origin</a> <span class="c_punctuation">()</span>
385 </td>
386 </tr>
387 <tr>
388 <td class="function_type">
389 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
390 </td>
391 <td class="function_name">
392 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-name" title="hb_font_get_glyph_name ()">hb_font_get_glyph_name</a> <span class="c_punctuation">()</span>
393 </td>
394 </tr>
395 <tr>
396 <td class="function_type">
397 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
398 </td>
399 <td class="function_name">
400 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-name-func-t" title="hb_font_get_glyph_name_func_t ()">*hb_font_get_glyph_name_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
401 </td>
402 </tr>
403 <tr>
404 <td class="function_type">
405 <span class="returnvalue">void</span>
406 </td>
407 <td class="function_name">
408 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-origin-for-direction" title="hb_font_get_glyph_origin_for_direction ()">hb_font_get_glyph_origin_for_direction</a> <span class="c_punctuation">()</span>
409 </td>
410 </tr>
411 <tr>
412 <td class="function_type">
413 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
414 </td>
415 <td class="function_name">
416 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-origin-func-t" title="hb_font_get_glyph_origin_func_t ()">*hb_font_get_glyph_origin_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
417 </td>
418 </tr>
419 <tr>
420 <td class="function_type">
421 <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
422 </td>
423 <td class="function_name">
424 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-advance" title="hb_font_get_glyph_v_advance ()">hb_font_get_glyph_v_advance</a> <span class="c_punctuation">()</span>
425 </td>
426 </tr>
427 <tr>
428 <td class="function_type">
429 <span class="returnvalue">void</span>
430 </td>
431 <td class="function_name">
432 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-advances" title="hb_font_get_glyph_v_advances ()">hb_font_get_glyph_v_advances</a> <span class="c_punctuation">()</span>
433 </td>
434 </tr>
435 <tr>
436 <td class="function_type">
437 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
438 </td>
439 <td class="function_name">
440 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-origin" title="hb_font_get_glyph_v_origin ()">hb_font_get_glyph_v_origin</a> <span class="c_punctuation">()</span>
441 </td>
442 </tr>
443 <tr>
444 <td class="function_type">
445 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
446 </td>
447 <td class="function_name">
448 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-nominal-glyph" title="hb_font_get_nominal_glyph ()">hb_font_get_nominal_glyph</a> <span class="c_punctuation">()</span>
449 </td>
450 </tr>
451 <tr>
452 <td class="function_type">
453 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
454 </td>
455 <td class="function_name">
456 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-font.html#hb-font-get-nominal-glyph-func-t" title="hb_font_get_nominal_glyph_func_t ()">*hb_font_get_nominal_glyph_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
457 </td>
458 </tr>
459 <tr>
460 <td class="function_type">
461 <a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
462 </td>
463 <td class="function_name">
464 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-parent" title="hb_font_get_parent ()">hb_font_get_parent</a> <span class="c_punctuation">()</span>
465 </td>
466 </tr>
467 <tr>
468 <td class="function_type">
469 <span class="returnvalue">void</span>
470 </td>
471 <td class="function_name">
472 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-ppem" title="hb_font_get_ppem ()">hb_font_get_ppem</a> <span class="c_punctuation">()</span>
473 </td>
474 </tr>
475 <tr>
476 <td class="function_type">
477 <span class="returnvalue">float</span>
478 </td>
479 <td class="function_name">
480 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-ptem" title="hb_font_get_ptem ()">hb_font_get_ptem</a> <span class="c_punctuation">()</span>
481 </td>
482 </tr>
483 <tr>
484 <td class="function_type">
485 <span class="returnvalue">void</span>
486 </td>
487 <td class="function_name">
488 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-scale" title="hb_font_get_scale ()">hb_font_get_scale</a> <span class="c_punctuation">()</span>
489 </td>
490 </tr>
491 <tr>
492 <td class="function_type">
493 <span class="returnvalue">void</span> *
494 </td>
495 <td class="function_name">
496 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-user-data" title="hb_font_get_user_data ()">hb_font_get_user_data</a> <span class="c_punctuation">()</span>
497 </td>
498 </tr>
499 <tr>
500 <td class="function_type">
501 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
502 </td>
503 <td class="function_name">
504 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-variation-glyph" title="hb_font_get_variation_glyph ()">hb_font_get_variation_glyph</a> <span class="c_punctuation">()</span>
505 </td>
506 </tr>
507 <tr>
508 <td class="function_type">
509 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
510 </td>
511 <td class="function_name">
512 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-font.html#hb-font-get-variation-glyph-func-t" title="hb_font_get_variation_glyph_func_t ()">*hb_font_get_variation_glyph_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
513 </td>
514 </tr>
515 <tr>
516 <td class="function_type">const <span class="returnvalue">int</span> *
517 </td>
518 <td class="function_name">
519 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-var-coords-normalized" title="hb_font_get_var_coords_normalized ()">hb_font_get_var_coords_normalized</a> <span class="c_punctuation">()</span>
520 </td>
521 </tr>
522 <tr>
523 <td class="function_type">
524 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
525 </td>
526 <td class="function_name">
527 <a class="link" href="harfbuzz-hb-font.html#hb-font-glyph-from-string" title="hb_font_glyph_from_string ()">hb_font_glyph_from_string</a> <span class="c_punctuation">()</span>
528 </td>
529 </tr>
530 <tr>
531 <td class="function_type">
532 <span class="returnvalue">void</span>
533 </td>
534 <td class="function_name">
535 <a class="link" href="harfbuzz-hb-font.html#hb-font-glyph-to-string" title="hb_font_glyph_to_string ()">hb_font_glyph_to_string</a> <span class="c_punctuation">()</span>
536 </td>
537 </tr>
538 <tr>
539 <td class="function_type">
540 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
541 </td>
542 <td class="function_name">
543 <a class="link" href="harfbuzz-hb-font.html#hb-font-is-immutable" title="hb_font_is_immutable ()">hb_font_is_immutable</a> <span class="c_punctuation">()</span>
544 </td>
545 </tr>
546 <tr>
547 <td class="function_type">
548 <span class="returnvalue">void</span>
549 </td>
550 <td class="function_name">
551 <a class="link" href="harfbuzz-hb-font.html#hb-font-make-immutable" title="hb_font_make_immutable ()">hb_font_make_immutable</a> <span class="c_punctuation">()</span>
552 </td>
553 </tr>
554 <tr>
555 <td class="function_type">
556 <a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
557 </td>
558 <td class="function_name">
559 <a class="link" href="harfbuzz-hb-font.html#hb-font-reference" title="hb_font_reference ()">hb_font_reference</a> <span class="c_punctuation">()</span>
560 </td>
561 </tr>
562 <tr>
563 <td class="function_type">
564 <span class="returnvalue">void</span>
565 </td>
566 <td class="function_name">
567 <a class="link" href="harfbuzz-hb-font.html#hb-font-set-face" title="hb_font_set_face ()">hb_font_set_face</a> <span class="c_punctuation">()</span>
568 </td>
569 </tr>
570 <tr>
571 <td class="function_type">
572 <span class="returnvalue">void</span>
573 </td>
574 <td class="function_name">
575 <a class="link" href="harfbuzz-hb-font.html#hb-font-set-funcs" title="hb_font_set_funcs ()">hb_font_set_funcs</a> <span class="c_punctuation">()</span>
576 </td>
577 </tr>
578 <tr>
579 <td class="function_type">
580 <span class="returnvalue">void</span>
581 </td>
582 <td class="function_name">
583 <a class="link" href="harfbuzz-hb-font.html#hb-font-set-funcs-data" title="hb_font_set_funcs_data ()">hb_font_set_funcs_data</a> <span class="c_punctuation">()</span>
584 </td>
585 </tr>
586 <tr>
587 <td class="function_type">
588 <span class="returnvalue">void</span>
589 </td>
590 <td class="function_name">
591 <a class="link" href="harfbuzz-hb-font.html#hb-font-set-parent" title="hb_font_set_parent ()">hb_font_set_parent</a> <span class="c_punctuation">()</span>
592 </td>
593 </tr>
594 <tr>
595 <td class="function_type">
596 <span class="returnvalue">void</span>
597 </td>
598 <td class="function_name">
599 <a class="link" href="harfbuzz-hb-font.html#hb-font-set-ppem" title="hb_font_set_ppem ()">hb_font_set_ppem</a> <span class="c_punctuation">()</span>
600 </td>
601 </tr>
602 <tr>
603 <td class="function_type">
604 <span class="returnvalue">void</span>
605 </td>
606 <td class="function_name">
607 <a class="link" href="harfbuzz-hb-font.html#hb-font-set-ptem" title="hb_font_set_ptem ()">hb_font_set_ptem</a> <span class="c_punctuation">()</span>
608 </td>
609 </tr>
610 <tr>
611 <td class="function_type">
612 <span class="returnvalue">void</span>
613 </td>
614 <td class="function_name">
615 <a class="link" href="harfbuzz-hb-font.html#hb-font-set-scale" title="hb_font_set_scale ()">hb_font_set_scale</a> <span class="c_punctuation">()</span>
616 </td>
617 </tr>
618 <tr>
619 <td class="function_type">
620 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
621 </td>
622 <td class="function_name">
623 <a class="link" href="harfbuzz-hb-font.html#hb-font-set-user-data" title="hb_font_set_user_data ()">hb_font_set_user_data</a> <span class="c_punctuation">()</span>
624 </td>
625 </tr>
626 <tr>
627 <td class="function_type">
628 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
629 </td>
630 <td class="function_name">
631 <a class="link" href="harfbuzz-hb-font.html#hb-variation-from-string" title="hb_variation_from_string ()">hb_variation_from_string</a> <span class="c_punctuation">()</span>
632 </td>
633 </tr>
634 <tr>
635 <td class="function_type">
636 <span class="returnvalue">void</span>
637 </td>
638 <td class="function_name">
639 <a class="link" href="harfbuzz-hb-font.html#hb-variation-to-string" title="hb_variation_to_string ()">hb_variation_to_string</a> <span class="c_punctuation">()</span>
640 </td>
641 </tr>
642 <tr>
643 <td class="function_type">
644 <span class="returnvalue">void</span>
645 </td>
646 <td class="function_name">
647 <a class="link" href="harfbuzz-hb-font.html#hb-font-set-variations" title="hb_font_set_variations ()">hb_font_set_variations</a> <span class="c_punctuation">()</span>
648 </td>
649 </tr>
650 <tr>
651 <td class="function_type">
652 <span class="returnvalue">void</span>
653 </td>
654 <td class="function_name">
655 <a class="link" href="harfbuzz-hb-font.html#hb-font-set-var-coords-design" title="hb_font_set_var_coords_design ()">hb_font_set_var_coords_design</a> <span class="c_punctuation">()</span>
656 </td>
657 </tr>
658 <tr>
659 <td class="function_type">
660 <span class="returnvalue">void</span>
661 </td>
662 <td class="function_name">
663 <a class="link" href="harfbuzz-hb-font.html#hb-font-set-var-coords-normalized" title="hb_font_set_var_coords_normalized ()">hb_font_set_var_coords_normalized</a> <span class="c_punctuation">()</span>
664 </td>
665 </tr>
666 <tr>
667 <td class="function_type">
668 <span class="returnvalue">void</span>
669 </td>
670 <td class="function_name">
671 <a class="link" href="harfbuzz-hb-font.html#hb-font-subtract-glyph-origin-for-direction" title="hb_font_subtract_glyph_origin_for_direction ()">hb_font_subtract_glyph_origin_for_direction</a> <span class="c_punctuation">()</span>
672 </td>
673 </tr>
674 <tr>
675 <td class="function_type">
676 <a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
677 </td>
678 <td class="function_name">
679 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-font.html#hb-reference-table-func-t" title="hb_reference_table_func_t ()">*hb_reference_table_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
680 </td>
681 </tr>
682 <tr>
683 <td class="function_type">
684 <span class="returnvalue">void</span>
685 </td>
686 <td class="function_name">
687 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-font-h-extents-func" title="hb_font_funcs_set_font_h_extents_func ()">hb_font_funcs_set_font_h_extents_func</a> <span class="c_punctuation">()</span>
688 </td>
689 </tr>
690 <tr>
691 <td class="function_type">
692 <span class="returnvalue">void</span>
693 </td>
694 <td class="function_name">
695 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-font-v-extents-func" title="hb_font_funcs_set_font_v_extents_func ()">hb_font_funcs_set_font_v_extents_func</a> <span class="c_punctuation">()</span>
696 </td>
697 </tr>
698 <tr>
699 <td class="function_type">
700 <span class="returnvalue">void</span>
701 </td>
702 <td class="function_name">
703 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-extents-for-direction" title="hb_font_get_extents_for_direction ()">hb_font_get_extents_for_direction</a> <span class="c_punctuation">()</span>
704 </td>
705 </tr>
706 <tr>
707 <td class="function_type">
708 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
709 </td>
710 <td class="function_name">
711 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-font.html#hb-font-get-font-extents-func-t" title="hb_font_get_font_extents_func_t ()">*hb_font_get_font_extents_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
712 </td>
713 </tr>
714 <tr>
715 <td class="function_type">
716 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
717 </td>
718 <td class="function_name">
719 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-h-extents" title="hb_font_get_h_extents ()">hb_font_get_h_extents</a> <span class="c_punctuation">()</span>
720 </td>
721 </tr>
722 <tr>
723 <td class="function_type">
724 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
725 </td>
726 <td class="function_name">
727 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-v-extents" title="hb_font_get_v_extents ()">hb_font_get_v_extents</a> <span class="c_punctuation">()</span>
728 </td>
729 </tr>
730 </tbody>
731 </table></div>
732 </div>
733 <a name="hb-font-funcs-t"></a><a name="hb-font-t"></a><div class="refsect1">
734 <a name="harfbuzz-hb-font.other"></a><h2>Types and Values</h2>
735 <div class="informaltable"><table class="informaltable" width="100%" border="0">
736 <colgroup>
737 <col width="150px" class="name">
738 <col class="description">
739 </colgroup>
740 <tbody>
741 <tr>
742 <td class="typedef_keyword">typedef</td>
743 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t">hb_font_funcs_t</a></td>
744 </tr>
745 <tr>
746 <td class="typedef_keyword">typedef</td>
747 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-advance-func-t" title="hb_font_get_glyph_h_advance_func_t">hb_font_get_glyph_h_advance_func_t</a></td>
748 </tr>
749 <tr>
750 <td class="typedef_keyword">typedef</td>
751 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-advances-func-t" title="hb_font_get_glyph_h_advances_func_t">hb_font_get_glyph_h_advances_func_t</a></td>
752 </tr>
753 <tr>
754 <td class="typedef_keyword">typedef</td>
755 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-origin-func-t" title="hb_font_get_glyph_h_origin_func_t">hb_font_get_glyph_h_origin_func_t</a></td>
756 </tr>
757 <tr>
758 <td class="typedef_keyword">typedef</td>
759 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-advance-func-t" title="hb_font_get_glyph_v_advance_func_t">hb_font_get_glyph_v_advance_func_t</a></td>
760 </tr>
761 <tr>
762 <td class="typedef_keyword">typedef</td>
763 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-advances-func-t" title="hb_font_get_glyph_v_advances_func_t">hb_font_get_glyph_v_advances_func_t</a></td>
764 </tr>
765 <tr>
766 <td class="typedef_keyword">typedef</td>
767 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-origin-func-t" title="hb_font_get_glyph_v_origin_func_t">hb_font_get_glyph_v_origin_func_t</a></td>
768 </tr>
769 <tr>
770 <td class="datatype_keyword"> </td>
771 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-variation-t" title="hb_variation_t">hb_variation_t</a></td>
772 </tr>
773 <tr>
774 <td class="typedef_keyword">typedef</td>
775 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-t">hb_font_t</a></td>
776 </tr>
777 <tr>
778 <td class="typedef_keyword">typedef</td>
779 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-font-h-extents-func-t" title="hb_font_get_font_h_extents_func_t">hb_font_get_font_h_extents_func_t</a></td>
780 </tr>
781 <tr>
782 <td class="typedef_keyword">typedef</td>
783 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-font-v-extents-func-t" title="hb_font_get_font_v_extents_func_t">hb_font_get_font_v_extents_func_t</a></td>
784 </tr>
785 </tbody>
786 </table></div>
787 </div>
788 <div class="refsect1">
789 <a name="harfbuzz-hb-font.object-hierarchy"></a><h2>Object Hierarchy</h2>
790 <pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
791     <span class="lineart">├──</span> hb_font_funcs_t
792     <span class="lineart">╰──</span> hb_font_t
793 </pre>
794 </div>
795 <div class="refsect1">
796 <a name="harfbuzz-hb-font.includes"></a><h2>Includes</h2>
797 <pre class="synopsis">#include &lt;hb.h&gt;
798 </pre>
799 </div>
800 <div class="refsect1">
801 <a name="harfbuzz-hb-font.description"></a><h2>Description</h2>
802 <p>Font objects represent a font face at a certain size and other
803 parameters (pixels per EM, points per EM, variation settings.)
804 Fonts are created from font faces, and are used as input to
805 <a class="link" href="harfbuzz-hb-shape.html#hb-shape" title="hb_shape ()"><code class="function">hb_shape()</code></a> among other things.</p>
806 </div>
807 <div class="refsect1">
808 <a name="harfbuzz-hb-font.functions_details"></a><h2>Functions</h2>
809 <div class="refsect2">
810 <a name="hb-font-add-glyph-origin-for-direction"></a><h3>hb_font_add_glyph_origin_for_direction ()</h3>
811 <pre class="programlisting"><span class="returnvalue">void</span>
812 hb_font_add_glyph_origin_for_direction
813                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
814                                 <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>,
815                                 <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>,
816                                 <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> *x</code></em>,
817                                 <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> *y</code></em>);</pre>
818 <div class="refsect3">
819 <a name="hb-font-add-glyph-origin-for-direction.parameters"></a><h4>Parameters</h4>
820 <div class="informaltable"><table class="informaltable" width="100%" border="0">
821 <colgroup>
822 <col width="150px" class="parameters_name">
823 <col class="parameters_description">
824 <col width="200px" class="parameters_annotations">
825 </colgroup>
826 <tbody>
827 <tr>
828 <td class="parameter_name"><p>font</p></td>
829 <td class="parameter_description"><p>a font.</p></td>
830 <td class="parameter_annotations"> </td>
831 </tr>
832 <tr>
833 <td class="parameter_name"><p>x</p></td>
834 <td class="parameter_description"><p>. </p></td>
835 <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>
836 </tr>
837 <tr>
838 <td class="parameter_name"><p>y</p></td>
839 <td class="parameter_description"><p>. </p></td>
840 <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>
841 </tr>
842 </tbody>
843 </table></div>
844 </div>
845 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
846 </div>
847 <hr>
848 <div class="refsect2">
849 <a name="hb-font-create"></a><h3>hb_font_create ()</h3>
850 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
851 hb_font_create (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="type">hb_face_t</span></a> *face</code></em>);</pre>
852 <p><span class="annotation">[Xconstructor]</span></p>
853 <div class="refsect3">
854 <a name="hb-font-create.parameters"></a><h4>Parameters</h4>
855 <div class="informaltable"><table class="informaltable" width="100%" border="0">
856 <colgroup>
857 <col width="150px" class="parameters_name">
858 <col class="parameters_description">
859 <col width="200px" class="parameters_annotations">
860 </colgroup>
861 <tbody><tr>
862 <td class="parameter_name"><p>face</p></td>
863 <td class="parameter_description"><p>a face.</p></td>
864 <td class="parameter_annotations"> </td>
865 </tr></tbody>
866 </table></div>
867 </div>
868 <div class="refsect3">
869 <a name="hb-font-create.returns"></a><h4>Returns</h4>
870 <p>. </p>
871 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
872 </div>
873 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
874 </div>
875 <hr>
876 <div class="refsect2">
877 <a name="hb-font-create-sub-font"></a><h3>hb_font_create_sub_font ()</h3>
878 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
879 hb_font_create_sub_font (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *parent</code></em>);</pre>
880 <div class="refsect3">
881 <a name="hb-font-create-sub-font.parameters"></a><h4>Parameters</h4>
882 <div class="informaltable"><table class="informaltable" width="100%" border="0">
883 <colgroup>
884 <col width="150px" class="parameters_name">
885 <col class="parameters_description">
886 <col width="200px" class="parameters_annotations">
887 </colgroup>
888 <tbody><tr>
889 <td class="parameter_name"><p>parent</p></td>
890 <td class="parameter_description"><p>parent font.</p></td>
891 <td class="parameter_annotations"> </td>
892 </tr></tbody>
893 </table></div>
894 </div>
895 <div class="refsect3">
896 <a name="hb-font-create-sub-font.returns"></a><h4>Returns</h4>
897 <p>. </p>
898 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
899 </div>
900 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
901 </div>
902 <hr>
903 <div class="refsect2">
904 <a name="hb-font-destroy"></a><h3>hb_font_destroy ()</h3>
905 <pre class="programlisting"><span class="returnvalue">void</span>
906 hb_font_destroy (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre>
907 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
908 <div class="refsect3">
909 <a name="hb-font-destroy.parameters"></a><h4>Parameters</h4>
910 <div class="informaltable"><table class="informaltable" width="100%" border="0">
911 <colgroup>
912 <col width="150px" class="parameters_name">
913 <col class="parameters_description">
914 <col width="200px" class="parameters_annotations">
915 </colgroup>
916 <tbody><tr>
917 <td class="parameter_name"><p>font</p></td>
918 <td class="parameter_description"><p>a font.</p></td>
919 <td class="parameter_annotations"> </td>
920 </tr></tbody>
921 </table></div>
922 </div>
923 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
924 </div>
925 <hr>
926 <div class="refsect2">
927 <a name="hb-font-funcs-create"></a><h3>hb_font_funcs_create ()</h3>
928 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
929 hb_font_funcs_create (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
930 <p><span class="annotation">[Xconstructor]</span></p>
931 <div class="refsect3">
932 <a name="hb-font-funcs-create.returns"></a><h4>Returns</h4>
933 <p>. </p>
934 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
935 </div>
936 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
937 </div>
938 <hr>
939 <div class="refsect2">
940 <a name="hb-font-funcs-destroy"></a><h3>hb_font_funcs_destroy ()</h3>
941 <pre class="programlisting"><span class="returnvalue">void</span>
942 hb_font_funcs_destroy (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>);</pre>
943 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
944 <div class="refsect3">
945 <a name="hb-font-funcs-destroy.parameters"></a><h4>Parameters</h4>
946 <div class="informaltable"><table class="informaltable" width="100%" border="0">
947 <colgroup>
948 <col width="150px" class="parameters_name">
949 <col class="parameters_description">
950 <col width="200px" class="parameters_annotations">
951 </colgroup>
952 <tbody><tr>
953 <td class="parameter_name"><p>ffuncs</p></td>
954 <td class="parameter_description"><p>font functions.</p></td>
955 <td class="parameter_annotations"> </td>
956 </tr></tbody>
957 </table></div>
958 </div>
959 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
960 </div>
961 <hr>
962 <div class="refsect2">
963 <a name="hb-font-funcs-get-empty"></a><h3>hb_font_funcs_get_empty ()</h3>
964 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
965 hb_font_funcs_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
966 <div class="refsect3">
967 <a name="hb-font-funcs-get-empty.returns"></a><h4>Returns</h4>
968 <p>. </p>
969 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
970 </div>
971 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
972 </div>
973 <hr>
974 <div class="refsect2">
975 <a name="hb-font-funcs-get-user-data"></a><h3>hb_font_funcs_get_user_data ()</h3>
976 <pre class="programlisting"><span class="returnvalue">void</span> *
977 hb_font_funcs_get_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
978                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>);</pre>
979 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
980 <div class="refsect3">
981 <a name="hb-font-funcs-get-user-data.parameters"></a><h4>Parameters</h4>
982 <div class="informaltable"><table class="informaltable" width="100%" border="0">
983 <colgroup>
984 <col width="150px" class="parameters_name">
985 <col class="parameters_description">
986 <col width="200px" class="parameters_annotations">
987 </colgroup>
988 <tbody><tr>
989 <td class="parameter_name"><p>ffuncs</p></td>
990 <td class="parameter_description"><p>font functions.</p></td>
991 <td class="parameter_annotations"> </td>
992 </tr></tbody>
993 </table></div>
994 </div>
995 <div class="refsect3">
996 <a name="hb-font-funcs-get-user-data.returns"></a><h4>Returns</h4>
997 <p>. </p>
998 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
999 </div>
1000 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1001 </div>
1002 <hr>
1003 <div class="refsect2">
1004 <a name="hb-font-funcs-is-immutable"></a><h3>hb_font_funcs_is_immutable ()</h3>
1005 <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>
1006 hb_font_funcs_is_immutable (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>);</pre>
1007 <div class="refsect3">
1008 <a name="hb-font-funcs-is-immutable.parameters"></a><h4>Parameters</h4>
1009 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1010 <colgroup>
1011 <col width="150px" class="parameters_name">
1012 <col class="parameters_description">
1013 <col width="200px" class="parameters_annotations">
1014 </colgroup>
1015 <tbody><tr>
1016 <td class="parameter_name"><p>ffuncs</p></td>
1017 <td class="parameter_description"><p>font functions.</p></td>
1018 <td class="parameter_annotations"> </td>
1019 </tr></tbody>
1020 </table></div>
1021 </div>
1022 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1023 </div>
1024 <hr>
1025 <div class="refsect2">
1026 <a name="hb-font-funcs-make-immutable"></a><h3>hb_font_funcs_make_immutable ()</h3>
1027 <pre class="programlisting"><span class="returnvalue">void</span>
1028 hb_font_funcs_make_immutable (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>);</pre>
1029 <div class="refsect3">
1030 <a name="hb-font-funcs-make-immutable.parameters"></a><h4>Parameters</h4>
1031 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1032 <colgroup>
1033 <col width="150px" class="parameters_name">
1034 <col class="parameters_description">
1035 <col width="200px" class="parameters_annotations">
1036 </colgroup>
1037 <tbody><tr>
1038 <td class="parameter_name"><p>ffuncs</p></td>
1039 <td class="parameter_description"><p>font functions.</p></td>
1040 <td class="parameter_annotations"> </td>
1041 </tr></tbody>
1042 </table></div>
1043 </div>
1044 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1045 </div>
1046 <hr>
1047 <div class="refsect2">
1048 <a name="hb-font-funcs-reference"></a><h3>hb_font_funcs_reference ()</h3>
1049 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
1050 hb_font_funcs_reference (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>);</pre>
1051 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1052 <div class="refsect3">
1053 <a name="hb-font-funcs-reference.parameters"></a><h4>Parameters</h4>
1054 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1055 <colgroup>
1056 <col width="150px" class="parameters_name">
1057 <col class="parameters_description">
1058 <col width="200px" class="parameters_annotations">
1059 </colgroup>
1060 <tbody><tr>
1061 <td class="parameter_name"><p>ffuncs</p></td>
1062 <td class="parameter_description"><p>font functions.</p></td>
1063 <td class="parameter_annotations"> </td>
1064 </tr></tbody>
1065 </table></div>
1066 </div>
1067 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1068 </div>
1069 <hr>
1070 <div class="refsect2">
1071 <a name="hb-font-funcs-set-glyph-contour-point-func"></a><h3>hb_font_funcs_set_glyph_contour_point_func ()</h3>
1072 <pre class="programlisting"><span class="returnvalue">void</span>
1073 hb_font_funcs_set_glyph_contour_point_func
1074                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1075                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-contour-point-func-t" title="hb_font_get_glyph_contour_point_func_t ()"><span class="type">hb_font_get_glyph_contour_point_func_t</span></a> func</code></em>,
1076                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1077                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1078 <div class="refsect3">
1079 <a name="hb-font-funcs-set-glyph-contour-point-func.parameters"></a><h4>Parameters</h4>
1080 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1081 <colgroup>
1082 <col width="150px" class="parameters_name">
1083 <col class="parameters_description">
1084 <col width="200px" class="parameters_annotations">
1085 </colgroup>
1086 <tbody>
1087 <tr>
1088 <td class="parameter_name"><p>ffuncs</p></td>
1089 <td class="parameter_description"><p>font functions.</p></td>
1090 <td class="parameter_annotations"> </td>
1091 </tr>
1092 <tr>
1093 <td class="parameter_name"><p>func</p></td>
1094 <td class="parameter_description"><p>. </p></td>
1095 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1096 </tr>
1097 </tbody>
1098 </table></div>
1099 </div>
1100 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1101 </div>
1102 <hr>
1103 <div class="refsect2">
1104 <a name="hb-font-funcs-set-glyph-extents-func"></a><h3>hb_font_funcs_set_glyph_extents_func ()</h3>
1105 <pre class="programlisting"><span class="returnvalue">void</span>
1106 hb_font_funcs_set_glyph_extents_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1107                                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-extents-func-t" title="hb_font_get_glyph_extents_func_t ()"><span class="type">hb_font_get_glyph_extents_func_t</span></a> func</code></em>,
1108                                       <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1109                                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1110 <div class="refsect3">
1111 <a name="hb-font-funcs-set-glyph-extents-func.parameters"></a><h4>Parameters</h4>
1112 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1113 <colgroup>
1114 <col width="150px" class="parameters_name">
1115 <col class="parameters_description">
1116 <col width="200px" class="parameters_annotations">
1117 </colgroup>
1118 <tbody>
1119 <tr>
1120 <td class="parameter_name"><p>ffuncs</p></td>
1121 <td class="parameter_description"><p>font functions.</p></td>
1122 <td class="parameter_annotations"> </td>
1123 </tr>
1124 <tr>
1125 <td class="parameter_name"><p>func</p></td>
1126 <td class="parameter_description"><p>. </p></td>
1127 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1128 </tr>
1129 </tbody>
1130 </table></div>
1131 </div>
1132 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1133 </div>
1134 <hr>
1135 <div class="refsect2">
1136 <a name="hb-font-funcs-set-glyph-from-name-func"></a><h3>hb_font_funcs_set_glyph_from_name_func ()</h3>
1137 <pre class="programlisting"><span class="returnvalue">void</span>
1138 hb_font_funcs_set_glyph_from_name_func
1139                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1140                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-from-name-func-t" title="hb_font_get_glyph_from_name_func_t ()"><span class="type">hb_font_get_glyph_from_name_func_t</span></a> func</code></em>,
1141                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1142                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1143 <div class="refsect3">
1144 <a name="hb-font-funcs-set-glyph-from-name-func.parameters"></a><h4>Parameters</h4>
1145 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1146 <colgroup>
1147 <col width="150px" class="parameters_name">
1148 <col class="parameters_description">
1149 <col width="200px" class="parameters_annotations">
1150 </colgroup>
1151 <tbody>
1152 <tr>
1153 <td class="parameter_name"><p>ffuncs</p></td>
1154 <td class="parameter_description"><p>font functions.</p></td>
1155 <td class="parameter_annotations"> </td>
1156 </tr>
1157 <tr>
1158 <td class="parameter_name"><p>func</p></td>
1159 <td class="parameter_description"><p>. </p></td>
1160 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1161 </tr>
1162 </tbody>
1163 </table></div>
1164 </div>
1165 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1166 </div>
1167 <hr>
1168 <div class="refsect2">
1169 <a name="hb-font-funcs-set-glyph-h-advance-func"></a><h3>hb_font_funcs_set_glyph_h_advance_func ()</h3>
1170 <pre class="programlisting"><span class="returnvalue">void</span>
1171 hb_font_funcs_set_glyph_h_advance_func
1172                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1173                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-advance-func-t" title="hb_font_get_glyph_h_advance_func_t"><span class="type">hb_font_get_glyph_h_advance_func_t</span></a> func</code></em>,
1174                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1175                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1176 <div class="refsect3">
1177 <a name="hb-font-funcs-set-glyph-h-advance-func.parameters"></a><h4>Parameters</h4>
1178 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1179 <colgroup>
1180 <col width="150px" class="parameters_name">
1181 <col class="parameters_description">
1182 <col width="200px" class="parameters_annotations">
1183 </colgroup>
1184 <tbody>
1185 <tr>
1186 <td class="parameter_name"><p>ffuncs</p></td>
1187 <td class="parameter_description"><p>font functions.</p></td>
1188 <td class="parameter_annotations"> </td>
1189 </tr>
1190 <tr>
1191 <td class="parameter_name"><p>func</p></td>
1192 <td class="parameter_description"><p>. </p></td>
1193 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1194 </tr>
1195 </tbody>
1196 </table></div>
1197 </div>
1198 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1199 </div>
1200 <hr>
1201 <div class="refsect2">
1202 <a name="hb-font-funcs-set-glyph-h-advances-func"></a><h3>hb_font_funcs_set_glyph_h_advances_func ()</h3>
1203 <pre class="programlisting"><span class="returnvalue">void</span>
1204 hb_font_funcs_set_glyph_h_advances_func
1205                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1206                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-advances-func-t" title="hb_font_get_glyph_h_advances_func_t"><span class="type">hb_font_get_glyph_h_advances_func_t</span></a> func</code></em>,
1207                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1208                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1209 <div class="refsect3">
1210 <a name="hb-font-funcs-set-glyph-h-advances-func.parameters"></a><h4>Parameters</h4>
1211 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1212 <colgroup>
1213 <col width="150px" class="parameters_name">
1214 <col class="parameters_description">
1215 <col width="200px" class="parameters_annotations">
1216 </colgroup>
1217 <tbody>
1218 <tr>
1219 <td class="parameter_name"><p>ffuncs</p></td>
1220 <td class="parameter_description"><p>font functions.</p></td>
1221 <td class="parameter_annotations"> </td>
1222 </tr>
1223 <tr>
1224 <td class="parameter_name"><p>func</p></td>
1225 <td class="parameter_description"><p>. </p></td>
1226 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1227 </tr>
1228 </tbody>
1229 </table></div>
1230 </div>
1231 <p class="since">Since: <a class="link" href="api-index-1-8-6.html#api-index-1.8.6">1.8.6</a></p>
1232 </div>
1233 <hr>
1234 <div class="refsect2">
1235 <a name="hb-font-funcs-set-glyph-h-origin-func"></a><h3>hb_font_funcs_set_glyph_h_origin_func ()</h3>
1236 <pre class="programlisting"><span class="returnvalue">void</span>
1237 hb_font_funcs_set_glyph_h_origin_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1238                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-origin-func-t" title="hb_font_get_glyph_h_origin_func_t"><span class="type">hb_font_get_glyph_h_origin_func_t</span></a> func</code></em>,
1239                                        <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1240                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1241 <div class="refsect3">
1242 <a name="hb-font-funcs-set-glyph-h-origin-func.parameters"></a><h4>Parameters</h4>
1243 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1244 <colgroup>
1245 <col width="150px" class="parameters_name">
1246 <col class="parameters_description">
1247 <col width="200px" class="parameters_annotations">
1248 </colgroup>
1249 <tbody>
1250 <tr>
1251 <td class="parameter_name"><p>ffuncs</p></td>
1252 <td class="parameter_description"><p>font functions.</p></td>
1253 <td class="parameter_annotations"> </td>
1254 </tr>
1255 <tr>
1256 <td class="parameter_name"><p>func</p></td>
1257 <td class="parameter_description"><p>. </p></td>
1258 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1259 </tr>
1260 </tbody>
1261 </table></div>
1262 </div>
1263 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1264 </div>
1265 <hr>
1266 <div class="refsect2">
1267 <a name="hb-font-funcs-set-glyph-name-func"></a><h3>hb_font_funcs_set_glyph_name_func ()</h3>
1268 <pre class="programlisting"><span class="returnvalue">void</span>
1269 hb_font_funcs_set_glyph_name_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1270                                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-name-func-t" title="hb_font_get_glyph_name_func_t ()"><span class="type">hb_font_get_glyph_name_func_t</span></a> func</code></em>,
1271                                    <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1272                                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1273 <div class="refsect3">
1274 <a name="hb-font-funcs-set-glyph-name-func.parameters"></a><h4>Parameters</h4>
1275 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1276 <colgroup>
1277 <col width="150px" class="parameters_name">
1278 <col class="parameters_description">
1279 <col width="200px" class="parameters_annotations">
1280 </colgroup>
1281 <tbody>
1282 <tr>
1283 <td class="parameter_name"><p>ffuncs</p></td>
1284 <td class="parameter_description"><p>font functions.</p></td>
1285 <td class="parameter_annotations"> </td>
1286 </tr>
1287 <tr>
1288 <td class="parameter_name"><p>func</p></td>
1289 <td class="parameter_description"><p>. </p></td>
1290 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1291 </tr>
1292 </tbody>
1293 </table></div>
1294 </div>
1295 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1296 </div>
1297 <hr>
1298 <div class="refsect2">
1299 <a name="hb-font-funcs-set-glyph-v-advance-func"></a><h3>hb_font_funcs_set_glyph_v_advance_func ()</h3>
1300 <pre class="programlisting"><span class="returnvalue">void</span>
1301 hb_font_funcs_set_glyph_v_advance_func
1302                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1303                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-advance-func-t" title="hb_font_get_glyph_v_advance_func_t"><span class="type">hb_font_get_glyph_v_advance_func_t</span></a> func</code></em>,
1304                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1305                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1306 <div class="refsect3">
1307 <a name="hb-font-funcs-set-glyph-v-advance-func.parameters"></a><h4>Parameters</h4>
1308 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1309 <colgroup>
1310 <col width="150px" class="parameters_name">
1311 <col class="parameters_description">
1312 <col width="200px" class="parameters_annotations">
1313 </colgroup>
1314 <tbody>
1315 <tr>
1316 <td class="parameter_name"><p>ffuncs</p></td>
1317 <td class="parameter_description"><p>font functions.</p></td>
1318 <td class="parameter_annotations"> </td>
1319 </tr>
1320 <tr>
1321 <td class="parameter_name"><p>func</p></td>
1322 <td class="parameter_description"><p>. </p></td>
1323 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1324 </tr>
1325 </tbody>
1326 </table></div>
1327 </div>
1328 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1329 </div>
1330 <hr>
1331 <div class="refsect2">
1332 <a name="hb-font-funcs-set-glyph-v-advances-func"></a><h3>hb_font_funcs_set_glyph_v_advances_func ()</h3>
1333 <pre class="programlisting"><span class="returnvalue">void</span>
1334 hb_font_funcs_set_glyph_v_advances_func
1335                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1336                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-advances-func-t" title="hb_font_get_glyph_v_advances_func_t"><span class="type">hb_font_get_glyph_v_advances_func_t</span></a> func</code></em>,
1337                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1338                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1339 <div class="refsect3">
1340 <a name="hb-font-funcs-set-glyph-v-advances-func.parameters"></a><h4>Parameters</h4>
1341 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1342 <colgroup>
1343 <col width="150px" class="parameters_name">
1344 <col class="parameters_description">
1345 <col width="200px" class="parameters_annotations">
1346 </colgroup>
1347 <tbody>
1348 <tr>
1349 <td class="parameter_name"><p>ffuncs</p></td>
1350 <td class="parameter_description"><p>font functions.</p></td>
1351 <td class="parameter_annotations"> </td>
1352 </tr>
1353 <tr>
1354 <td class="parameter_name"><p>func</p></td>
1355 <td class="parameter_description"><p>. </p></td>
1356 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1357 </tr>
1358 </tbody>
1359 </table></div>
1360 </div>
1361 <p class="since">Since: <a class="link" href="api-index-1-8-6.html#api-index-1.8.6">1.8.6</a></p>
1362 </div>
1363 <hr>
1364 <div class="refsect2">
1365 <a name="hb-font-funcs-set-glyph-v-origin-func"></a><h3>hb_font_funcs_set_glyph_v_origin_func ()</h3>
1366 <pre class="programlisting"><span class="returnvalue">void</span>
1367 hb_font_funcs_set_glyph_v_origin_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1368                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-origin-func-t" title="hb_font_get_glyph_v_origin_func_t"><span class="type">hb_font_get_glyph_v_origin_func_t</span></a> func</code></em>,
1369                                        <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1370                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1371 <div class="refsect3">
1372 <a name="hb-font-funcs-set-glyph-v-origin-func.parameters"></a><h4>Parameters</h4>
1373 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1374 <colgroup>
1375 <col width="150px" class="parameters_name">
1376 <col class="parameters_description">
1377 <col width="200px" class="parameters_annotations">
1378 </colgroup>
1379 <tbody>
1380 <tr>
1381 <td class="parameter_name"><p>ffuncs</p></td>
1382 <td class="parameter_description"><p>font functions.</p></td>
1383 <td class="parameter_annotations"> </td>
1384 </tr>
1385 <tr>
1386 <td class="parameter_name"><p>func</p></td>
1387 <td class="parameter_description"><p>. </p></td>
1388 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1389 </tr>
1390 </tbody>
1391 </table></div>
1392 </div>
1393 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1394 </div>
1395 <hr>
1396 <div class="refsect2">
1397 <a name="hb-font-funcs-set-nominal-glyph-func"></a><h3>hb_font_funcs_set_nominal_glyph_func ()</h3>
1398 <pre class="programlisting"><span class="returnvalue">void</span>
1399 hb_font_funcs_set_nominal_glyph_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1400                                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-nominal-glyph-func-t" title="hb_font_get_nominal_glyph_func_t ()"><span class="type">hb_font_get_nominal_glyph_func_t</span></a> func</code></em>,
1401                                       <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1402                                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1403 <div class="refsect3">
1404 <a name="hb-font-funcs-set-nominal-glyph-func.parameters"></a><h4>Parameters</h4>
1405 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1406 <colgroup>
1407 <col width="150px" class="parameters_name">
1408 <col class="parameters_description">
1409 <col width="200px" class="parameters_annotations">
1410 </colgroup>
1411 <tbody>
1412 <tr>
1413 <td class="parameter_name"><p>ffuncs</p></td>
1414 <td class="parameter_description"><p>font functions.</p></td>
1415 <td class="parameter_annotations"> </td>
1416 </tr>
1417 <tr>
1418 <td class="parameter_name"><p>func</p></td>
1419 <td class="parameter_description"><p>. </p></td>
1420 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1421 </tr>
1422 </tbody>
1423 </table></div>
1424 </div>
1425 <p class="since">Since: <a class="link" href="api-index-1-2-3.html#api-index-1.2.3">1.2.3</a></p>
1426 </div>
1427 <hr>
1428 <div class="refsect2">
1429 <a name="hb-font-funcs-set-nominal-glyphs-func"></a><h3>hb_font_funcs_set_nominal_glyphs_func ()</h3>
1430 <pre class="programlisting"><span class="returnvalue">void</span>
1431 hb_font_funcs_set_nominal_glyphs_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1432                                        <em class="parameter"><code><span class="type">hb_font_get_nominal_glyphs_func_t</span> func</code></em>,
1433                                        <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1434                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1435 <div class="refsect3">
1436 <a name="hb-font-funcs-set-nominal-glyphs-func.parameters"></a><h4>Parameters</h4>
1437 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1438 <colgroup>
1439 <col width="150px" class="parameters_name">
1440 <col class="parameters_description">
1441 <col width="200px" class="parameters_annotations">
1442 </colgroup>
1443 <tbody>
1444 <tr>
1445 <td class="parameter_name"><p>ffuncs</p></td>
1446 <td class="parameter_description"><p>font functions.</p></td>
1447 <td class="parameter_annotations"> </td>
1448 </tr>
1449 <tr>
1450 <td class="parameter_name"><p>func</p></td>
1451 <td class="parameter_description"><p>. </p></td>
1452 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1453 </tr>
1454 </tbody>
1455 </table></div>
1456 </div>
1457 <p class="since">Since: <a class="link" href="api-index-2-0-0.html#api-index-2.0.0">2.0.0</a></p>
1458 </div>
1459 <hr>
1460 <div class="refsect2">
1461 <a name="hb-font-funcs-set-user-data"></a><h3>hb_font_funcs_set_user_data ()</h3>
1462 <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>
1463 hb_font_funcs_set_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1464                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>,
1465                              <em class="parameter"><code><span class="type">void</span> *data</code></em>,
1466                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>,
1467                              <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> replace</code></em>);</pre>
1468 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1469 <div class="refsect3">
1470 <a name="hb-font-funcs-set-user-data.parameters"></a><h4>Parameters</h4>
1471 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1472 <colgroup>
1473 <col width="150px" class="parameters_name">
1474 <col class="parameters_description">
1475 <col width="200px" class="parameters_annotations">
1476 </colgroup>
1477 <tbody><tr>
1478 <td class="parameter_name"><p>ffuncs</p></td>
1479 <td class="parameter_description"><p>font functions.</p></td>
1480 <td class="parameter_annotations"> </td>
1481 </tr></tbody>
1482 </table></div>
1483 </div>
1484 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1485 </div>
1486 <hr>
1487 <div class="refsect2">
1488 <a name="hb-font-funcs-set-variation-glyph-func"></a><h3>hb_font_funcs_set_variation_glyph_func ()</h3>
1489 <pre class="programlisting"><span class="returnvalue">void</span>
1490 hb_font_funcs_set_variation_glyph_func
1491                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1492                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-variation-glyph-func-t" title="hb_font_get_variation_glyph_func_t ()"><span class="type">hb_font_get_variation_glyph_func_t</span></a> func</code></em>,
1493                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1494                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1495 <div class="refsect3">
1496 <a name="hb-font-funcs-set-variation-glyph-func.parameters"></a><h4>Parameters</h4>
1497 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1498 <colgroup>
1499 <col width="150px" class="parameters_name">
1500 <col class="parameters_description">
1501 <col width="200px" class="parameters_annotations">
1502 </colgroup>
1503 <tbody>
1504 <tr>
1505 <td class="parameter_name"><p>ffuncs</p></td>
1506 <td class="parameter_description"><p>font functions.</p></td>
1507 <td class="parameter_annotations"> </td>
1508 </tr>
1509 <tr>
1510 <td class="parameter_name"><p>func</p></td>
1511 <td class="parameter_description"><p>. </p></td>
1512 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1513 </tr>
1514 </tbody>
1515 </table></div>
1516 </div>
1517 <p class="since">Since: <a class="link" href="api-index-1-2-3.html#api-index-1.2.3">1.2.3</a></p>
1518 </div>
1519 <hr>
1520 <div class="refsect2">
1521 <a name="hb-font-get-empty"></a><h3>hb_font_get_empty ()</h3>
1522 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
1523 hb_font_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1524 <div class="refsect3">
1525 <a name="hb-font-get-empty.returns"></a><h4>Returns</h4>
1526 <p> (transfer full)</p>
1527 </div>
1528 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1529 </div>
1530 <hr>
1531 <div class="refsect2">
1532 <a name="hb-font-get-face"></a><h3>hb_font_get_face ()</h3>
1533 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
1534 hb_font_get_face (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre>
1535 <div class="refsect3">
1536 <a name="hb-font-get-face.parameters"></a><h4>Parameters</h4>
1537 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1538 <colgroup>
1539 <col width="150px" class="parameters_name">
1540 <col class="parameters_description">
1541 <col width="200px" class="parameters_annotations">
1542 </colgroup>
1543 <tbody><tr>
1544 <td class="parameter_name"><p>font</p></td>
1545 <td class="parameter_description"><p>a font.</p></td>
1546 <td class="parameter_annotations"> </td>
1547 </tr></tbody>
1548 </table></div>
1549 </div>
1550 <div class="refsect3">
1551 <a name="hb-font-get-face.returns"></a><h4>Returns</h4>
1552 <p>. </p>
1553 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1554 </div>
1555 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1556 </div>
1557 <hr>
1558 <div class="refsect2">
1559 <a name="hb-font-get-glyph"></a><h3>hb_font_get_glyph ()</h3>
1560 <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>
1561 hb_font_get_glyph (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1562                    <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> unicode</code></em>,
1563                    <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> variation_selector</code></em>,
1564                    <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>
1565 <div class="refsect3">
1566 <a name="hb-font-get-glyph.parameters"></a><h4>Parameters</h4>
1567 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1568 <colgroup>
1569 <col width="150px" class="parameters_name">
1570 <col class="parameters_description">
1571 <col width="200px" class="parameters_annotations">
1572 </colgroup>
1573 <tbody>
1574 <tr>
1575 <td class="parameter_name"><p>font</p></td>
1576 <td class="parameter_description"><p>a font.</p></td>
1577 <td class="parameter_annotations"> </td>
1578 </tr>
1579 <tr>
1580 <td class="parameter_name"><p>glyph</p></td>
1581 <td class="parameter_description"><p>. </p></td>
1582 <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>
1583 </tr>
1584 </tbody>
1585 </table></div>
1586 </div>
1587 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1588 </div>
1589 <hr>
1590 <div class="refsect2">
1591 <a name="hb-font-get-glyph-advance-for-direction"></a><h3>hb_font_get_glyph_advance_for_direction ()</h3>
1592 <pre class="programlisting"><span class="returnvalue">void</span>
1593 hb_font_get_glyph_advance_for_direction
1594                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1595                                 <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>,
1596                                 <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>,
1597                                 <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> *x</code></em>,
1598                                 <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> *y</code></em>);</pre>
1599 <div class="refsect3">
1600 <a name="hb-font-get-glyph-advance-for-direction.parameters"></a><h4>Parameters</h4>
1601 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1602 <colgroup>
1603 <col width="150px" class="parameters_name">
1604 <col class="parameters_description">
1605 <col width="200px" class="parameters_annotations">
1606 </colgroup>
1607 <tbody>
1608 <tr>
1609 <td class="parameter_name"><p>font</p></td>
1610 <td class="parameter_description"><p>a font.</p></td>
1611 <td class="parameter_annotations"> </td>
1612 </tr>
1613 <tr>
1614 <td class="parameter_name"><p>x</p></td>
1615 <td class="parameter_description"><p>. </p></td>
1616 <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>
1617 </tr>
1618 <tr>
1619 <td class="parameter_name"><p>y</p></td>
1620 <td class="parameter_description"><p>. </p></td>
1621 <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>
1622 </tr>
1623 </tbody>
1624 </table></div>
1625 </div>
1626 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1627 </div>
1628 <hr>
1629 <div class="refsect2">
1630 <a name="hb-font-get-glyph-advance-func-t"></a><h3>hb_font_get_glyph_advance_func_t ()</h3>
1631 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
1632 <span class="c_punctuation">(</span>*hb_font_get_glyph_advance_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1633                                      <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1634                                      <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>,
1635                                      <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1636 </div>
1637 <hr>
1638 <div class="refsect2">
1639 <a name="hb-font-get-glyph-advances-for-direction"></a><h3>hb_font_get_glyph_advances_for_direction ()</h3>
1640 <pre class="programlisting"><span class="returnvalue">void</span>
1641 hb_font_get_glyph_advances_for_direction
1642                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1643                                 <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>,
1644                                 <em class="parameter"><code>unsigned <span class="type">int</span> count</code></em>,
1645                                 <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> *first_glyph</code></em>,
1646                                 <em class="parameter"><code><span class="type">unsigned </span> glyph_stride</code></em>,
1647                                 <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> *first_advance</code></em>,
1648                                 <em class="parameter"><code><span class="type">unsigned </span> advance_stride</code></em>);</pre>
1649 <div class="refsect3">
1650 <a name="hb-font-get-glyph-advances-for-direction.parameters"></a><h4>Parameters</h4>
1651 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1652 <colgroup>
1653 <col width="150px" class="parameters_name">
1654 <col class="parameters_description">
1655 <col width="200px" class="parameters_annotations">
1656 </colgroup>
1657 <tbody><tr>
1658 <td class="parameter_name"><p>font</p></td>
1659 <td class="parameter_description"><p>a font.</p></td>
1660 <td class="parameter_annotations"> </td>
1661 </tr></tbody>
1662 </table></div>
1663 </div>
1664 <p class="since">Since: <a class="link" href="api-index-1-8-6.html#api-index-1.8.6">1.8.6</a></p>
1665 </div>
1666 <hr>
1667 <div class="refsect2">
1668 <a name="hb-font-get-glyph-advances-func-t"></a><h3>hb_font_get_glyph_advances_func_t ()</h3>
1669 <pre class="programlisting"><span class="returnvalue">void</span>
1670 <span class="c_punctuation">(</span>*hb_font_get_glyph_advances_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1671                                       <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1672                                       <em class="parameter"><code>unsigned <span class="type">int</span> count</code></em>,
1673                                       <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> *first_glyph</code></em>,
1674                                       <em class="parameter"><code><span class="type">unsigned </span> glyph_stride</code></em>,
1675                                       <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> *first_advance</code></em>,
1676                                       <em class="parameter"><code><span class="type">unsigned </span> advance_stride</code></em>,
1677                                       <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1678 </div>
1679 <hr>
1680 <div class="refsect2">
1681 <a name="hb-font-get-glyph-contour-point"></a><h3>hb_font_get_glyph_contour_point ()</h3>
1682 <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>
1683 hb_font_get_glyph_contour_point (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1684                                  <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>,
1685                                  <em class="parameter"><code>unsigned <span class="type">int</span> point_index</code></em>,
1686                                  <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> *x</code></em>,
1687                                  <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> *y</code></em>);</pre>
1688 <div class="refsect3">
1689 <a name="hb-font-get-glyph-contour-point.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>font</p></td>
1699 <td class="parameter_description"><p>a font.</p></td>
1700 <td class="parameter_annotations"> </td>
1701 </tr>
1702 <tr>
1703 <td class="parameter_name"><p>x</p></td>
1704 <td class="parameter_description"><p>. </p></td>
1705 <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>
1706 </tr>
1707 <tr>
1708 <td class="parameter_name"><p>y</p></td>
1709 <td class="parameter_description"><p>. </p></td>
1710 <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>
1711 </tr>
1712 </tbody>
1713 </table></div>
1714 </div>
1715 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1716 </div>
1717 <hr>
1718 <div class="refsect2">
1719 <a name="hb-font-get-glyph-contour-point-for-origin"></a><h3>hb_font_get_glyph_contour_point_for_origin ()</h3>
1720 <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>
1721 hb_font_get_glyph_contour_point_for_origin
1722                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1723                                 <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>,
1724                                 <em class="parameter"><code>unsigned <span class="type">int</span> point_index</code></em>,
1725                                 <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>,
1726                                 <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> *x</code></em>,
1727                                 <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> *y</code></em>);</pre>
1728 <div class="refsect3">
1729 <a name="hb-font-get-glyph-contour-point-for-origin.parameters"></a><h4>Parameters</h4>
1730 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1731 <colgroup>
1732 <col width="150px" class="parameters_name">
1733 <col class="parameters_description">
1734 <col width="200px" class="parameters_annotations">
1735 </colgroup>
1736 <tbody>
1737 <tr>
1738 <td class="parameter_name"><p>font</p></td>
1739 <td class="parameter_description"><p>a font.</p></td>
1740 <td class="parameter_annotations"> </td>
1741 </tr>
1742 <tr>
1743 <td class="parameter_name"><p>x</p></td>
1744 <td class="parameter_description"><p>. </p></td>
1745 <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>
1746 </tr>
1747 <tr>
1748 <td class="parameter_name"><p>y</p></td>
1749 <td class="parameter_description"><p>. </p></td>
1750 <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>
1751 </tr>
1752 </tbody>
1753 </table></div>
1754 </div>
1755 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1756 </div>
1757 <hr>
1758 <div class="refsect2">
1759 <a name="hb-font-get-glyph-contour-point-func-t"></a><h3>hb_font_get_glyph_contour_point_func_t ()</h3>
1760 <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>
1761 <span class="c_punctuation">(</span>*hb_font_get_glyph_contour_point_func_t<span class="c_punctuation">)</span>
1762                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1763                                 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1764                                 <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>,
1765                                 <em class="parameter"><code>unsigned <span class="type">int</span> point_index</code></em>,
1766                                 <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> *x</code></em>,
1767                                 <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> *y</code></em>,
1768                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1769 </div>
1770 <hr>
1771 <div class="refsect2">
1772 <a name="hb-font-get-glyph-extents"></a><h3>hb_font_get_glyph_extents ()</h3>
1773 <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>
1774 hb_font_get_glyph_extents (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1775                            <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>,
1776                            <em class="parameter"><code><span class="type">hb_glyph_extents_t</span> *extents</code></em>);</pre>
1777 <div class="refsect3">
1778 <a name="hb-font-get-glyph-extents.parameters"></a><h4>Parameters</h4>
1779 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1780 <colgroup>
1781 <col width="150px" class="parameters_name">
1782 <col class="parameters_description">
1783 <col width="200px" class="parameters_annotations">
1784 </colgroup>
1785 <tbody>
1786 <tr>
1787 <td class="parameter_name"><p>font</p></td>
1788 <td class="parameter_description"><p>a font.</p></td>
1789 <td class="parameter_annotations"> </td>
1790 </tr>
1791 <tr>
1792 <td class="parameter_name"><p>extents</p></td>
1793 <td class="parameter_description"><p>. </p></td>
1794 <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>
1795 </tr>
1796 </tbody>
1797 </table></div>
1798 </div>
1799 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1800 </div>
1801 <hr>
1802 <div class="refsect2">
1803 <a name="hb-font-get-glyph-extents-for-origin"></a><h3>hb_font_get_glyph_extents_for_origin ()</h3>
1804 <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>
1805 hb_font_get_glyph_extents_for_origin (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1806                                       <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>,
1807                                       <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>,
1808                                       <em class="parameter"><code><span class="type">hb_glyph_extents_t</span> *extents</code></em>);</pre>
1809 <div class="refsect3">
1810 <a name="hb-font-get-glyph-extents-for-origin.parameters"></a><h4>Parameters</h4>
1811 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1812 <colgroup>
1813 <col width="150px" class="parameters_name">
1814 <col class="parameters_description">
1815 <col width="200px" class="parameters_annotations">
1816 </colgroup>
1817 <tbody>
1818 <tr>
1819 <td class="parameter_name"><p>font</p></td>
1820 <td class="parameter_description"><p>a font.</p></td>
1821 <td class="parameter_annotations"> </td>
1822 </tr>
1823 <tr>
1824 <td class="parameter_name"><p>extents</p></td>
1825 <td class="parameter_description"><p>. </p></td>
1826 <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>
1827 </tr>
1828 </tbody>
1829 </table></div>
1830 </div>
1831 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1832 </div>
1833 <hr>
1834 <div class="refsect2">
1835 <a name="hb-font-get-glyph-extents-func-t"></a><h3>hb_font_get_glyph_extents_func_t ()</h3>
1836 <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>
1837 <span class="c_punctuation">(</span>*hb_font_get_glyph_extents_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1838                                      <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1839                                      <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>,
1840                                      <em class="parameter"><code><span class="type">hb_glyph_extents_t</span> *extents</code></em>,
1841                                      <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1842 </div>
1843 <hr>
1844 <div class="refsect2">
1845 <a name="hb-font-get-glyph-from-name"></a><h3>hb_font_get_glyph_from_name ()</h3>
1846 <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>
1847 hb_font_get_glyph_from_name (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1848                              <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
1849                              <em class="parameter"><code><span class="type">int</span> len</code></em>,
1850                              <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>
1851 <div class="refsect3">
1852 <a name="hb-font-get-glyph-from-name.parameters"></a><h4>Parameters</h4>
1853 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1854 <colgroup>
1855 <col width="150px" class="parameters_name">
1856 <col class="parameters_description">
1857 <col width="200px" class="parameters_annotations">
1858 </colgroup>
1859 <tbody>
1860 <tr>
1861 <td class="parameter_name"><p>font</p></td>
1862 <td class="parameter_description"><p>a font.</p></td>
1863 <td class="parameter_annotations"> </td>
1864 </tr>
1865 <tr>
1866 <td class="parameter_name"><p>name</p></td>
1867 <td class="parameter_description"><p>. </p></td>
1868 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=len]</span></td>
1869 </tr>
1870 <tr>
1871 <td class="parameter_name"><p>glyph</p></td>
1872 <td class="parameter_description"><p>. </p></td>
1873 <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>
1874 </tr>
1875 </tbody>
1876 </table></div>
1877 </div>
1878 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1879 </div>
1880 <hr>
1881 <div class="refsect2">
1882 <a name="hb-font-get-glyph-from-name-func-t"></a><h3>hb_font_get_glyph_from_name_func_t ()</h3>
1883 <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>
1884 <span class="c_punctuation">(</span>*hb_font_get_glyph_from_name_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1885                                        <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1886                                        <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
1887                                        <em class="parameter"><code><span class="type">int</span> len</code></em>);</pre>
1888 </div>
1889 <hr>
1890 <div class="refsect2">
1891 <a name="hb-font-get-glyph-h-advance"></a><h3>hb_font_get_glyph_h_advance ()</h3>
1892 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
1893 hb_font_get_glyph_h_advance (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1894                              <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>
1895 <div class="refsect3">
1896 <a name="hb-font-get-glyph-h-advance.parameters"></a><h4>Parameters</h4>
1897 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1898 <colgroup>
1899 <col width="150px" class="parameters_name">
1900 <col class="parameters_description">
1901 <col width="200px" class="parameters_annotations">
1902 </colgroup>
1903 <tbody><tr>
1904 <td class="parameter_name"><p>font</p></td>
1905 <td class="parameter_description"><p>a font.</p></td>
1906 <td class="parameter_annotations"> </td>
1907 </tr></tbody>
1908 </table></div>
1909 </div>
1910 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1911 </div>
1912 <hr>
1913 <div class="refsect2">
1914 <a name="hb-font-get-glyph-h-advances"></a><h3>hb_font_get_glyph_h_advances ()</h3>
1915 <pre class="programlisting"><span class="returnvalue">void</span>
1916 hb_font_get_glyph_h_advances (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1917                               <em class="parameter"><code>unsigned <span class="type">int</span> count</code></em>,
1918                               <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> *first_glyph</code></em>,
1919                               <em class="parameter"><code><span class="type">unsigned </span> glyph_stride</code></em>,
1920                               <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> *first_advance</code></em>,
1921                               <em class="parameter"><code><span class="type">unsigned </span> advance_stride</code></em>);</pre>
1922 <div class="refsect3">
1923 <a name="hb-font-get-glyph-h-advances.parameters"></a><h4>Parameters</h4>
1924 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1925 <colgroup>
1926 <col width="150px" class="parameters_name">
1927 <col class="parameters_description">
1928 <col width="200px" class="parameters_annotations">
1929 </colgroup>
1930 <tbody><tr>
1931 <td class="parameter_name"><p>font</p></td>
1932 <td class="parameter_description"><p>a font.</p></td>
1933 <td class="parameter_annotations"> </td>
1934 </tr></tbody>
1935 </table></div>
1936 </div>
1937 <p class="since">Since: <a class="link" href="api-index-1-8-6.html#api-index-1.8.6">1.8.6</a></p>
1938 </div>
1939 <hr>
1940 <div class="refsect2">
1941 <a name="hb-font-get-glyph-h-origin"></a><h3>hb_font_get_glyph_h_origin ()</h3>
1942 <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>
1943 hb_font_get_glyph_h_origin (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1944                             <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>,
1945                             <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> *x</code></em>,
1946                             <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> *y</code></em>);</pre>
1947 <div class="refsect3">
1948 <a name="hb-font-get-glyph-h-origin.parameters"></a><h4>Parameters</h4>
1949 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1950 <colgroup>
1951 <col width="150px" class="parameters_name">
1952 <col class="parameters_description">
1953 <col width="200px" class="parameters_annotations">
1954 </colgroup>
1955 <tbody>
1956 <tr>
1957 <td class="parameter_name"><p>font</p></td>
1958 <td class="parameter_description"><p>a font.</p></td>
1959 <td class="parameter_annotations"> </td>
1960 </tr>
1961 <tr>
1962 <td class="parameter_name"><p>x</p></td>
1963 <td class="parameter_description"><p>. </p></td>
1964 <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>
1965 </tr>
1966 <tr>
1967 <td class="parameter_name"><p>y</p></td>
1968 <td class="parameter_description"><p>. </p></td>
1969 <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>
1970 </tr>
1971 </tbody>
1972 </table></div>
1973 </div>
1974 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1975 </div>
1976 <hr>
1977 <div class="refsect2">
1978 <a name="hb-font-get-glyph-name"></a><h3>hb_font_get_glyph_name ()</h3>
1979 <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>
1980 hb_font_get_glyph_name (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1981                         <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>,
1982                         <em class="parameter"><code><span class="type">char</span> *name</code></em>,
1983                         <em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>);</pre>
1984 <div class="refsect3">
1985 <a name="hb-font-get-glyph-name.parameters"></a><h4>Parameters</h4>
1986 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1987 <colgroup>
1988 <col width="150px" class="parameters_name">
1989 <col class="parameters_description">
1990 <col width="200px" class="parameters_annotations">
1991 </colgroup>
1992 <tbody>
1993 <tr>
1994 <td class="parameter_name"><p>font</p></td>
1995 <td class="parameter_description"><p>a font.</p></td>
1996 <td class="parameter_annotations"> </td>
1997 </tr>
1998 <tr>
1999 <td class="parameter_name"><p>name</p></td>
2000 <td class="parameter_description"><p>. </p></td>
2001 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size]</span></td>
2002 </tr>
2003 </tbody>
2004 </table></div>
2005 </div>
2006 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2007 </div>
2008 <hr>
2009 <div class="refsect2">
2010 <a name="hb-font-get-glyph-name-func-t"></a><h3>hb_font_get_glyph_name_func_t ()</h3>
2011 <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>
2012 <span class="c_punctuation">(</span>*hb_font_get_glyph_name_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2013                                   <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2014                                   <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>,
2015                                   <em class="parameter"><code><span class="type">char</span> *name</code></em>,
2016                                   <em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>,
2017                                   <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
2018 </div>
2019 <hr>
2020 <div class="refsect2">
2021 <a name="hb-font-get-glyph-origin-for-direction"></a><h3>hb_font_get_glyph_origin_for_direction ()</h3>
2022 <pre class="programlisting"><span class="returnvalue">void</span>
2023 hb_font_get_glyph_origin_for_direction
2024                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2025                                 <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>,
2026                                 <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>,
2027                                 <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> *x</code></em>,
2028                                 <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> *y</code></em>);</pre>
2029 <div class="refsect3">
2030 <a name="hb-font-get-glyph-origin-for-direction.parameters"></a><h4>Parameters</h4>
2031 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2032 <colgroup>
2033 <col width="150px" class="parameters_name">
2034 <col class="parameters_description">
2035 <col width="200px" class="parameters_annotations">
2036 </colgroup>
2037 <tbody>
2038 <tr>
2039 <td class="parameter_name"><p>font</p></td>
2040 <td class="parameter_description"><p>a font.</p></td>
2041 <td class="parameter_annotations"> </td>
2042 </tr>
2043 <tr>
2044 <td class="parameter_name"><p>x</p></td>
2045 <td class="parameter_description"><p>. </p></td>
2046 <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>
2047 </tr>
2048 <tr>
2049 <td class="parameter_name"><p>y</p></td>
2050 <td class="parameter_description"><p>. </p></td>
2051 <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>
2052 </tr>
2053 </tbody>
2054 </table></div>
2055 </div>
2056 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2057 </div>
2058 <hr>
2059 <div class="refsect2">
2060 <a name="hb-font-get-glyph-origin-func-t"></a><h3>hb_font_get_glyph_origin_func_t ()</h3>
2061 <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>
2062 <span class="c_punctuation">(</span>*hb_font_get_glyph_origin_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2063                                     <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2064                                     <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>,
2065                                     <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> *x</code></em>,
2066                                     <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> *y</code></em>,
2067                                     <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
2068 </div>
2069 <hr>
2070 <div class="refsect2">
2071 <a name="hb-font-get-glyph-v-advance"></a><h3>hb_font_get_glyph_v_advance ()</h3>
2072 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
2073 hb_font_get_glyph_v_advance (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2074                              <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>
2075 <div class="refsect3">
2076 <a name="hb-font-get-glyph-v-advance.parameters"></a><h4>Parameters</h4>
2077 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2078 <colgroup>
2079 <col width="150px" class="parameters_name">
2080 <col class="parameters_description">
2081 <col width="200px" class="parameters_annotations">
2082 </colgroup>
2083 <tbody><tr>
2084 <td class="parameter_name"><p>font</p></td>
2085 <td class="parameter_description"><p>a font.</p></td>
2086 <td class="parameter_annotations"> </td>
2087 </tr></tbody>
2088 </table></div>
2089 </div>
2090 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2091 </div>
2092 <hr>
2093 <div class="refsect2">
2094 <a name="hb-font-get-glyph-v-advances"></a><h3>hb_font_get_glyph_v_advances ()</h3>
2095 <pre class="programlisting"><span class="returnvalue">void</span>
2096 hb_font_get_glyph_v_advances (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2097                               <em class="parameter"><code>unsigned <span class="type">int</span> count</code></em>,
2098                               <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> *first_glyph</code></em>,
2099                               <em class="parameter"><code><span class="type">unsigned </span> glyph_stride</code></em>,
2100                               <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> *first_advance</code></em>,
2101                               <em class="parameter"><code><span class="type">unsigned </span> advance_stride</code></em>);</pre>
2102 <div class="refsect3">
2103 <a name="hb-font-get-glyph-v-advances.parameters"></a><h4>Parameters</h4>
2104 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2105 <colgroup>
2106 <col width="150px" class="parameters_name">
2107 <col class="parameters_description">
2108 <col width="200px" class="parameters_annotations">
2109 </colgroup>
2110 <tbody><tr>
2111 <td class="parameter_name"><p>font</p></td>
2112 <td class="parameter_description"><p>a font.</p></td>
2113 <td class="parameter_annotations"> </td>
2114 </tr></tbody>
2115 </table></div>
2116 </div>
2117 <p class="since">Since: <a class="link" href="api-index-1-8-6.html#api-index-1.8.6">1.8.6</a></p>
2118 </div>
2119 <hr>
2120 <div class="refsect2">
2121 <a name="hb-font-get-glyph-v-origin"></a><h3>hb_font_get_glyph_v_origin ()</h3>
2122 <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>
2123 hb_font_get_glyph_v_origin (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2124                             <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>,
2125                             <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> *x</code></em>,
2126                             <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> *y</code></em>);</pre>
2127 <div class="refsect3">
2128 <a name="hb-font-get-glyph-v-origin.parameters"></a><h4>Parameters</h4>
2129 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2130 <colgroup>
2131 <col width="150px" class="parameters_name">
2132 <col class="parameters_description">
2133 <col width="200px" class="parameters_annotations">
2134 </colgroup>
2135 <tbody>
2136 <tr>
2137 <td class="parameter_name"><p>font</p></td>
2138 <td class="parameter_description"><p>a font.</p></td>
2139 <td class="parameter_annotations"> </td>
2140 </tr>
2141 <tr>
2142 <td class="parameter_name"><p>x</p></td>
2143 <td class="parameter_description"><p>. </p></td>
2144 <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>
2145 </tr>
2146 <tr>
2147 <td class="parameter_name"><p>y</p></td>
2148 <td class="parameter_description"><p>. </p></td>
2149 <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>
2150 </tr>
2151 </tbody>
2152 </table></div>
2153 </div>
2154 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2155 </div>
2156 <hr>
2157 <div class="refsect2">
2158 <a name="hb-font-get-nominal-glyph"></a><h3>hb_font_get_nominal_glyph ()</h3>
2159 <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>
2160 hb_font_get_nominal_glyph (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2161                            <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> unicode</code></em>,
2162                            <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>
2163 <div class="refsect3">
2164 <a name="hb-font-get-nominal-glyph.parameters"></a><h4>Parameters</h4>
2165 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2166 <colgroup>
2167 <col width="150px" class="parameters_name">
2168 <col class="parameters_description">
2169 <col width="200px" class="parameters_annotations">
2170 </colgroup>
2171 <tbody>
2172 <tr>
2173 <td class="parameter_name"><p>font</p></td>
2174 <td class="parameter_description"><p>a font.</p></td>
2175 <td class="parameter_annotations"> </td>
2176 </tr>
2177 <tr>
2178 <td class="parameter_name"><p>glyph</p></td>
2179 <td class="parameter_description"><p>. </p></td>
2180 <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>
2181 </tr>
2182 </tbody>
2183 </table></div>
2184 </div>
2185 <p class="since">Since: <a class="link" href="api-index-1-2-3.html#api-index-1.2.3">1.2.3</a></p>
2186 </div>
2187 <hr>
2188 <div class="refsect2">
2189 <a name="hb-font-get-nominal-glyph-func-t"></a><h3>hb_font_get_nominal_glyph_func_t ()</h3>
2190 <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>
2191 <span class="c_punctuation">(</span>*hb_font_get_nominal_glyph_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2192                                      <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2193                                      <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> unicode</code></em>,
2194                                      <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>,
2195                                      <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
2196 </div>
2197 <hr>
2198 <div class="refsect2">
2199 <a name="hb-font-get-parent"></a><h3>hb_font_get_parent ()</h3>
2200 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
2201 hb_font_get_parent (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre>
2202 <div class="refsect3">
2203 <a name="hb-font-get-parent.parameters"></a><h4>Parameters</h4>
2204 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2205 <colgroup>
2206 <col width="150px" class="parameters_name">
2207 <col class="parameters_description">
2208 <col width="200px" class="parameters_annotations">
2209 </colgroup>
2210 <tbody><tr>
2211 <td class="parameter_name"><p>font</p></td>
2212 <td class="parameter_description"><p>a font.</p></td>
2213 <td class="parameter_annotations"> </td>
2214 </tr></tbody>
2215 </table></div>
2216 </div>
2217 <div class="refsect3">
2218 <a name="hb-font-get-parent.returns"></a><h4>Returns</h4>
2219 <p>. </p>
2220 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
2221 </div>
2222 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2223 </div>
2224 <hr>
2225 <div class="refsect2">
2226 <a name="hb-font-get-ppem"></a><h3>hb_font_get_ppem ()</h3>
2227 <pre class="programlisting"><span class="returnvalue">void</span>
2228 hb_font_get_ppem (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2229                   <em class="parameter"><code>unsigned <span class="type">int</span> *x_ppem</code></em>,
2230                   <em class="parameter"><code>unsigned <span class="type">int</span> *y_ppem</code></em>);</pre>
2231 <div class="refsect3">
2232 <a name="hb-font-get-ppem.parameters"></a><h4>Parameters</h4>
2233 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2234 <colgroup>
2235 <col width="150px" class="parameters_name">
2236 <col class="parameters_description">
2237 <col width="200px" class="parameters_annotations">
2238 </colgroup>
2239 <tbody>
2240 <tr>
2241 <td class="parameter_name"><p>font</p></td>
2242 <td class="parameter_description"><p>a font.</p></td>
2243 <td class="parameter_annotations"> </td>
2244 </tr>
2245 <tr>
2246 <td class="parameter_name"><p>x_ppem</p></td>
2247 <td class="parameter_description"><p>. </p></td>
2248 <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>
2249 </tr>
2250 <tr>
2251 <td class="parameter_name"><p>y_ppem</p></td>
2252 <td class="parameter_description"><p>. </p></td>
2253 <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>
2254 </tr>
2255 </tbody>
2256 </table></div>
2257 </div>
2258 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2259 </div>
2260 <hr>
2261 <div class="refsect2">
2262 <a name="hb-font-get-ptem"></a><h3>hb_font_get_ptem ()</h3>
2263 <pre class="programlisting"><span class="returnvalue">float</span>
2264 hb_font_get_ptem (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre>
2265 <p>Gets the "point size" of the font.  A value of 0 means unset.</p>
2266 <div class="refsect3">
2267 <a name="hb-font-get-ptem.parameters"></a><h4>Parameters</h4>
2268 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2269 <colgroup>
2270 <col width="150px" class="parameters_name">
2271 <col class="parameters_description">
2272 <col width="200px" class="parameters_annotations">
2273 </colgroup>
2274 <tbody><tr>
2275 <td class="parameter_name"><p>font</p></td>
2276 <td class="parameter_description"><p>a font.</p></td>
2277 <td class="parameter_annotations"> </td>
2278 </tr></tbody>
2279 </table></div>
2280 </div>
2281 <div class="refsect3">
2282 <a name="hb-font-get-ptem.returns"></a><h4>Returns</h4>
2283 <p> Point size.</p>
2284 </div>
2285 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2286 </div>
2287 <hr>
2288 <div class="refsect2">
2289 <a name="hb-font-get-scale"></a><h3>hb_font_get_scale ()</h3>
2290 <pre class="programlisting"><span class="returnvalue">void</span>
2291 hb_font_get_scale (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2292                    <em class="parameter"><code><span class="type">int</span> *x_scale</code></em>,
2293                    <em class="parameter"><code><span class="type">int</span> *y_scale</code></em>);</pre>
2294 <div class="refsect3">
2295 <a name="hb-font-get-scale.parameters"></a><h4>Parameters</h4>
2296 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2297 <colgroup>
2298 <col width="150px" class="parameters_name">
2299 <col class="parameters_description">
2300 <col width="200px" class="parameters_annotations">
2301 </colgroup>
2302 <tbody>
2303 <tr>
2304 <td class="parameter_name"><p>font</p></td>
2305 <td class="parameter_description"><p>a font.</p></td>
2306 <td class="parameter_annotations"> </td>
2307 </tr>
2308 <tr>
2309 <td class="parameter_name"><p>x_scale</p></td>
2310 <td class="parameter_description"><p>. </p></td>
2311 <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>
2312 </tr>
2313 <tr>
2314 <td class="parameter_name"><p>y_scale</p></td>
2315 <td class="parameter_description"><p>. </p></td>
2316 <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>
2317 </tr>
2318 </tbody>
2319 </table></div>
2320 </div>
2321 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2322 </div>
2323 <hr>
2324 <div class="refsect2">
2325 <a name="hb-font-get-user-data"></a><h3>hb_font_get_user_data ()</h3>
2326 <pre class="programlisting"><span class="returnvalue">void</span> *
2327 hb_font_get_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2328                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>);</pre>
2329 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2330 <div class="refsect3">
2331 <a name="hb-font-get-user-data.parameters"></a><h4>Parameters</h4>
2332 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2333 <colgroup>
2334 <col width="150px" class="parameters_name">
2335 <col class="parameters_description">
2336 <col width="200px" class="parameters_annotations">
2337 </colgroup>
2338 <tbody><tr>
2339 <td class="parameter_name"><p>font</p></td>
2340 <td class="parameter_description"><p>a font.</p></td>
2341 <td class="parameter_annotations"> </td>
2342 </tr></tbody>
2343 </table></div>
2344 </div>
2345 <div class="refsect3">
2346 <a name="hb-font-get-user-data.returns"></a><h4>Returns</h4>
2347 <p>. </p>
2348 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
2349 </div>
2350 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2351 </div>
2352 <hr>
2353 <div class="refsect2">
2354 <a name="hb-font-get-variation-glyph"></a><h3>hb_font_get_variation_glyph ()</h3>
2355 <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>
2356 hb_font_get_variation_glyph (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2357                              <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> unicode</code></em>,
2358                              <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> variation_selector</code></em>,
2359                              <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>
2360 <div class="refsect3">
2361 <a name="hb-font-get-variation-glyph.parameters"></a><h4>Parameters</h4>
2362 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2363 <colgroup>
2364 <col width="150px" class="parameters_name">
2365 <col class="parameters_description">
2366 <col width="200px" class="parameters_annotations">
2367 </colgroup>
2368 <tbody>
2369 <tr>
2370 <td class="parameter_name"><p>font</p></td>
2371 <td class="parameter_description"><p>a font.</p></td>
2372 <td class="parameter_annotations"> </td>
2373 </tr>
2374 <tr>
2375 <td class="parameter_name"><p>glyph</p></td>
2376 <td class="parameter_description"><p>. </p></td>
2377 <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>
2378 </tr>
2379 </tbody>
2380 </table></div>
2381 </div>
2382 <p class="since">Since: <a class="link" href="api-index-1-2-3.html#api-index-1.2.3">1.2.3</a></p>
2383 </div>
2384 <hr>
2385 <div class="refsect2">
2386 <a name="hb-font-get-variation-glyph-func-t"></a><h3>hb_font_get_variation_glyph_func_t ()</h3>
2387 <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>
2388 <span class="c_punctuation">(</span>*hb_font_get_variation_glyph_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2389                                        <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2390                                        <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> unicode</code></em>,
2391                                        <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> variation_selector</code></em>,
2392                                        <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>,
2393                                        <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
2394 </div>
2395 <hr>
2396 <div class="refsect2">
2397 <a name="hb-font-get-var-coords-normalized"></a><h3>hb_font_get_var_coords_normalized ()</h3>
2398 <pre class="programlisting">const <span class="returnvalue">int</span> *
2399 hb_font_get_var_coords_normalized (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2400                                    <em class="parameter"><code>unsigned <span class="type">int</span> *length</code></em>);</pre>
2401 <p>Return value is valid as long as variation coordinates of the font
2402 are not modified.</p>
2403 <p class="since">Since: <a class="link" href="api-index-1-4-2.html#api-index-1.4.2">1.4.2</a></p>
2404 </div>
2405 <hr>
2406 <div class="refsect2">
2407 <a name="hb-font-glyph-from-string"></a><h3>hb_font_glyph_from_string ()</h3>
2408 <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>
2409 hb_font_glyph_from_string (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2410                            <em class="parameter"><code>const <span class="type">char</span> *s</code></em>,
2411                            <em class="parameter"><code><span class="type">int</span> len</code></em>,
2412                            <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>
2413 <div class="refsect3">
2414 <a name="hb-font-glyph-from-string.parameters"></a><h4>Parameters</h4>
2415 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2416 <colgroup>
2417 <col width="150px" class="parameters_name">
2418 <col class="parameters_description">
2419 <col width="200px" class="parameters_annotations">
2420 </colgroup>
2421 <tbody>
2422 <tr>
2423 <td class="parameter_name"><p>font</p></td>
2424 <td class="parameter_description"><p>a font.</p></td>
2425 <td class="parameter_annotations"> </td>
2426 </tr>
2427 <tr>
2428 <td class="parameter_name"><p>s</p></td>
2429 <td class="parameter_description"><p>. </p></td>
2430 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=len][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> uint8_t]</span></td>
2431 </tr>
2432 <tr>
2433 <td class="parameter_name"><p>glyph</p></td>
2434 <td class="parameter_description"><p>. </p></td>
2435 <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>
2436 </tr>
2437 </tbody>
2438 </table></div>
2439 </div>
2440 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2441 </div>
2442 <hr>
2443 <div class="refsect2">
2444 <a name="hb-font-glyph-to-string"></a><h3>hb_font_glyph_to_string ()</h3>
2445 <pre class="programlisting"><span class="returnvalue">void</span>
2446 hb_font_glyph_to_string (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2447                          <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>,
2448                          <em class="parameter"><code><span class="type">char</span> *s</code></em>,
2449                          <em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>);</pre>
2450 <div class="refsect3">
2451 <a name="hb-font-glyph-to-string.parameters"></a><h4>Parameters</h4>
2452 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2453 <colgroup>
2454 <col width="150px" class="parameters_name">
2455 <col class="parameters_description">
2456 <col width="200px" class="parameters_annotations">
2457 </colgroup>
2458 <tbody>
2459 <tr>
2460 <td class="parameter_name"><p>font</p></td>
2461 <td class="parameter_description"><p>a font.</p></td>
2462 <td class="parameter_annotations"> </td>
2463 </tr>
2464 <tr>
2465 <td class="parameter_name"><p>s</p></td>
2466 <td class="parameter_description"><p>. </p></td>
2467 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size]</span></td>
2468 </tr>
2469 </tbody>
2470 </table></div>
2471 </div>
2472 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2473 </div>
2474 <hr>
2475 <div class="refsect2">
2476 <a name="hb-font-is-immutable"></a><h3>hb_font_is_immutable ()</h3>
2477 <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>
2478 hb_font_is_immutable (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre>
2479 <div class="refsect3">
2480 <a name="hb-font-is-immutable.parameters"></a><h4>Parameters</h4>
2481 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2482 <colgroup>
2483 <col width="150px" class="parameters_name">
2484 <col class="parameters_description">
2485 <col width="200px" class="parameters_annotations">
2486 </colgroup>
2487 <tbody><tr>
2488 <td class="parameter_name"><p>font</p></td>
2489 <td class="parameter_description"><p>a font.</p></td>
2490 <td class="parameter_annotations"> </td>
2491 </tr></tbody>
2492 </table></div>
2493 </div>
2494 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2495 </div>
2496 <hr>
2497 <div class="refsect2">
2498 <a name="hb-font-make-immutable"></a><h3>hb_font_make_immutable ()</h3>
2499 <pre class="programlisting"><span class="returnvalue">void</span>
2500 hb_font_make_immutable (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre>
2501 <div class="refsect3">
2502 <a name="hb-font-make-immutable.parameters"></a><h4>Parameters</h4>
2503 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2504 <colgroup>
2505 <col width="150px" class="parameters_name">
2506 <col class="parameters_description">
2507 <col width="200px" class="parameters_annotations">
2508 </colgroup>
2509 <tbody><tr>
2510 <td class="parameter_name"><p>font</p></td>
2511 <td class="parameter_description"><p>a font.</p></td>
2512 <td class="parameter_annotations"> </td>
2513 </tr></tbody>
2514 </table></div>
2515 </div>
2516 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2517 </div>
2518 <hr>
2519 <div class="refsect2">
2520 <a name="hb-font-reference"></a><h3>hb_font_reference ()</h3>
2521 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
2522 hb_font_reference (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre>
2523 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2524 <div class="refsect3">
2525 <a name="hb-font-reference.parameters"></a><h4>Parameters</h4>
2526 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2527 <colgroup>
2528 <col width="150px" class="parameters_name">
2529 <col class="parameters_description">
2530 <col width="200px" class="parameters_annotations">
2531 </colgroup>
2532 <tbody><tr>
2533 <td class="parameter_name"><p>font</p></td>
2534 <td class="parameter_description"><p>a font.</p></td>
2535 <td class="parameter_annotations"> </td>
2536 </tr></tbody>
2537 </table></div>
2538 </div>
2539 <div class="refsect3">
2540 <a name="hb-font-reference.returns"></a><h4>Returns</h4>
2541 <p>. </p>
2542 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
2543 </div>
2544 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2545 </div>
2546 <hr>
2547 <div class="refsect2">
2548 <a name="hb-font-set-face"></a><h3>hb_font_set_face ()</h3>
2549 <pre class="programlisting"><span class="returnvalue">void</span>
2550 hb_font_set_face (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2551                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="type">hb_face_t</span></a> *face</code></em>);</pre>
2552 <p>Sets font-face of <em class="parameter"><code>font</code></em>
2553 .</p>
2554 <div class="refsect3">
2555 <a name="hb-font-set-face.parameters"></a><h4>Parameters</h4>
2556 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2557 <colgroup>
2558 <col width="150px" class="parameters_name">
2559 <col class="parameters_description">
2560 <col width="200px" class="parameters_annotations">
2561 </colgroup>
2562 <tbody>
2563 <tr>
2564 <td class="parameter_name"><p>font</p></td>
2565 <td class="parameter_description"><p>a font.</p></td>
2566 <td class="parameter_annotations"> </td>
2567 </tr>
2568 <tr>
2569 <td class="parameter_name"><p>face</p></td>
2570 <td class="parameter_description"><p>new face.</p></td>
2571 <td class="parameter_annotations"> </td>
2572 </tr>
2573 </tbody>
2574 </table></div>
2575 </div>
2576 <p class="since">Since: <a class="link" href="api-index-1-4-3.html#api-index-1.4.3">1.4.3</a></p>
2577 </div>
2578 <hr>
2579 <div class="refsect2">
2580 <a name="hb-font-set-funcs"></a><h3>hb_font_set_funcs ()</h3>
2581 <pre class="programlisting"><span class="returnvalue">void</span>
2582 hb_font_set_funcs (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2583                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *klass</code></em>,
2584                    <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2585                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
2586 <div class="refsect3">
2587 <a name="hb-font-set-funcs.parameters"></a><h4>Parameters</h4>
2588 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2589 <colgroup>
2590 <col width="150px" class="parameters_name">
2591 <col class="parameters_description">
2592 <col width="200px" class="parameters_annotations">
2593 </colgroup>
2594 <tbody>
2595 <tr>
2596 <td class="parameter_name"><p>font</p></td>
2597 <td class="parameter_description"><p>a font.</p></td>
2598 <td class="parameter_annotations"> </td>
2599 </tr>
2600 <tr>
2601 <td class="parameter_name"><p>klass</p></td>
2602 <td class="parameter_description"><p>. </p></td>
2603 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> font_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
2604 </tr>
2605 </tbody>
2606 </table></div>
2607 </div>
2608 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2609 </div>
2610 <hr>
2611 <div class="refsect2">
2612 <a name="hb-font-set-funcs-data"></a><h3>hb_font_set_funcs_data ()</h3>
2613 <pre class="programlisting"><span class="returnvalue">void</span>
2614 hb_font_set_funcs_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2615                         <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2616                         <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
2617 <div class="refsect3">
2618 <a name="hb-font-set-funcs-data.parameters"></a><h4>Parameters</h4>
2619 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2620 <colgroup>
2621 <col width="150px" class="parameters_name">
2622 <col class="parameters_description">
2623 <col width="200px" class="parameters_annotations">
2624 </colgroup>
2625 <tbody>
2626 <tr>
2627 <td class="parameter_name"><p>font</p></td>
2628 <td class="parameter_description"><p>a font.</p></td>
2629 <td class="parameter_annotations"> </td>
2630 </tr>
2631 <tr>
2632 <td class="parameter_name"><p>font_data</p></td>
2633 <td class="parameter_description"><p>. </p></td>
2634 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
2635 </tr>
2636 </tbody>
2637 </table></div>
2638 </div>
2639 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2640 </div>
2641 <hr>
2642 <div class="refsect2">
2643 <a name="hb-font-set-parent"></a><h3>hb_font_set_parent ()</h3>
2644 <pre class="programlisting"><span class="returnvalue">void</span>
2645 hb_font_set_parent (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2646                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *parent</code></em>);</pre>
2647 <p>Sets parent font of <em class="parameter"><code>font</code></em>
2648 .</p>
2649 <div class="refsect3">
2650 <a name="hb-font-set-parent.parameters"></a><h4>Parameters</h4>
2651 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2652 <colgroup>
2653 <col width="150px" class="parameters_name">
2654 <col class="parameters_description">
2655 <col width="200px" class="parameters_annotations">
2656 </colgroup>
2657 <tbody>
2658 <tr>
2659 <td class="parameter_name"><p>font</p></td>
2660 <td class="parameter_description"><p>a font.</p></td>
2661 <td class="parameter_annotations"> </td>
2662 </tr>
2663 <tr>
2664 <td class="parameter_name"><p>parent</p></td>
2665 <td class="parameter_description"><p>new parent.</p></td>
2666 <td class="parameter_annotations"> </td>
2667 </tr>
2668 </tbody>
2669 </table></div>
2670 </div>
2671 <p class="since">Since: <a class="link" href="api-index-1-0-5.html#api-index-1.0.5">1.0.5</a></p>
2672 </div>
2673 <hr>
2674 <div class="refsect2">
2675 <a name="hb-font-set-ppem"></a><h3>hb_font_set_ppem ()</h3>
2676 <pre class="programlisting"><span class="returnvalue">void</span>
2677 hb_font_set_ppem (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2678                   <em class="parameter"><code>unsigned <span class="type">int</span> x_ppem</code></em>,
2679                   <em class="parameter"><code>unsigned <span class="type">int</span> y_ppem</code></em>);</pre>
2680 <div class="refsect3">
2681 <a name="hb-font-set-ppem.parameters"></a><h4>Parameters</h4>
2682 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2683 <colgroup>
2684 <col width="150px" class="parameters_name">
2685 <col class="parameters_description">
2686 <col width="200px" class="parameters_annotations">
2687 </colgroup>
2688 <tbody><tr>
2689 <td class="parameter_name"><p>font</p></td>
2690 <td class="parameter_description"><p>a font.</p></td>
2691 <td class="parameter_annotations"> </td>
2692 </tr></tbody>
2693 </table></div>
2694 </div>
2695 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2696 </div>
2697 <hr>
2698 <div class="refsect2">
2699 <a name="hb-font-set-ptem"></a><h3>hb_font_set_ptem ()</h3>
2700 <pre class="programlisting"><span class="returnvalue">void</span>
2701 hb_font_set_ptem (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2702                   <em class="parameter"><code><span class="type">float</span> ptem</code></em>);</pre>
2703 <p>Sets "point size" of the font.  Set to 0 to unset.</p>
2704 <p>There are 72 points in an inch.</p>
2705 <div class="refsect3">
2706 <a name="hb-font-set-ptem.parameters"></a><h4>Parameters</h4>
2707 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2708 <colgroup>
2709 <col width="150px" class="parameters_name">
2710 <col class="parameters_description">
2711 <col width="200px" class="parameters_annotations">
2712 </colgroup>
2713 <tbody>
2714 <tr>
2715 <td class="parameter_name"><p>font</p></td>
2716 <td class="parameter_description"><p>a font.</p></td>
2717 <td class="parameter_annotations"> </td>
2718 </tr>
2719 <tr>
2720 <td class="parameter_name"><p>ptem</p></td>
2721 <td class="parameter_description"><p>font size in points.</p></td>
2722 <td class="parameter_annotations"> </td>
2723 </tr>
2724 </tbody>
2725 </table></div>
2726 </div>
2727 <p class="since">Since: <a class="link" href="api-index-1-6-0.html#api-index-1.6.0">1.6.0</a></p>
2728 </div>
2729 <hr>
2730 <div class="refsect2">
2731 <a name="hb-font-set-scale"></a><h3>hb_font_set_scale ()</h3>
2732 <pre class="programlisting"><span class="returnvalue">void</span>
2733 hb_font_set_scale (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2734                    <em class="parameter"><code><span class="type">int</span> x_scale</code></em>,
2735                    <em class="parameter"><code><span class="type">int</span> y_scale</code></em>);</pre>
2736 <div class="refsect3">
2737 <a name="hb-font-set-scale.parameters"></a><h4>Parameters</h4>
2738 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2739 <colgroup>
2740 <col width="150px" class="parameters_name">
2741 <col class="parameters_description">
2742 <col width="200px" class="parameters_annotations">
2743 </colgroup>
2744 <tbody><tr>
2745 <td class="parameter_name"><p>font</p></td>
2746 <td class="parameter_description"><p>a font.</p></td>
2747 <td class="parameter_annotations"> </td>
2748 </tr></tbody>
2749 </table></div>
2750 </div>
2751 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2752 </div>
2753 <hr>
2754 <div class="refsect2">
2755 <a name="hb-font-set-user-data"></a><h3>hb_font_set_user_data ()</h3>
2756 <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>
2757 hb_font_set_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2758                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>,
2759                        <em class="parameter"><code><span class="type">void</span> *data</code></em>,
2760                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>,
2761                        <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> replace</code></em>);</pre>
2762 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2763 <div class="refsect3">
2764 <a name="hb-font-set-user-data.parameters"></a><h4>Parameters</h4>
2765 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2766 <colgroup>
2767 <col width="150px" class="parameters_name">
2768 <col class="parameters_description">
2769 <col width="200px" class="parameters_annotations">
2770 </colgroup>
2771 <tbody><tr>
2772 <td class="parameter_name"><p>font</p></td>
2773 <td class="parameter_description"><p>a font.</p></td>
2774 <td class="parameter_annotations"> </td>
2775 </tr></tbody>
2776 </table></div>
2777 </div>
2778 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2779 </div>
2780 <hr>
2781 <div class="refsect2">
2782 <a name="hb-variation-from-string"></a><h3>hb_variation_from_string ()</h3>
2783 <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>
2784 hb_variation_from_string (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
2785                           <em class="parameter"><code><span class="type">int</span> len</code></em>,
2786                           <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-variation-t" title="hb_variation_t"><span class="type">hb_variation_t</span></a> *variation</code></em>);</pre>
2787 <p class="since">Since: <a class="link" href="api-index-1-4-2.html#api-index-1.4.2">1.4.2</a></p>
2788 </div>
2789 <hr>
2790 <div class="refsect2">
2791 <a name="hb-variation-to-string"></a><h3>hb_variation_to_string ()</h3>
2792 <pre class="programlisting"><span class="returnvalue">void</span>
2793 hb_variation_to_string (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-variation-t" title="hb_variation_t"><span class="type">hb_variation_t</span></a> *variation</code></em>,
2794                         <em class="parameter"><code><span class="type">char</span> *buf</code></em>,
2795                         <em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>);</pre>
2796 <p class="since">Since: <a class="link" href="api-index-1-4-2.html#api-index-1.4.2">1.4.2</a></p>
2797 </div>
2798 <hr>
2799 <div class="refsect2">
2800 <a name="hb-font-set-variations"></a><h3>hb_font_set_variations ()</h3>
2801 <pre class="programlisting"><span class="returnvalue">void</span>
2802 hb_font_set_variations (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2803                         <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-font.html#hb-variation-t" title="hb_variation_t"><span class="type">hb_variation_t</span></a> *variations</code></em>,
2804                         <em class="parameter"><code>unsigned <span class="type">int</span> variations_length</code></em>);</pre>
2805 <p class="since">Since: <a class="link" href="api-index-1-4-2.html#api-index-1.4.2">1.4.2</a></p>
2806 </div>
2807 <hr>
2808 <div class="refsect2">
2809 <a name="hb-font-set-var-coords-design"></a><h3>hb_font_set_var_coords_design ()</h3>
2810 <pre class="programlisting"><span class="returnvalue">void</span>
2811 hb_font_set_var_coords_design (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2812                                <em class="parameter"><code>const <span class="type">float</span> *coords</code></em>,
2813                                <em class="parameter"><code>unsigned <span class="type">int</span> coords_length</code></em>);</pre>
2814 <p class="since">Since: <a class="link" href="api-index-1-4-2.html#api-index-1.4.2">1.4.2</a></p>
2815 </div>
2816 <hr>
2817 <div class="refsect2">
2818 <a name="hb-font-set-var-coords-normalized"></a><h3>hb_font_set_var_coords_normalized ()</h3>
2819 <pre class="programlisting"><span class="returnvalue">void</span>
2820 hb_font_set_var_coords_normalized (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2821                                    <em class="parameter"><code>const <span class="type">int</span> *coords</code></em>,
2822                                    <em class="parameter"><code>unsigned <span class="type">int</span> coords_length</code></em>);</pre>
2823 <p class="since">Since: <a class="link" href="api-index-1-4-2.html#api-index-1.4.2">1.4.2</a></p>
2824 </div>
2825 <hr>
2826 <div class="refsect2">
2827 <a name="hb-font-subtract-glyph-origin-for-direction"></a><h3>hb_font_subtract_glyph_origin_for_direction ()</h3>
2828 <pre class="programlisting"><span class="returnvalue">void</span>
2829 hb_font_subtract_glyph_origin_for_direction
2830                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2831                                 <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>,
2832                                 <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>,
2833                                 <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> *x</code></em>,
2834                                 <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> *y</code></em>);</pre>
2835 <div class="refsect3">
2836 <a name="hb-font-subtract-glyph-origin-for-direction.parameters"></a><h4>Parameters</h4>
2837 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2838 <colgroup>
2839 <col width="150px" class="parameters_name">
2840 <col class="parameters_description">
2841 <col width="200px" class="parameters_annotations">
2842 </colgroup>
2843 <tbody>
2844 <tr>
2845 <td class="parameter_name"><p>font</p></td>
2846 <td class="parameter_description"><p>a font.</p></td>
2847 <td class="parameter_annotations"> </td>
2848 </tr>
2849 <tr>
2850 <td class="parameter_name"><p>x</p></td>
2851 <td class="parameter_description"><p>. </p></td>
2852 <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>
2853 </tr>
2854 <tr>
2855 <td class="parameter_name"><p>y</p></td>
2856 <td class="parameter_description"><p>. </p></td>
2857 <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>
2858 </tr>
2859 </tbody>
2860 </table></div>
2861 </div>
2862 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2863 </div>
2864 <hr>
2865 <div class="refsect2">
2866 <a name="hb-reference-table-func-t"></a><h3>hb_reference_table_func_t ()</h3>
2867 <pre class="programlisting"><a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
2868 <span class="c_punctuation">(</span>*hb_reference_table_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="type">hb_face_t</span></a> *face</code></em>,
2869                               <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>,
2870                               <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
2871 </div>
2872 <hr>
2873 <div class="refsect2">
2874 <a name="hb-font-funcs-set-font-h-extents-func"></a><h3>hb_font_funcs_set_font_h_extents_func ()</h3>
2875 <pre class="programlisting"><span class="returnvalue">void</span>
2876 hb_font_funcs_set_font_h_extents_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
2877                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-font-h-extents-func-t" title="hb_font_get_font_h_extents_func_t"><span class="type">hb_font_get_font_h_extents_func_t</span></a> func</code></em>,
2878                                        <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
2879                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
2880 <div class="refsect3">
2881 <a name="hb-font-funcs-set-font-h-extents-func.parameters"></a><h4>Parameters</h4>
2882 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2883 <colgroup>
2884 <col width="150px" class="parameters_name">
2885 <col class="parameters_description">
2886 <col width="200px" class="parameters_annotations">
2887 </colgroup>
2888 <tbody>
2889 <tr>
2890 <td class="parameter_name"><p>ffuncs</p></td>
2891 <td class="parameter_description"><p>font functions.</p></td>
2892 <td class="parameter_annotations"> </td>
2893 </tr>
2894 <tr>
2895 <td class="parameter_name"><p>func</p></td>
2896 <td class="parameter_description"><p>. </p></td>
2897 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
2898 </tr>
2899 </tbody>
2900 </table></div>
2901 </div>
2902 <p class="since">Since: <a class="link" href="api-index-1-1-2.html#api-index-1.1.2">1.1.2</a></p>
2903 </div>
2904 <hr>
2905 <div class="refsect2">
2906 <a name="hb-font-funcs-set-font-v-extents-func"></a><h3>hb_font_funcs_set_font_v_extents_func ()</h3>
2907 <pre class="programlisting"><span class="returnvalue">void</span>
2908 hb_font_funcs_set_font_v_extents_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
2909                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-font-v-extents-func-t" title="hb_font_get_font_v_extents_func_t"><span class="type">hb_font_get_font_v_extents_func_t</span></a> func</code></em>,
2910                                        <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
2911                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
2912 <div class="refsect3">
2913 <a name="hb-font-funcs-set-font-v-extents-func.parameters"></a><h4>Parameters</h4>
2914 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2915 <colgroup>
2916 <col width="150px" class="parameters_name">
2917 <col class="parameters_description">
2918 <col width="200px" class="parameters_annotations">
2919 </colgroup>
2920 <tbody>
2921 <tr>
2922 <td class="parameter_name"><p>ffuncs</p></td>
2923 <td class="parameter_description"><p>font functions.</p></td>
2924 <td class="parameter_annotations"> </td>
2925 </tr>
2926 <tr>
2927 <td class="parameter_name"><p>func</p></td>
2928 <td class="parameter_description"><p>. </p></td>
2929 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
2930 </tr>
2931 </tbody>
2932 </table></div>
2933 </div>
2934 <p class="since">Since: <a class="link" href="api-index-1-1-2.html#api-index-1.1.2">1.1.2</a></p>
2935 </div>
2936 <hr>
2937 <div class="refsect2">
2938 <a name="hb-font-get-extents-for-direction"></a><h3>hb_font_get_extents_for_direction ()</h3>
2939 <pre class="programlisting"><span class="returnvalue">void</span>
2940 hb_font_get_extents_for_direction (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2941                                    <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>,
2942                                    <em class="parameter"><code><span class="type">hb_font_extents_t</span> *extents</code></em>);</pre>
2943 <div class="refsect3">
2944 <a name="hb-font-get-extents-for-direction.parameters"></a><h4>Parameters</h4>
2945 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2946 <colgroup>
2947 <col width="150px" class="parameters_name">
2948 <col class="parameters_description">
2949 <col width="200px" class="parameters_annotations">
2950 </colgroup>
2951 <tbody>
2952 <tr>
2953 <td class="parameter_name"><p>font</p></td>
2954 <td class="parameter_description"><p>a font.</p></td>
2955 <td class="parameter_annotations"> </td>
2956 </tr>
2957 <tr>
2958 <td class="parameter_name"><p>extents</p></td>
2959 <td class="parameter_description"><p>. </p></td>
2960 <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>
2961 </tr>
2962 </tbody>
2963 </table></div>
2964 </div>
2965 <p class="since">Since: <a class="link" href="api-index-1-1-3.html#api-index-1.1.3">1.1.3</a></p>
2966 </div>
2967 <hr>
2968 <div class="refsect2">
2969 <a name="hb-font-get-font-extents-func-t"></a><h3>hb_font_get_font_extents_func_t ()</h3>
2970 <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>
2971 <span class="c_punctuation">(</span>*hb_font_get_font_extents_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2972                                     <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2973                                     <em class="parameter"><code><span class="type">hb_font_extents_t</span> *extents</code></em>,
2974                                     <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
2975 </div>
2976 <hr>
2977 <div class="refsect2">
2978 <a name="hb-font-get-h-extents"></a><h3>hb_font_get_h_extents ()</h3>
2979 <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>
2980 hb_font_get_h_extents (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2981                        <em class="parameter"><code><span class="type">hb_font_extents_t</span> *extents</code></em>);</pre>
2982 <div class="refsect3">
2983 <a name="hb-font-get-h-extents.parameters"></a><h4>Parameters</h4>
2984 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2985 <colgroup>
2986 <col width="150px" class="parameters_name">
2987 <col class="parameters_description">
2988 <col width="200px" class="parameters_annotations">
2989 </colgroup>
2990 <tbody>
2991 <tr>
2992 <td class="parameter_name"><p>font</p></td>
2993 <td class="parameter_description"><p>a font.</p></td>
2994 <td class="parameter_annotations"> </td>
2995 </tr>
2996 <tr>
2997 <td class="parameter_name"><p>extents</p></td>
2998 <td class="parameter_description"><p>. </p></td>
2999 <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>
3000 </tr>
3001 </tbody>
3002 </table></div>
3003 </div>
3004 <p class="since">Since: <a class="link" href="api-index-1-1-3.html#api-index-1.1.3">1.1.3</a></p>
3005 </div>
3006 <hr>
3007 <div class="refsect2">
3008 <a name="hb-font-get-v-extents"></a><h3>hb_font_get_v_extents ()</h3>
3009 <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>
3010 hb_font_get_v_extents (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
3011                        <em class="parameter"><code><span class="type">hb_font_extents_t</span> *extents</code></em>);</pre>
3012 <div class="refsect3">
3013 <a name="hb-font-get-v-extents.parameters"></a><h4>Parameters</h4>
3014 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3015 <colgroup>
3016 <col width="150px" class="parameters_name">
3017 <col class="parameters_description">
3018 <col width="200px" class="parameters_annotations">
3019 </colgroup>
3020 <tbody>
3021 <tr>
3022 <td class="parameter_name"><p>font</p></td>
3023 <td class="parameter_description"><p>a font.</p></td>
3024 <td class="parameter_annotations"> </td>
3025 </tr>
3026 <tr>
3027 <td class="parameter_name"><p>extents</p></td>
3028 <td class="parameter_description"><p>. </p></td>
3029 <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>
3030 </tr>
3031 </tbody>
3032 </table></div>
3033 </div>
3034 <p class="since">Since: <a class="link" href="api-index-1-1-3.html#api-index-1.1.3">1.1.3</a></p>
3035 </div>
3036 </div>
3037 <div class="refsect1">
3038 <a name="harfbuzz-hb-font.other_details"></a><h2>Types and Values</h2>
3039 <div class="refsect2">
3040 <a name="hb-font-funcs-t"></a><h3>hb_font_funcs_t</h3>
3041 <pre class="programlisting">typedef struct hb_font_funcs_t hb_font_funcs_t;
3042 </pre>
3043 </div>
3044 <hr>
3045 <div class="refsect2">
3046 <a name="hb-font-get-glyph-h-advance-func-t"></a><h3>hb_font_get_glyph_h_advance_func_t</h3>
3047 <pre class="programlisting">typedef hb_font_get_glyph_advance_func_t hb_font_get_glyph_h_advance_func_t;
3048 </pre>
3049 </div>
3050 <hr>
3051 <div class="refsect2">
3052 <a name="hb-font-get-glyph-h-advances-func-t"></a><h3>hb_font_get_glyph_h_advances_func_t</h3>
3053 <pre class="programlisting">typedef hb_font_get_glyph_advances_func_t hb_font_get_glyph_h_advances_func_t;
3054 </pre>
3055 </div>
3056 <hr>
3057 <div class="refsect2">
3058 <a name="hb-font-get-glyph-h-origin-func-t"></a><h3>hb_font_get_glyph_h_origin_func_t</h3>
3059 <pre class="programlisting">typedef hb_font_get_glyph_origin_func_t hb_font_get_glyph_h_origin_func_t;
3060 </pre>
3061 </div>
3062 <hr>
3063 <div class="refsect2">
3064 <a name="hb-font-get-glyph-v-advance-func-t"></a><h3>hb_font_get_glyph_v_advance_func_t</h3>
3065 <pre class="programlisting">typedef hb_font_get_glyph_advance_func_t hb_font_get_glyph_v_advance_func_t;
3066 </pre>
3067 </div>
3068 <hr>
3069 <div class="refsect2">
3070 <a name="hb-font-get-glyph-v-advances-func-t"></a><h3>hb_font_get_glyph_v_advances_func_t</h3>
3071 <pre class="programlisting">typedef hb_font_get_glyph_advances_func_t hb_font_get_glyph_v_advances_func_t;
3072 </pre>
3073 </div>
3074 <hr>
3075 <div class="refsect2">
3076 <a name="hb-font-get-glyph-v-origin-func-t"></a><h3>hb_font_get_glyph_v_origin_func_t</h3>
3077 <pre class="programlisting">typedef hb_font_get_glyph_origin_func_t hb_font_get_glyph_v_origin_func_t;
3078 </pre>
3079 </div>
3080 <hr>
3081 <div class="refsect2">
3082 <a name="hb-variation-t"></a><h3>hb_variation_t</h3>
3083 <pre class="programlisting">typedef struct {
3084   hb_tag_t tag;
3085   float    value;
3086 } hb_variation_t;
3087 </pre>
3088 <p class="since">Since: <a class="link" href="api-index-1-4-2.html#api-index-1.4.2">1.4.2</a></p>
3089 </div>
3090 <hr>
3091 <div class="refsect2">
3092 <a name="hb-font-t"></a><h3>hb_font_t</h3>
3093 <pre class="programlisting">typedef struct hb_font_t hb_font_t;
3094 </pre>
3095 </div>
3096 <hr>
3097 <div class="refsect2">
3098 <a name="hb-font-get-font-h-extents-func-t"></a><h3>hb_font_get_font_h_extents_func_t</h3>
3099 <pre class="programlisting">typedef hb_font_get_font_extents_func_t hb_font_get_font_h_extents_func_t;
3100 </pre>
3101 </div>
3102 <hr>
3103 <div class="refsect2">
3104 <a name="hb-font-get-font-v-extents-func-t"></a><h3>hb_font_get_font_v_extents_func_t</h3>
3105 <pre class="programlisting">typedef hb_font_get_font_extents_func_t hb_font_get_font_v_extents_func_t;
3106 </pre>
3107 </div>
3108 </div>
3109 </div>
3110 <div class="footer">
3111 <hr>Generated by GTK-Doc V1.25</div>
3112 </body>
3113 </html>