1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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.78.1">
7 <link rel="home" href="index.html" title="HarfBuzz Manual">
8 <link rel="up" href="ch07.html" title="Harfbuzz API">
9 <link rel="prev" href="harfbuzz-hb-face.html" title="hb-face">
10 <link rel="next" href="harfbuzz-Shaping.html" title="Shaping">
11 <meta name="generator" content="GTK-Doc V1.24.1 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
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>
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="ch07.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-Shaping.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26 <div class="refentry">
27 <a name="harfbuzz-hb-font"></a><div class="titlepage"></div>
28 <div class="refnamediv"><table width="100%"><tr>
30 <h2><span class="refentrytitle"><a name="harfbuzz-hb-font.top_of_page"></a>hb-font</span></h2>
33 <td class="gallery_image" valign="top" align="right"></td>
35 <div class="refsect1">
36 <a name="harfbuzz-hb-font.functions"></a><h2>Functions</h2>
37 <div class="informaltable"><table width="100%" border="0">
39 <col width="150px" class="functions_return">
40 <col class="functions_name">
44 <td class="function_type">
45 <span class="returnvalue">void</span>
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>
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> *
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>
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> *
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>
68 <td class="function_type">
69 <span class="returnvalue">void</span>
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>
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> *
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>
84 <td class="function_type">
85 <span class="returnvalue">void</span>
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>
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> *
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>
100 <td class="function_type">
101 <span class="returnvalue">void</span> *
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>
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>
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>
116 <td class="function_type">
117 <span class="returnvalue">void</span>
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>
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> *
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>
132 <td class="function_type">
133 <span class="returnvalue">void</span>
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>
140 <td class="function_type">
141 <span class="returnvalue">void</span>
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>
148 <td class="function_type">
149 <span class="returnvalue">void</span>
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>
156 <td class="function_type">
157 <span class="returnvalue">void</span>
159 <td class="function_name">
160 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-func" title="hb_font_funcs_set_glyph_func ()">hb_font_funcs_set_glyph_func</a> <span class="c_punctuation">()</span>
164 <td class="function_type">
165 <span class="returnvalue">void</span>
167 <td class="function_name">
168 <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>
172 <td class="function_type">
173 <span class="returnvalue">void</span>
175 <td class="function_name">
176 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-h-kerning-func" title="hb_font_funcs_set_glyph_h_kerning_func ()">hb_font_funcs_set_glyph_h_kerning_func</a> <span class="c_punctuation">()</span>
180 <td class="function_type">
181 <span class="returnvalue">void</span>
183 <td class="function_name">
184 <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>
188 <td class="function_type">
189 <span class="returnvalue">void</span>
191 <td class="function_name">
192 <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>
196 <td class="function_type">
197 <span class="returnvalue">void</span>
199 <td class="function_name">
200 <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>
204 <td class="function_type">
205 <span class="returnvalue">void</span>
207 <td class="function_name">
208 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-v-kerning-func" title="hb_font_funcs_set_glyph_v_kerning_func ()">hb_font_funcs_set_glyph_v_kerning_func</a> <span class="c_punctuation">()</span>
212 <td class="function_type">
213 <span class="returnvalue">void</span>
215 <td class="function_name">
216 <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>
220 <td class="function_type">
221 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
223 <td class="function_name">
224 <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>
228 <td class="function_type">
229 <a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
231 <td class="function_name">
232 <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>
236 <td class="function_type">
237 <a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
239 <td class="function_name">
240 <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>
244 <td class="function_type">
245 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
247 <td class="function_name">
248 <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>
252 <td class="function_type">
253 <span class="returnvalue">void</span>
255 <td class="function_name">
256 <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>
260 <td class="function_type">
261 <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
263 <td class="function_name">
264 <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>
268 <td class="function_type">
269 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
271 <td class="function_name">
272 <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>
276 <td class="function_type">
277 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
279 <td class="function_name">
280 <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>
284 <td class="function_type">
285 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
287 <td class="function_name">
288 <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>
292 <td class="function_type">
293 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
295 <td class="function_name">
296 <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>
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>
303 <td class="function_name">
304 <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>
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>
311 <td class="function_name">
312 <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>
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>
319 <td class="function_name">
320 <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>
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>
327 <td class="function_name">
328 <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>
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>
335 <td class="function_name">
336 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-func-t" title="hb_font_get_glyph_func_t ()">*hb_font_get_glyph_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
340 <td class="function_type">
341 <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
343 <td class="function_name">
344 <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>
348 <td class="function_type">
349 <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
351 <td class="function_name">
352 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-kerning" title="hb_font_get_glyph_h_kerning ()">hb_font_get_glyph_h_kerning</a> <span class="c_punctuation">()</span>
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>
359 <td class="function_name">
360 <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>
364 <td class="function_type">
365 <span class="returnvalue">void</span>
367 <td class="function_name">
368 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-kerning-for-direction" title="hb_font_get_glyph_kerning_for_direction ()">hb_font_get_glyph_kerning_for_direction</a> <span class="c_punctuation">()</span>
372 <td class="function_type">
373 <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
375 <td class="function_name">
376 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-kerning-func-t" title="hb_font_get_glyph_kerning_func_t ()">*hb_font_get_glyph_kerning_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
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>
383 <td class="function_name">
384 <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>
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>
391 <td class="function_name">
392 <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>
396 <td class="function_type">
397 <span class="returnvalue">void</span>
399 <td class="function_name">
400 <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>
404 <td class="function_type">
405 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
407 <td class="function_name">
408 <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>
412 <td class="function_type">
413 <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
415 <td class="function_name">
416 <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>
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>
423 <td class="function_name">
424 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-kerning" title="hb_font_get_glyph_v_kerning ()">hb_font_get_glyph_v_kerning</a> <span class="c_punctuation">()</span>
428 <td class="function_type">
429 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
431 <td class="function_name">
432 <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>
436 <td class="function_type">
437 <a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
439 <td class="function_name">
440 <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>
444 <td class="function_type">
445 <span class="returnvalue">void</span>
447 <td class="function_name">
448 <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>
452 <td class="function_type">
453 <span class="returnvalue">void</span>
455 <td class="function_name">
456 <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>
460 <td class="function_type">
461 <span class="returnvalue">void</span> *
463 <td class="function_name">
464 <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>
468 <td class="function_type">
469 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
471 <td class="function_name">
472 <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>
476 <td class="function_type">
477 <span class="returnvalue">void</span>
479 <td class="function_name">
480 <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>
484 <td class="function_type">
485 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
487 <td class="function_name">
488 <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>
492 <td class="function_type">
493 <span class="returnvalue">void</span>
495 <td class="function_name">
496 <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>
500 <td class="function_type">
501 <a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
503 <td class="function_name">
504 <a class="link" href="harfbuzz-hb-font.html#hb-font-reference" title="hb_font_reference ()">hb_font_reference</a> <span class="c_punctuation">()</span>
508 <td class="function_type">
509 <span class="returnvalue">void</span>
511 <td class="function_name">
512 <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>
516 <td class="function_type">
517 <span class="returnvalue">void</span>
519 <td class="function_name">
520 <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>
524 <td class="function_type">
525 <span class="returnvalue">void</span>
527 <td class="function_name">
528 <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>
532 <td class="function_type">
533 <span class="returnvalue">void</span>
535 <td class="function_name">
536 <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>
540 <td class="function_type">
541 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
543 <td class="function_name">
544 <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>
548 <td class="function_type">
549 <span class="returnvalue">void</span>
551 <td class="function_name">
552 <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>
556 <td class="function_type">
557 <a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
559 <td class="function_name">
560 <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>
564 <td class="function_type">
565 <span class="returnvalue">void</span>
567 <td class="function_name">
568 <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>
572 <td class="function_type">
573 <span class="returnvalue">void</span>
575 <td class="function_name">
576 <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>
580 <td class="function_type">
581 <span class="returnvalue">void</span>
583 <td class="function_name">
584 <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>
588 <td class="function_type">
589 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
591 <td class="function_name">
592 <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>
596 <td class="function_type">
597 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
599 <td class="function_name">
600 <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>
604 <td class="function_type">
605 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
607 <td class="function_name">
608 <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>
612 <td class="function_type">
613 <span class="returnvalue">void</span>
615 <td class="function_name">
616 <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>
622 <a name="hb-font-funcs-t"></a><a name="hb-font-t"></a><div class="refsect1">
623 <a name="harfbuzz-hb-font.other"></a><h2>Types and Values</h2>
624 <div class="informaltable"><table width="100%" border="0">
626 <col width="150px" class="name">
627 <col class="description">
631 <td class="typedef_keyword">typedef</td>
632 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t">hb_font_funcs_t</a></td>
635 <td class="typedef_keyword">typedef</td>
636 <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>
639 <td class="typedef_keyword">typedef</td>
640 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-kerning-func-t" title="hb_font_get_glyph_h_kerning_func_t">hb_font_get_glyph_h_kerning_func_t</a></td>
643 <td class="typedef_keyword">typedef</td>
644 <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>
647 <td class="typedef_keyword">typedef</td>
648 <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>
651 <td class="typedef_keyword">typedef</td>
652 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-kerning-func-t" title="hb_font_get_glyph_v_kerning_func_t">hb_font_get_glyph_v_kerning_func_t</a></td>
655 <td class="typedef_keyword">typedef</td>
656 <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>
659 <td class="typedef_keyword">typedef</td>
660 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-t">hb_font_t</a></td>
663 <td class="typedef_keyword">typedef</td>
664 <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>
667 <td class="typedef_keyword">typedef</td>
668 <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>
673 <div class="refsect1">
674 <a name="harfbuzz-hb-font.object-hierarchy"></a><h2>Object Hierarchy</h2>
675 <pre class="screen"> <a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
676 <span class="lineart">├──</span> hb_font_funcs_t
677 <span class="lineart">╰──</span> hb_font_t
680 <div class="refsect1">
681 <a name="harfbuzz-hb-font.description"></a><h2>Description</h2>
683 <div class="refsect1">
684 <a name="harfbuzz-hb-font.functions_details"></a><h2>Functions</h2>
685 <div class="refsect2">
686 <a name="hb-font-add-glyph-origin-for-direction"></a><h3>hb_font_add_glyph_origin_for_direction ()</h3>
687 <pre class="programlisting"><span class="returnvalue">void</span>
688 hb_font_add_glyph_origin_for_direction
689 (<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>,
690 <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>,
691 <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>,
692 <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>,
693 <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>
694 <div class="refsect3">
695 <a name="hb-font-add-glyph-origin-for-direction.parameters"></a><h4>Parameters</h4>
696 <div class="informaltable"><table width="100%" border="0">
698 <col width="150px" class="parameters_name">
699 <col class="parameters_description">
700 <col width="200px" class="parameters_annotations">
704 <td class="parameter_name"><p>font</p></td>
705 <td class="parameter_description"><p>a font.</p></td>
706 <td class="parameter_annotations"> </td>
709 <td class="parameter_name"><p>x</p></td>
710 <td class="parameter_description"><p>. </p></td>
711 <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>
714 <td class="parameter_name"><p>y</p></td>
715 <td class="parameter_description"><p>. </p></td>
716 <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>
721 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
724 <div class="refsect2">
725 <a name="hb-font-create"></a><h3>hb_font_create ()</h3>
726 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
727 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>
728 <p><span class="annotation">[Xconstructor]</span></p>
729 <div class="refsect3">
730 <a name="hb-font-create.parameters"></a><h4>Parameters</h4>
731 <div class="informaltable"><table width="100%" border="0">
733 <col width="150px" class="parameters_name">
734 <col class="parameters_description">
735 <col width="200px" class="parameters_annotations">
738 <td class="parameter_name"><p>face</p></td>
739 <td class="parameter_description"><p>a face.</p></td>
740 <td class="parameter_annotations"> </td>
744 <div class="refsect3">
745 <a name="hb-font-create.returns"></a><h4>Returns</h4>
747 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
749 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
752 <div class="refsect2">
753 <a name="hb-font-create-sub-font"></a><h3>hb_font_create_sub_font ()</h3>
754 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
755 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>
756 <div class="refsect3">
757 <a name="hb-font-create-sub-font.parameters"></a><h4>Parameters</h4>
758 <div class="informaltable"><table width="100%" border="0">
760 <col width="150px" class="parameters_name">
761 <col class="parameters_description">
762 <col width="200px" class="parameters_annotations">
765 <td class="parameter_name"><p>parent</p></td>
766 <td class="parameter_description"><p>parent font.</p></td>
767 <td class="parameter_annotations"> </td>
771 <div class="refsect3">
772 <a name="hb-font-create-sub-font.returns"></a><h4>Returns</h4>
774 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
776 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
779 <div class="refsect2">
780 <a name="hb-font-destroy"></a><h3>hb_font_destroy ()</h3>
781 <pre class="programlisting"><span class="returnvalue">void</span>
782 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>
783 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
784 <div class="refsect3">
785 <a name="hb-font-destroy.parameters"></a><h4>Parameters</h4>
786 <div class="informaltable"><table width="100%" border="0">
788 <col width="150px" class="parameters_name">
789 <col class="parameters_description">
790 <col width="200px" class="parameters_annotations">
793 <td class="parameter_name"><p>font</p></td>
794 <td class="parameter_description"><p>a font.</p></td>
795 <td class="parameter_annotations"> </td>
799 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
802 <div class="refsect2">
803 <a name="hb-font-funcs-create"></a><h3>hb_font_funcs_create ()</h3>
804 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
805 hb_font_funcs_create (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
806 <p><span class="annotation">[Xconstructor]</span></p>
807 <div class="refsect3">
808 <a name="hb-font-funcs-create.returns"></a><h4>Returns</h4>
810 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
812 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
815 <div class="refsect2">
816 <a name="hb-font-funcs-destroy"></a><h3>hb_font_funcs_destroy ()</h3>
817 <pre class="programlisting"><span class="returnvalue">void</span>
818 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>
819 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
820 <div class="refsect3">
821 <a name="hb-font-funcs-destroy.parameters"></a><h4>Parameters</h4>
822 <div class="informaltable"><table width="100%" border="0">
824 <col width="150px" class="parameters_name">
825 <col class="parameters_description">
826 <col width="200px" class="parameters_annotations">
829 <td class="parameter_name"><p>ffuncs</p></td>
830 <td class="parameter_description"><p>font functions.</p></td>
831 <td class="parameter_annotations"> </td>
835 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
838 <div class="refsect2">
839 <a name="hb-font-funcs-get-empty"></a><h3>hb_font_funcs_get_empty ()</h3>
840 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
841 hb_font_funcs_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
842 <div class="refsect3">
843 <a name="hb-font-funcs-get-empty.returns"></a><h4>Returns</h4>
845 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
847 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
850 <div class="refsect2">
851 <a name="hb-font-funcs-get-user-data"></a><h3>hb_font_funcs_get_user_data ()</h3>
852 <pre class="programlisting"><span class="returnvalue">void</span> *
853 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>,
854 <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>
855 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
856 <div class="refsect3">
857 <a name="hb-font-funcs-get-user-data.parameters"></a><h4>Parameters</h4>
858 <div class="informaltable"><table width="100%" border="0">
860 <col width="150px" class="parameters_name">
861 <col class="parameters_description">
862 <col width="200px" class="parameters_annotations">
865 <td class="parameter_name"><p>ffuncs</p></td>
866 <td class="parameter_description"><p>font functions.</p></td>
867 <td class="parameter_annotations"> </td>
871 <div class="refsect3">
872 <a name="hb-font-funcs-get-user-data.returns"></a><h4>Returns</h4>
874 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
876 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
879 <div class="refsect2">
880 <a name="hb-font-funcs-is-immutable"></a><h3>hb_font_funcs_is_immutable ()</h3>
881 <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>
882 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>
883 <div class="refsect3">
884 <a name="hb-font-funcs-is-immutable.parameters"></a><h4>Parameters</h4>
885 <div class="informaltable"><table width="100%" border="0">
887 <col width="150px" class="parameters_name">
888 <col class="parameters_description">
889 <col width="200px" class="parameters_annotations">
892 <td class="parameter_name"><p>ffuncs</p></td>
893 <td class="parameter_description"><p>font functions.</p></td>
894 <td class="parameter_annotations"> </td>
898 <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 class="refsect2">
902 <a name="hb-font-funcs-make-immutable"></a><h3>hb_font_funcs_make_immutable ()</h3>
903 <pre class="programlisting"><span class="returnvalue">void</span>
904 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>
905 <div class="refsect3">
906 <a name="hb-font-funcs-make-immutable.parameters"></a><h4>Parameters</h4>
907 <div class="informaltable"><table width="100%" border="0">
909 <col width="150px" class="parameters_name">
910 <col class="parameters_description">
911 <col width="200px" class="parameters_annotations">
914 <td class="parameter_name"><p>ffuncs</p></td>
915 <td class="parameter_description"><p>font functions.</p></td>
916 <td class="parameter_annotations"> </td>
920 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
923 <div class="refsect2">
924 <a name="hb-font-funcs-reference"></a><h3>hb_font_funcs_reference ()</h3>
925 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
926 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>
927 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
928 <div class="refsect3">
929 <a name="hb-font-funcs-reference.parameters"></a><h4>Parameters</h4>
930 <div class="informaltable"><table width="100%" border="0">
932 <col width="150px" class="parameters_name">
933 <col class="parameters_description">
934 <col width="200px" class="parameters_annotations">
937 <td class="parameter_name"><p>ffuncs</p></td>
938 <td class="parameter_description"><p>font functions.</p></td>
939 <td class="parameter_annotations"> </td>
943 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
946 <div class="refsect2">
947 <a name="hb-font-funcs-set-glyph-contour-point-func"></a><h3>hb_font_funcs_set_glyph_contour_point_func ()</h3>
948 <pre class="programlisting"><span class="returnvalue">void</span>
949 hb_font_funcs_set_glyph_contour_point_func
950 (<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>,
951 <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>,
952 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
953 <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>
954 <div class="refsect3">
955 <a name="hb-font-funcs-set-glyph-contour-point-func.parameters"></a><h4>Parameters</h4>
956 <div class="informaltable"><table width="100%" border="0">
958 <col width="150px" class="parameters_name">
959 <col class="parameters_description">
960 <col width="200px" class="parameters_annotations">
964 <td class="parameter_name"><p>ffuncs</p></td>
965 <td class="parameter_description"><p>font functions.</p></td>
966 <td class="parameter_annotations"> </td>
969 <td class="parameter_name"><p>func</p></td>
970 <td class="parameter_description"><p>. </p></td>
971 <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>
976 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
979 <div class="refsect2">
980 <a name="hb-font-funcs-set-glyph-extents-func"></a><h3>hb_font_funcs_set_glyph_extents_func ()</h3>
981 <pre class="programlisting"><span class="returnvalue">void</span>
982 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>,
983 <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>,
984 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
985 <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>
986 <div class="refsect3">
987 <a name="hb-font-funcs-set-glyph-extents-func.parameters"></a><h4>Parameters</h4>
988 <div class="informaltable"><table width="100%" border="0">
990 <col width="150px" class="parameters_name">
991 <col class="parameters_description">
992 <col width="200px" class="parameters_annotations">
996 <td class="parameter_name"><p>ffuncs</p></td>
997 <td class="parameter_description"><p>font functions.</p></td>
998 <td class="parameter_annotations"> </td>
1001 <td class="parameter_name"><p>func</p></td>
1002 <td class="parameter_description"><p>. </p></td>
1003 <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>
1008 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1011 <div class="refsect2">
1012 <a name="hb-font-funcs-set-glyph-from-name-func"></a><h3>hb_font_funcs_set_glyph_from_name_func ()</h3>
1013 <pre class="programlisting"><span class="returnvalue">void</span>
1014 hb_font_funcs_set_glyph_from_name_func
1015 (<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>,
1016 <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>,
1017 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1018 <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>
1019 <div class="refsect3">
1020 <a name="hb-font-funcs-set-glyph-from-name-func.parameters"></a><h4>Parameters</h4>
1021 <div class="informaltable"><table width="100%" border="0">
1023 <col width="150px" class="parameters_name">
1024 <col class="parameters_description">
1025 <col width="200px" class="parameters_annotations">
1029 <td class="parameter_name"><p>ffuncs</p></td>
1030 <td class="parameter_description"><p>font functions.</p></td>
1031 <td class="parameter_annotations"> </td>
1034 <td class="parameter_name"><p>func</p></td>
1035 <td class="parameter_description"><p>. </p></td>
1036 <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>
1041 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1044 <div class="refsect2">
1045 <a name="hb-font-funcs-set-glyph-func"></a><h3>hb_font_funcs_set_glyph_func ()</h3>
1046 <pre class="programlisting"><span class="returnvalue">void</span>
1047 hb_font_funcs_set_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>,
1048 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-func-t" title="hb_font_get_glyph_func_t ()"><span class="type">hb_font_get_glyph_func_t</span></a> func</code></em>,
1049 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1050 <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>
1051 <div class="warning"><p><code class="literal">hb_font_funcs_set_glyph_func</code> has been deprecated since version 1.2.3 and should not be used in newly-written code.</p></div>
1052 <p>Deprecated. Use <code class="function">hb_font_funcs_set_nominal_glyph_func()</code> and
1053 <code class="function">hb_font_funcs_set_variation_glyph_func()</code> instead.</p>
1054 <div class="refsect3">
1055 <a name="hb-font-funcs-set-glyph-func.parameters"></a><h4>Parameters</h4>
1056 <div class="informaltable"><table width="100%" border="0">
1058 <col width="150px" class="parameters_name">
1059 <col class="parameters_description">
1060 <col width="200px" class="parameters_annotations">
1064 <td class="parameter_name"><p>ffuncs</p></td>
1065 <td class="parameter_description"><p>font functions.</p></td>
1066 <td class="parameter_annotations"> </td>
1069 <td class="parameter_name"><p>func</p></td>
1070 <td class="parameter_description"><p>. </p></td>
1071 <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>
1076 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1079 <div class="refsect2">
1080 <a name="hb-font-funcs-set-glyph-h-advance-func"></a><h3>hb_font_funcs_set_glyph_h_advance_func ()</h3>
1081 <pre class="programlisting"><span class="returnvalue">void</span>
1082 hb_font_funcs_set_glyph_h_advance_func
1083 (<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>,
1084 <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>,
1085 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1086 <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>
1087 <div class="refsect3">
1088 <a name="hb-font-funcs-set-glyph-h-advance-func.parameters"></a><h4>Parameters</h4>
1089 <div class="informaltable"><table width="100%" border="0">
1091 <col width="150px" class="parameters_name">
1092 <col class="parameters_description">
1093 <col width="200px" class="parameters_annotations">
1097 <td class="parameter_name"><p>ffuncs</p></td>
1098 <td class="parameter_description"><p>font functions.</p></td>
1099 <td class="parameter_annotations"> </td>
1102 <td class="parameter_name"><p>func</p></td>
1103 <td class="parameter_description"><p>. </p></td>
1104 <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>
1109 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1112 <div class="refsect2">
1113 <a name="hb-font-funcs-set-glyph-h-kerning-func"></a><h3>hb_font_funcs_set_glyph_h_kerning_func ()</h3>
1114 <pre class="programlisting"><span class="returnvalue">void</span>
1115 hb_font_funcs_set_glyph_h_kerning_func
1116 (<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>,
1117 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-kerning-func-t" title="hb_font_get_glyph_h_kerning_func_t"><span class="type">hb_font_get_glyph_h_kerning_func_t</span></a> func</code></em>,
1118 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1119 <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>
1120 <div class="refsect3">
1121 <a name="hb-font-funcs-set-glyph-h-kerning-func.parameters"></a><h4>Parameters</h4>
1122 <div class="informaltable"><table width="100%" border="0">
1124 <col width="150px" class="parameters_name">
1125 <col class="parameters_description">
1126 <col width="200px" class="parameters_annotations">
1130 <td class="parameter_name"><p>ffuncs</p></td>
1131 <td class="parameter_description"><p>font functions.</p></td>
1132 <td class="parameter_annotations"> </td>
1135 <td class="parameter_name"><p>func</p></td>
1136 <td class="parameter_description"><p>. </p></td>
1137 <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>
1142 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1145 <div class="refsect2">
1146 <a name="hb-font-funcs-set-glyph-h-origin-func"></a><h3>hb_font_funcs_set_glyph_h_origin_func ()</h3>
1147 <pre class="programlisting"><span class="returnvalue">void</span>
1148 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>,
1149 <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>,
1150 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1151 <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>
1152 <div class="refsect3">
1153 <a name="hb-font-funcs-set-glyph-h-origin-func.parameters"></a><h4>Parameters</h4>
1154 <div class="informaltable"><table width="100%" border="0">
1156 <col width="150px" class="parameters_name">
1157 <col class="parameters_description">
1158 <col width="200px" class="parameters_annotations">
1162 <td class="parameter_name"><p>ffuncs</p></td>
1163 <td class="parameter_description"><p>font functions.</p></td>
1164 <td class="parameter_annotations"> </td>
1167 <td class="parameter_name"><p>func</p></td>
1168 <td class="parameter_description"><p>. </p></td>
1169 <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>
1174 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1177 <div class="refsect2">
1178 <a name="hb-font-funcs-set-glyph-name-func"></a><h3>hb_font_funcs_set_glyph_name_func ()</h3>
1179 <pre class="programlisting"><span class="returnvalue">void</span>
1180 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>,
1181 <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>,
1182 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1183 <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>
1184 <div class="refsect3">
1185 <a name="hb-font-funcs-set-glyph-name-func.parameters"></a><h4>Parameters</h4>
1186 <div class="informaltable"><table width="100%" border="0">
1188 <col width="150px" class="parameters_name">
1189 <col class="parameters_description">
1190 <col width="200px" class="parameters_annotations">
1194 <td class="parameter_name"><p>ffuncs</p></td>
1195 <td class="parameter_description"><p>font functions.</p></td>
1196 <td class="parameter_annotations"> </td>
1199 <td class="parameter_name"><p>func</p></td>
1200 <td class="parameter_description"><p>. </p></td>
1201 <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>
1206 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1209 <div class="refsect2">
1210 <a name="hb-font-funcs-set-glyph-v-advance-func"></a><h3>hb_font_funcs_set_glyph_v_advance_func ()</h3>
1211 <pre class="programlisting"><span class="returnvalue">void</span>
1212 hb_font_funcs_set_glyph_v_advance_func
1213 (<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>,
1214 <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>,
1215 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1216 <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>
1217 <div class="refsect3">
1218 <a name="hb-font-funcs-set-glyph-v-advance-func.parameters"></a><h4>Parameters</h4>
1219 <div class="informaltable"><table width="100%" border="0">
1221 <col width="150px" class="parameters_name">
1222 <col class="parameters_description">
1223 <col width="200px" class="parameters_annotations">
1227 <td class="parameter_name"><p>ffuncs</p></td>
1228 <td class="parameter_description"><p>font functions.</p></td>
1229 <td class="parameter_annotations"> </td>
1232 <td class="parameter_name"><p>func</p></td>
1233 <td class="parameter_description"><p>. </p></td>
1234 <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>
1239 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1242 <div class="refsect2">
1243 <a name="hb-font-funcs-set-glyph-v-kerning-func"></a><h3>hb_font_funcs_set_glyph_v_kerning_func ()</h3>
1244 <pre class="programlisting"><span class="returnvalue">void</span>
1245 hb_font_funcs_set_glyph_v_kerning_func
1246 (<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>,
1247 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-kerning-func-t" title="hb_font_get_glyph_v_kerning_func_t"><span class="type">hb_font_get_glyph_v_kerning_func_t</span></a> func</code></em>,
1248 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1249 <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>
1250 <div class="refsect3">
1251 <a name="hb-font-funcs-set-glyph-v-kerning-func.parameters"></a><h4>Parameters</h4>
1252 <div class="informaltable"><table width="100%" border="0">
1254 <col width="150px" class="parameters_name">
1255 <col class="parameters_description">
1256 <col width="200px" class="parameters_annotations">
1260 <td class="parameter_name"><p>ffuncs</p></td>
1261 <td class="parameter_description"><p>font functions.</p></td>
1262 <td class="parameter_annotations"> </td>
1265 <td class="parameter_name"><p>func</p></td>
1266 <td class="parameter_description"><p>. </p></td>
1267 <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>
1272 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1275 <div class="refsect2">
1276 <a name="hb-font-funcs-set-glyph-v-origin-func"></a><h3>hb_font_funcs_set_glyph_v_origin_func ()</h3>
1277 <pre class="programlisting"><span class="returnvalue">void</span>
1278 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>,
1279 <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>,
1280 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1281 <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>
1282 <div class="refsect3">
1283 <a name="hb-font-funcs-set-glyph-v-origin-func.parameters"></a><h4>Parameters</h4>
1284 <div class="informaltable"><table width="100%" border="0">
1286 <col width="150px" class="parameters_name">
1287 <col class="parameters_description">
1288 <col width="200px" class="parameters_annotations">
1292 <td class="parameter_name"><p>ffuncs</p></td>
1293 <td class="parameter_description"><p>font functions.</p></td>
1294 <td class="parameter_annotations"> </td>
1297 <td class="parameter_name"><p>func</p></td>
1298 <td class="parameter_description"><p>. </p></td>
1299 <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>
1304 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1307 <div class="refsect2">
1308 <a name="hb-font-funcs-set-user-data"></a><h3>hb_font_funcs_set_user_data ()</h3>
1309 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1310 hb_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>,
1311 <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>,
1312 <em class="parameter"><code><span class="type">void</span> *data</code></em>,
1313 <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>,
1314 <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>
1315 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1316 <div class="refsect3">
1317 <a name="hb-font-funcs-set-user-data.parameters"></a><h4>Parameters</h4>
1318 <div class="informaltable"><table width="100%" border="0">
1320 <col width="150px" class="parameters_name">
1321 <col class="parameters_description">
1322 <col width="200px" class="parameters_annotations">
1325 <td class="parameter_name"><p>ffuncs</p></td>
1326 <td class="parameter_description"><p>font functions.</p></td>
1327 <td class="parameter_annotations"> </td>
1331 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1334 <div class="refsect2">
1335 <a name="hb-font-get-empty"></a><h3>hb_font_get_empty ()</h3>
1336 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
1337 hb_font_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1338 <div class="refsect3">
1339 <a name="hb-font-get-empty.returns"></a><h4>Returns</h4>
1340 <p> (transfer full)</p>
1342 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1345 <div class="refsect2">
1346 <a name="hb-font-get-face"></a><h3>hb_font_get_face ()</h3>
1347 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
1348 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>
1349 <div class="refsect3">
1350 <a name="hb-font-get-face.parameters"></a><h4>Parameters</h4>
1351 <div class="informaltable"><table width="100%" border="0">
1353 <col width="150px" class="parameters_name">
1354 <col class="parameters_description">
1355 <col width="200px" class="parameters_annotations">
1358 <td class="parameter_name"><p>font</p></td>
1359 <td class="parameter_description"><p>a font.</p></td>
1360 <td class="parameter_annotations"> </td>
1364 <div class="refsect3">
1365 <a name="hb-font-get-face.returns"></a><h4>Returns</h4>
1367 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1369 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1372 <div class="refsect2">
1373 <a name="hb-font-get-glyph"></a><h3>hb_font_get_glyph ()</h3>
1374 <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>
1375 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>,
1376 <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>,
1377 <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>,
1378 <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>
1379 <div class="refsect3">
1380 <a name="hb-font-get-glyph.parameters"></a><h4>Parameters</h4>
1381 <div class="informaltable"><table width="100%" border="0">
1383 <col width="150px" class="parameters_name">
1384 <col class="parameters_description">
1385 <col width="200px" class="parameters_annotations">
1389 <td class="parameter_name"><p>font</p></td>
1390 <td class="parameter_description"><p>a font.</p></td>
1391 <td class="parameter_annotations"> </td>
1394 <td class="parameter_name"><p>glyph</p></td>
1395 <td class="parameter_description"><p>. </p></td>
1396 <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>
1401 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1404 <div class="refsect2">
1405 <a name="hb-font-get-glyph-advance-for-direction"></a><h3>hb_font_get_glyph_advance_for_direction ()</h3>
1406 <pre class="programlisting"><span class="returnvalue">void</span>
1407 hb_font_get_glyph_advance_for_direction
1408 (<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>,
1409 <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>,
1410 <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>,
1411 <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>,
1412 <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>
1413 <div class="refsect3">
1414 <a name="hb-font-get-glyph-advance-for-direction.parameters"></a><h4>Parameters</h4>
1415 <div class="informaltable"><table width="100%" border="0">
1417 <col width="150px" class="parameters_name">
1418 <col class="parameters_description">
1419 <col width="200px" class="parameters_annotations">
1423 <td class="parameter_name"><p>font</p></td>
1424 <td class="parameter_description"><p>a font.</p></td>
1425 <td class="parameter_annotations"> </td>
1428 <td class="parameter_name"><p>x</p></td>
1429 <td class="parameter_description"><p>. </p></td>
1430 <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>
1433 <td class="parameter_name"><p>y</p></td>
1434 <td class="parameter_description"><p>. </p></td>
1435 <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>
1440 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1443 <div class="refsect2">
1444 <a name="hb-font-get-glyph-advance-func-t"></a><h3>hb_font_get_glyph_advance_func_t ()</h3>
1445 <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>
1446 <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>,
1447 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1448 <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>,
1449 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1452 <div class="refsect2">
1453 <a name="hb-font-get-glyph-contour-point"></a><h3>hb_font_get_glyph_contour_point ()</h3>
1454 <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>
1455 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>,
1456 <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>,
1457 <em class="parameter"><code>unsigned <span class="type">int</span> point_index</code></em>,
1458 <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>,
1459 <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>
1460 <div class="refsect3">
1461 <a name="hb-font-get-glyph-contour-point.parameters"></a><h4>Parameters</h4>
1462 <div class="informaltable"><table width="100%" border="0">
1464 <col width="150px" class="parameters_name">
1465 <col class="parameters_description">
1466 <col width="200px" class="parameters_annotations">
1470 <td class="parameter_name"><p>font</p></td>
1471 <td class="parameter_description"><p>a font.</p></td>
1472 <td class="parameter_annotations"> </td>
1475 <td class="parameter_name"><p>x</p></td>
1476 <td class="parameter_description"><p>. </p></td>
1477 <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>
1480 <td class="parameter_name"><p>y</p></td>
1481 <td class="parameter_description"><p>. </p></td>
1482 <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>
1487 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1490 <div class="refsect2">
1491 <a name="hb-font-get-glyph-contour-point-for-origin"></a><h3>hb_font_get_glyph_contour_point_for_origin ()</h3>
1492 <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>
1493 hb_font_get_glyph_contour_point_for_origin
1494 (<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>,
1495 <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>,
1496 <em class="parameter"><code>unsigned <span class="type">int</span> point_index</code></em>,
1497 <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>,
1498 <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>,
1499 <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>
1500 <div class="refsect3">
1501 <a name="hb-font-get-glyph-contour-point-for-origin.parameters"></a><h4>Parameters</h4>
1502 <div class="informaltable"><table width="100%" border="0">
1504 <col width="150px" class="parameters_name">
1505 <col class="parameters_description">
1506 <col width="200px" class="parameters_annotations">
1510 <td class="parameter_name"><p>font</p></td>
1511 <td class="parameter_description"><p>a font.</p></td>
1512 <td class="parameter_annotations"> </td>
1515 <td class="parameter_name"><p>x</p></td>
1516 <td class="parameter_description"><p>. </p></td>
1517 <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>
1520 <td class="parameter_name"><p>y</p></td>
1521 <td class="parameter_description"><p>. </p></td>
1522 <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>
1527 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1530 <div class="refsect2">
1531 <a name="hb-font-get-glyph-contour-point-func-t"></a><h3>hb_font_get_glyph_contour_point_func_t ()</h3>
1532 <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>
1533 <span class="c_punctuation">(</span>*hb_font_get_glyph_contour_point_func_t<span class="c_punctuation">)</span>
1534 (<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>,
1535 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1536 <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>,
1537 <em class="parameter"><code>unsigned <span class="type">int</span> point_index</code></em>,
1538 <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>,
1539 <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>,
1540 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1543 <div class="refsect2">
1544 <a name="hb-font-get-glyph-extents"></a><h3>hb_font_get_glyph_extents ()</h3>
1545 <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>
1546 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>,
1547 <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>,
1548 <em class="parameter"><code><span class="type">hb_glyph_extents_t</span> *extents</code></em>);</pre>
1549 <div class="refsect3">
1550 <a name="hb-font-get-glyph-extents.parameters"></a><h4>Parameters</h4>
1551 <div class="informaltable"><table width="100%" border="0">
1553 <col width="150px" class="parameters_name">
1554 <col class="parameters_description">
1555 <col width="200px" class="parameters_annotations">
1559 <td class="parameter_name"><p>font</p></td>
1560 <td class="parameter_description"><p>a font.</p></td>
1561 <td class="parameter_annotations"> </td>
1564 <td class="parameter_name"><p>extents</p></td>
1565 <td class="parameter_description"><p>. </p></td>
1566 <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>
1571 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1574 <div class="refsect2">
1575 <a name="hb-font-get-glyph-extents-for-origin"></a><h3>hb_font_get_glyph_extents_for_origin ()</h3>
1576 <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>
1577 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>,
1578 <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>,
1579 <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>,
1580 <em class="parameter"><code><span class="type">hb_glyph_extents_t</span> *extents</code></em>);</pre>
1581 <div class="refsect3">
1582 <a name="hb-font-get-glyph-extents-for-origin.parameters"></a><h4>Parameters</h4>
1583 <div class="informaltable"><table width="100%" border="0">
1585 <col width="150px" class="parameters_name">
1586 <col class="parameters_description">
1587 <col width="200px" class="parameters_annotations">
1591 <td class="parameter_name"><p>font</p></td>
1592 <td class="parameter_description"><p>a font.</p></td>
1593 <td class="parameter_annotations"> </td>
1596 <td class="parameter_name"><p>extents</p></td>
1597 <td class="parameter_description"><p>. </p></td>
1598 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1603 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1606 <div class="refsect2">
1607 <a name="hb-font-get-glyph-extents-func-t"></a><h3>hb_font_get_glyph_extents_func_t ()</h3>
1608 <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>
1609 <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>,
1610 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1611 <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>,
1612 <em class="parameter"><code><span class="type">hb_glyph_extents_t</span> *extents</code></em>,
1613 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1616 <div class="refsect2">
1617 <a name="hb-font-get-glyph-from-name"></a><h3>hb_font_get_glyph_from_name ()</h3>
1618 <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>
1619 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>,
1620 <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
1621 <em class="parameter"><code><span class="type">int</span> len</code></em>,
1622 <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>
1623 <div class="refsect3">
1624 <a name="hb-font-get-glyph-from-name.parameters"></a><h4>Parameters</h4>
1625 <div class="informaltable"><table width="100%" border="0">
1627 <col width="150px" class="parameters_name">
1628 <col class="parameters_description">
1629 <col width="200px" class="parameters_annotations">
1633 <td class="parameter_name"><p>font</p></td>
1634 <td class="parameter_description"><p>a font.</p></td>
1635 <td class="parameter_annotations"> </td>
1638 <td class="parameter_name"><p>name</p></td>
1639 <td class="parameter_description"><p>. </p></td>
1640 <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>
1643 <td class="parameter_name"><p>glyph</p></td>
1644 <td class="parameter_description"><p>. </p></td>
1645 <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>
1650 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1653 <div class="refsect2">
1654 <a name="hb-font-get-glyph-from-name-func-t"></a><h3>hb_font_get_glyph_from_name_func_t ()</h3>
1655 <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>
1656 <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>,
1657 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1658 <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
1659 <em class="parameter"><code><span class="type">int</span> len</code></em>);</pre>
1662 <div class="refsect2">
1663 <a name="hb-font-get-glyph-func-t"></a><h3>hb_font_get_glyph_func_t ()</h3>
1664 <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>
1665 <span class="c_punctuation">(</span>*hb_font_get_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>,
1666 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1667 <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>,
1668 <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>,
1669 <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>,
1670 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1671 <div class="warning"><p><code class="literal">hb_font_get_glyph_func_t</code> is deprecated and should not be used in newly-written code.</p></div>
1674 <div class="refsect2">
1675 <a name="hb-font-get-glyph-h-advance"></a><h3>hb_font_get_glyph_h_advance ()</h3>
1676 <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>
1677 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>,
1678 <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>
1679 <div class="refsect3">
1680 <a name="hb-font-get-glyph-h-advance.parameters"></a><h4>Parameters</h4>
1681 <div class="informaltable"><table width="100%" border="0">
1683 <col width="150px" class="parameters_name">
1684 <col class="parameters_description">
1685 <col width="200px" class="parameters_annotations">
1688 <td class="parameter_name"><p>font</p></td>
1689 <td class="parameter_description"><p>a font.</p></td>
1690 <td class="parameter_annotations"> </td>
1694 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1697 <div class="refsect2">
1698 <a name="hb-font-get-glyph-h-kerning"></a><h3>hb_font_get_glyph_h_kerning ()</h3>
1699 <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>
1700 hb_font_get_glyph_h_kerning (<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>,
1701 <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> left_glyph</code></em>,
1702 <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> right_glyph</code></em>);</pre>
1703 <div class="refsect3">
1704 <a name="hb-font-get-glyph-h-kerning.parameters"></a><h4>Parameters</h4>
1705 <div class="informaltable"><table width="100%" border="0">
1707 <col width="150px" class="parameters_name">
1708 <col class="parameters_description">
1709 <col width="200px" class="parameters_annotations">
1712 <td class="parameter_name"><p>font</p></td>
1713 <td class="parameter_description"><p>a font.</p></td>
1714 <td class="parameter_annotations"> </td>
1718 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1721 <div class="refsect2">
1722 <a name="hb-font-get-glyph-h-origin"></a><h3>hb_font_get_glyph_h_origin ()</h3>
1723 <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>
1724 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>,
1725 <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>,
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-h-origin.parameters"></a><h4>Parameters</h4>
1730 <div class="informaltable"><table width="100%" border="0">
1732 <col width="150px" class="parameters_name">
1733 <col class="parameters_description">
1734 <col width="200px" class="parameters_annotations">
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>
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>
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>
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>
1758 <div class="refsect2">
1759 <a name="hb-font-get-glyph-kerning-for-direction"></a><h3>hb_font_get_glyph_kerning_for_direction ()</h3>
1760 <pre class="programlisting"><span class="returnvalue">void</span>
1761 hb_font_get_glyph_kerning_for_direction
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><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>,
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> second_glyph</code></em>,
1765 <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>,
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>);</pre>
1768 <div class="refsect3">
1769 <a name="hb-font-get-glyph-kerning-for-direction.parameters"></a><h4>Parameters</h4>
1770 <div class="informaltable"><table width="100%" border="0">
1772 <col width="150px" class="parameters_name">
1773 <col class="parameters_description">
1774 <col width="200px" class="parameters_annotations">
1778 <td class="parameter_name"><p>font</p></td>
1779 <td class="parameter_description"><p>a font.</p></td>
1780 <td class="parameter_annotations"> </td>
1783 <td class="parameter_name"><p>x</p></td>
1784 <td class="parameter_description"><p>. </p></td>
1785 <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>
1788 <td class="parameter_name"><p>y</p></td>
1789 <td class="parameter_description"><p>. </p></td>
1790 <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 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1798 <div class="refsect2">
1799 <a name="hb-font-get-glyph-kerning-func-t"></a><h3>hb_font_get_glyph_kerning_func_t ()</h3>
1800 <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>
1801 <span class="c_punctuation">(</span>*hb_font_get_glyph_kerning_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>,
1802 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1803 <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> first_glyph</code></em>,
1804 <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> second_glyph</code></em>,
1805 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1808 <div class="refsect2">
1809 <a name="hb-font-get-glyph-name"></a><h3>hb_font_get_glyph_name ()</h3>
1810 <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>
1811 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>,
1812 <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>,
1813 <em class="parameter"><code><span class="type">char</span> *name</code></em>,
1814 <em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>);</pre>
1815 <div class="refsect3">
1816 <a name="hb-font-get-glyph-name.parameters"></a><h4>Parameters</h4>
1817 <div class="informaltable"><table width="100%" border="0">
1819 <col width="150px" class="parameters_name">
1820 <col class="parameters_description">
1821 <col width="200px" class="parameters_annotations">
1825 <td class="parameter_name"><p>font</p></td>
1826 <td class="parameter_description"><p>a font.</p></td>
1827 <td class="parameter_annotations"> </td>
1830 <td class="parameter_name"><p>name</p></td>
1831 <td class="parameter_description"><p>. </p></td>
1832 <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>
1837 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1840 <div class="refsect2">
1841 <a name="hb-font-get-glyph-name-func-t"></a><h3>hb_font_get_glyph_name_func_t ()</h3>
1842 <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>
1843 <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>,
1844 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1845 <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>,
1846 <em class="parameter"><code><span class="type">char</span> *name</code></em>,
1847 <em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>,
1848 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1851 <div class="refsect2">
1852 <a name="hb-font-get-glyph-origin-for-direction"></a><h3>hb_font_get_glyph_origin_for_direction ()</h3>
1853 <pre class="programlisting"><span class="returnvalue">void</span>
1854 hb_font_get_glyph_origin_for_direction
1855 (<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>,
1856 <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>,
1857 <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>,
1858 <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>,
1859 <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>
1860 <div class="refsect3">
1861 <a name="hb-font-get-glyph-origin-for-direction.parameters"></a><h4>Parameters</h4>
1862 <div class="informaltable"><table width="100%" border="0">
1864 <col width="150px" class="parameters_name">
1865 <col class="parameters_description">
1866 <col width="200px" class="parameters_annotations">
1870 <td class="parameter_name"><p>font</p></td>
1871 <td class="parameter_description"><p>a font.</p></td>
1872 <td class="parameter_annotations"> </td>
1875 <td class="parameter_name"><p>x</p></td>
1876 <td class="parameter_description"><p>. </p></td>
1877 <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>
1880 <td class="parameter_name"><p>y</p></td>
1881 <td class="parameter_description"><p>. </p></td>
1882 <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>
1887 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1890 <div class="refsect2">
1891 <a name="hb-font-get-glyph-origin-func-t"></a><h3>hb_font_get_glyph_origin_func_t ()</h3>
1892 <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>
1893 <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>,
1894 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1895 <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>,
1896 <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>,
1897 <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>,
1898 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1901 <div class="refsect2">
1902 <a name="hb-font-get-glyph-v-advance"></a><h3>hb_font_get_glyph_v_advance ()</h3>
1903 <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>
1904 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>,
1905 <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>
1906 <div class="refsect3">
1907 <a name="hb-font-get-glyph-v-advance.parameters"></a><h4>Parameters</h4>
1908 <div class="informaltable"><table width="100%" border="0">
1910 <col width="150px" class="parameters_name">
1911 <col class="parameters_description">
1912 <col width="200px" class="parameters_annotations">
1915 <td class="parameter_name"><p>font</p></td>
1916 <td class="parameter_description"><p>a font.</p></td>
1917 <td class="parameter_annotations"> </td>
1921 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1924 <div class="refsect2">
1925 <a name="hb-font-get-glyph-v-kerning"></a><h3>hb_font_get_glyph_v_kerning ()</h3>
1926 <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>
1927 hb_font_get_glyph_v_kerning (<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>,
1928 <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> top_glyph</code></em>,
1929 <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> bottom_glyph</code></em>);</pre>
1930 <div class="refsect3">
1931 <a name="hb-font-get-glyph-v-kerning.parameters"></a><h4>Parameters</h4>
1932 <div class="informaltable"><table width="100%" border="0">
1934 <col width="150px" class="parameters_name">
1935 <col class="parameters_description">
1936 <col width="200px" class="parameters_annotations">
1939 <td class="parameter_name"><p>font</p></td>
1940 <td class="parameter_description"><p>a font.</p></td>
1941 <td class="parameter_annotations"> </td>
1945 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1948 <div class="refsect2">
1949 <a name="hb-font-get-glyph-v-origin"></a><h3>hb_font_get_glyph_v_origin ()</h3>
1950 <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>
1951 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>,
1952 <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>,
1953 <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>,
1954 <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>
1955 <div class="refsect3">
1956 <a name="hb-font-get-glyph-v-origin.parameters"></a><h4>Parameters</h4>
1957 <div class="informaltable"><table width="100%" border="0">
1959 <col width="150px" class="parameters_name">
1960 <col class="parameters_description">
1961 <col width="200px" class="parameters_annotations">
1965 <td class="parameter_name"><p>font</p></td>
1966 <td class="parameter_description"><p>a font.</p></td>
1967 <td class="parameter_annotations"> </td>
1970 <td class="parameter_name"><p>x</p></td>
1971 <td class="parameter_description"><p>. </p></td>
1972 <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>
1975 <td class="parameter_name"><p>y</p></td>
1976 <td class="parameter_description"><p>. </p></td>
1977 <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>
1982 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1985 <div class="refsect2">
1986 <a name="hb-font-get-parent"></a><h3>hb_font_get_parent ()</h3>
1987 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
1988 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>
1989 <div class="refsect3">
1990 <a name="hb-font-get-parent.parameters"></a><h4>Parameters</h4>
1991 <div class="informaltable"><table width="100%" border="0">
1993 <col width="150px" class="parameters_name">
1994 <col class="parameters_description">
1995 <col width="200px" class="parameters_annotations">
1998 <td class="parameter_name"><p>font</p></td>
1999 <td class="parameter_description"><p>a font.</p></td>
2000 <td class="parameter_annotations"> </td>
2004 <div class="refsect3">
2005 <a name="hb-font-get-parent.returns"></a><h4>Returns</h4>
2007 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
2009 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2012 <div class="refsect2">
2013 <a name="hb-font-get-ppem"></a><h3>hb_font_get_ppem ()</h3>
2014 <pre class="programlisting"><span class="returnvalue">void</span>
2015 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>,
2016 <em class="parameter"><code>unsigned <span class="type">int</span> *x_ppem</code></em>,
2017 <em class="parameter"><code>unsigned <span class="type">int</span> *y_ppem</code></em>);</pre>
2018 <div class="refsect3">
2019 <a name="hb-font-get-ppem.parameters"></a><h4>Parameters</h4>
2020 <div class="informaltable"><table width="100%" border="0">
2022 <col width="150px" class="parameters_name">
2023 <col class="parameters_description">
2024 <col width="200px" class="parameters_annotations">
2028 <td class="parameter_name"><p>font</p></td>
2029 <td class="parameter_description"><p>a font.</p></td>
2030 <td class="parameter_annotations"> </td>
2033 <td class="parameter_name"><p>x_ppem</p></td>
2034 <td class="parameter_description"><p>. </p></td>
2035 <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>
2038 <td class="parameter_name"><p>y_ppem</p></td>
2039 <td class="parameter_description"><p>. </p></td>
2040 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2045 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2048 <div class="refsect2">
2049 <a name="hb-font-get-scale"></a><h3>hb_font_get_scale ()</h3>
2050 <pre class="programlisting"><span class="returnvalue">void</span>
2051 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>,
2052 <em class="parameter"><code><span class="type">int</span> *x_scale</code></em>,
2053 <em class="parameter"><code><span class="type">int</span> *y_scale</code></em>);</pre>
2054 <div class="refsect3">
2055 <a name="hb-font-get-scale.parameters"></a><h4>Parameters</h4>
2056 <div class="informaltable"><table width="100%" border="0">
2058 <col width="150px" class="parameters_name">
2059 <col class="parameters_description">
2060 <col width="200px" class="parameters_annotations">
2064 <td class="parameter_name"><p>font</p></td>
2065 <td class="parameter_description"><p>a font.</p></td>
2066 <td class="parameter_annotations"> </td>
2069 <td class="parameter_name"><p>x_scale</p></td>
2070 <td class="parameter_description"><p>. </p></td>
2071 <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>
2074 <td class="parameter_name"><p>y_scale</p></td>
2075 <td class="parameter_description"><p>. </p></td>
2076 <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>
2081 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2084 <div class="refsect2">
2085 <a name="hb-font-get-user-data"></a><h3>hb_font_get_user_data ()</h3>
2086 <pre class="programlisting"><span class="returnvalue">void</span> *
2087 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>,
2088 <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>
2089 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2090 <div class="refsect3">
2091 <a name="hb-font-get-user-data.parameters"></a><h4>Parameters</h4>
2092 <div class="informaltable"><table width="100%" border="0">
2094 <col width="150px" class="parameters_name">
2095 <col class="parameters_description">
2096 <col width="200px" class="parameters_annotations">
2099 <td class="parameter_name"><p>font</p></td>
2100 <td class="parameter_description"><p>a font.</p></td>
2101 <td class="parameter_annotations"> </td>
2105 <div class="refsect3">
2106 <a name="hb-font-get-user-data.returns"></a><h4>Returns</h4>
2108 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
2110 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2113 <div class="refsect2">
2114 <a name="hb-font-glyph-from-string"></a><h3>hb_font_glyph_from_string ()</h3>
2115 <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>
2116 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>,
2117 <em class="parameter"><code>const <span class="type">char</span> *s</code></em>,
2118 <em class="parameter"><code><span class="type">int</span> len</code></em>,
2119 <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>
2120 <div class="refsect3">
2121 <a name="hb-font-glyph-from-string.parameters"></a><h4>Parameters</h4>
2122 <div class="informaltable"><table width="100%" border="0">
2124 <col width="150px" class="parameters_name">
2125 <col class="parameters_description">
2126 <col width="200px" class="parameters_annotations">
2130 <td class="parameter_name"><p>font</p></td>
2131 <td class="parameter_description"><p>a font.</p></td>
2132 <td class="parameter_annotations"> </td>
2135 <td class="parameter_name"><p>s</p></td>
2136 <td class="parameter_description"><p>. </p></td>
2137 <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>
2140 <td class="parameter_name"><p>glyph</p></td>
2141 <td class="parameter_description"><p>. </p></td>
2142 <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>
2147 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2150 <div class="refsect2">
2151 <a name="hb-font-glyph-to-string"></a><h3>hb_font_glyph_to_string ()</h3>
2152 <pre class="programlisting"><span class="returnvalue">void</span>
2153 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>,
2154 <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>,
2155 <em class="parameter"><code><span class="type">char</span> *s</code></em>,
2156 <em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>);</pre>
2157 <div class="refsect3">
2158 <a name="hb-font-glyph-to-string.parameters"></a><h4>Parameters</h4>
2159 <div class="informaltable"><table width="100%" border="0">
2161 <col width="150px" class="parameters_name">
2162 <col class="parameters_description">
2163 <col width="200px" class="parameters_annotations">
2167 <td class="parameter_name"><p>font</p></td>
2168 <td class="parameter_description"><p>a font.</p></td>
2169 <td class="parameter_annotations"> </td>
2172 <td class="parameter_name"><p>s</p></td>
2173 <td class="parameter_description"><p>. </p></td>
2174 <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>
2179 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2182 <div class="refsect2">
2183 <a name="hb-font-is-immutable"></a><h3>hb_font_is_immutable ()</h3>
2184 <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>
2185 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>
2186 <div class="refsect3">
2187 <a name="hb-font-is-immutable.parameters"></a><h4>Parameters</h4>
2188 <div class="informaltable"><table width="100%" border="0">
2190 <col width="150px" class="parameters_name">
2191 <col class="parameters_description">
2192 <col width="200px" class="parameters_annotations">
2195 <td class="parameter_name"><p>font</p></td>
2196 <td class="parameter_description"><p>a font.</p></td>
2197 <td class="parameter_annotations"> </td>
2201 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2204 <div class="refsect2">
2205 <a name="hb-font-make-immutable"></a><h3>hb_font_make_immutable ()</h3>
2206 <pre class="programlisting"><span class="returnvalue">void</span>
2207 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>
2208 <div class="refsect3">
2209 <a name="hb-font-make-immutable.parameters"></a><h4>Parameters</h4>
2210 <div class="informaltable"><table width="100%" border="0">
2212 <col width="150px" class="parameters_name">
2213 <col class="parameters_description">
2214 <col width="200px" class="parameters_annotations">
2217 <td class="parameter_name"><p>font</p></td>
2218 <td class="parameter_description"><p>a font.</p></td>
2219 <td class="parameter_annotations"> </td>
2223 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2226 <div class="refsect2">
2227 <a name="hb-font-reference"></a><h3>hb_font_reference ()</h3>
2228 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
2229 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>
2230 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2231 <div class="refsect3">
2232 <a name="hb-font-reference.parameters"></a><h4>Parameters</h4>
2233 <div class="informaltable"><table width="100%" border="0">
2235 <col width="150px" class="parameters_name">
2236 <col class="parameters_description">
2237 <col width="200px" class="parameters_annotations">
2240 <td class="parameter_name"><p>font</p></td>
2241 <td class="parameter_description"><p>a font.</p></td>
2242 <td class="parameter_annotations"> </td>
2246 <div class="refsect3">
2247 <a name="hb-font-reference.returns"></a><h4>Returns</h4>
2249 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
2251 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2254 <div class="refsect2">
2255 <a name="hb-font-set-funcs"></a><h3>hb_font_set_funcs ()</h3>
2256 <pre class="programlisting"><span class="returnvalue">void</span>
2257 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>,
2258 <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>,
2259 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2260 <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>
2261 <div class="refsect3">
2262 <a name="hb-font-set-funcs.parameters"></a><h4>Parameters</h4>
2263 <div class="informaltable"><table width="100%" border="0">
2265 <col width="150px" class="parameters_name">
2266 <col class="parameters_description">
2267 <col width="200px" class="parameters_annotations">
2271 <td class="parameter_name"><p>font</p></td>
2272 <td class="parameter_description"><p>a font.</p></td>
2273 <td class="parameter_annotations"> </td>
2276 <td class="parameter_name"><p>klass</p></td>
2277 <td class="parameter_description"><p>. </p></td>
2278 <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>
2283 <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 class="refsect2">
2287 <a name="hb-font-set-funcs-data"></a><h3>hb_font_set_funcs_data ()</h3>
2288 <pre class="programlisting"><span class="returnvalue">void</span>
2289 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>,
2290 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2291 <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>
2292 <div class="refsect3">
2293 <a name="hb-font-set-funcs-data.parameters"></a><h4>Parameters</h4>
2294 <div class="informaltable"><table width="100%" border="0">
2296 <col width="150px" class="parameters_name">
2297 <col class="parameters_description">
2298 <col width="200px" class="parameters_annotations">
2302 <td class="parameter_name"><p>font</p></td>
2303 <td class="parameter_description"><p>a font.</p></td>
2304 <td class="parameter_annotations"> </td>
2307 <td class="parameter_name"><p>font_data</p></td>
2308 <td class="parameter_description"><p>. </p></td>
2309 <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>
2314 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2317 <div class="refsect2">
2318 <a name="hb-font-set-ppem"></a><h3>hb_font_set_ppem ()</h3>
2319 <pre class="programlisting"><span class="returnvalue">void</span>
2320 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>,
2321 <em class="parameter"><code>unsigned <span class="type">int</span> x_ppem</code></em>,
2322 <em class="parameter"><code>unsigned <span class="type">int</span> y_ppem</code></em>);</pre>
2323 <div class="refsect3">
2324 <a name="hb-font-set-ppem.parameters"></a><h4>Parameters</h4>
2325 <div class="informaltable"><table width="100%" border="0">
2327 <col width="150px" class="parameters_name">
2328 <col class="parameters_description">
2329 <col width="200px" class="parameters_annotations">
2332 <td class="parameter_name"><p>font</p></td>
2333 <td class="parameter_description"><p>a font.</p></td>
2334 <td class="parameter_annotations"> </td>
2338 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2341 <div class="refsect2">
2342 <a name="hb-font-set-scale"></a><h3>hb_font_set_scale ()</h3>
2343 <pre class="programlisting"><span class="returnvalue">void</span>
2344 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>,
2345 <em class="parameter"><code><span class="type">int</span> x_scale</code></em>,
2346 <em class="parameter"><code><span class="type">int</span> y_scale</code></em>);</pre>
2347 <div class="refsect3">
2348 <a name="hb-font-set-scale.parameters"></a><h4>Parameters</h4>
2349 <div class="informaltable"><table width="100%" border="0">
2351 <col width="150px" class="parameters_name">
2352 <col class="parameters_description">
2353 <col width="200px" class="parameters_annotations">
2356 <td class="parameter_name"><p>font</p></td>
2357 <td class="parameter_description"><p>a font.</p></td>
2358 <td class="parameter_annotations"> </td>
2362 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2365 <div class="refsect2">
2366 <a name="hb-font-set-user-data"></a><h3>hb_font_set_user_data ()</h3>
2367 <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>
2368 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>,
2369 <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>,
2370 <em class="parameter"><code><span class="type">void</span> *data</code></em>,
2371 <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>,
2372 <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>
2373 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2374 <div class="refsect3">
2375 <a name="hb-font-set-user-data.parameters"></a><h4>Parameters</h4>
2376 <div class="informaltable"><table width="100%" border="0">
2378 <col width="150px" class="parameters_name">
2379 <col class="parameters_description">
2380 <col width="200px" class="parameters_annotations">
2383 <td class="parameter_name"><p>font</p></td>
2384 <td class="parameter_description"><p>a font.</p></td>
2385 <td class="parameter_annotations"> </td>
2389 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2392 <div class="refsect2">
2393 <a name="hb-font-subtract-glyph-origin-for-direction"></a><h3>hb_font_subtract_glyph_origin_for_direction ()</h3>
2394 <pre class="programlisting"><span class="returnvalue">void</span>
2395 hb_font_subtract_glyph_origin_for_direction
2396 (<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>,
2397 <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>,
2398 <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>,
2399 <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>,
2400 <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>
2401 <div class="refsect3">
2402 <a name="hb-font-subtract-glyph-origin-for-direction.parameters"></a><h4>Parameters</h4>
2403 <div class="informaltable"><table width="100%" border="0">
2405 <col width="150px" class="parameters_name">
2406 <col class="parameters_description">
2407 <col width="200px" class="parameters_annotations">
2411 <td class="parameter_name"><p>font</p></td>
2412 <td class="parameter_description"><p>a font.</p></td>
2413 <td class="parameter_annotations"> </td>
2416 <td class="parameter_name"><p>x</p></td>
2417 <td class="parameter_description"><p>. </p></td>
2418 <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>
2421 <td class="parameter_name"><p>y</p></td>
2422 <td class="parameter_description"><p>. </p></td>
2423 <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>
2428 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2431 <div class="refsect2">
2432 <a name="hb-reference-table-func-t"></a><h3>hb_reference_table_func_t ()</h3>
2433 <pre class="programlisting"><a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
2434 <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>,
2435 <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>,
2436 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
2439 <div class="refsect2">
2440 <a name="hb-font-funcs-set-font-h-extents-func"></a><h3>hb_font_funcs_set_font_h_extents_func ()</h3>
2441 <pre class="programlisting"><span class="returnvalue">void</span>
2442 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>,
2443 <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>,
2444 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
2445 <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>
2446 <div class="refsect3">
2447 <a name="hb-font-funcs-set-font-h-extents-func.parameters"></a><h4>Parameters</h4>
2448 <div class="informaltable"><table width="100%" border="0">
2450 <col width="150px" class="parameters_name">
2451 <col class="parameters_description">
2452 <col width="200px" class="parameters_annotations">
2456 <td class="parameter_name"><p>ffuncs</p></td>
2457 <td class="parameter_description"><p>font functions.</p></td>
2458 <td class="parameter_annotations"> </td>
2461 <td class="parameter_name"><p>func</p></td>
2462 <td class="parameter_description"><p>. </p></td>
2463 <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>
2468 <p class="since">Since: <a class="link" href="api-index-1-1-2.html#api-index-1.1.2">1.1.2</a></p>
2471 <div class="refsect2">
2472 <a name="hb-font-funcs-set-font-v-extents-func"></a><h3>hb_font_funcs_set_font_v_extents_func ()</h3>
2473 <pre class="programlisting"><span class="returnvalue">void</span>
2474 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>,
2475 <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>,
2476 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
2477 <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>
2478 <div class="refsect3">
2479 <a name="hb-font-funcs-set-font-v-extents-func.parameters"></a><h4>Parameters</h4>
2480 <div class="informaltable"><table width="100%" border="0">
2482 <col width="150px" class="parameters_name">
2483 <col class="parameters_description">
2484 <col width="200px" class="parameters_annotations">
2488 <td class="parameter_name"><p>ffuncs</p></td>
2489 <td class="parameter_description"><p>font functions.</p></td>
2490 <td class="parameter_annotations"> </td>
2493 <td class="parameter_name"><p>func</p></td>
2494 <td class="parameter_description"><p>. </p></td>
2495 <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>
2500 <p class="since">Since: <a class="link" href="api-index-1-1-2.html#api-index-1.1.2">1.1.2</a></p>
2503 <div class="refsect2">
2504 <a name="hb-font-get-extents-for-direction"></a><h3>hb_font_get_extents_for_direction ()</h3>
2505 <pre class="programlisting"><span class="returnvalue">void</span>
2506 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>,
2507 <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>,
2508 <em class="parameter"><code><span class="type">hb_font_extents_t</span> *extents</code></em>);</pre>
2509 <div class="refsect3">
2510 <a name="hb-font-get-extents-for-direction.parameters"></a><h4>Parameters</h4>
2511 <div class="informaltable"><table width="100%" border="0">
2513 <col width="150px" class="parameters_name">
2514 <col class="parameters_description">
2515 <col width="200px" class="parameters_annotations">
2518 <td class="parameter_name"><p>font</p></td>
2519 <td class="parameter_description"><p>a font.</p></td>
2520 <td class="parameter_annotations"> </td>
2524 <p class="since">Since: <a class="link" href="api-index-1-1-3.html#api-index-1.1.3">1.1.3</a></p>
2527 <div class="refsect2">
2528 <a name="hb-font-get-font-extents-func-t"></a><h3>hb_font_get_font_extents_func_t ()</h3>
2529 <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>
2530 <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>,
2531 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2532 <em class="parameter"><code><span class="type">hb_font_extents_t</span> *metrics</code></em>,
2533 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
2536 <div class="refsect2">
2537 <a name="hb-font-get-h-extents"></a><h3>hb_font_get_h_extents ()</h3>
2538 <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>
2539 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>,
2540 <em class="parameter"><code><span class="type">hb_font_extents_t</span> *extents</code></em>);</pre>
2541 <div class="refsect3">
2542 <a name="hb-font-get-h-extents.parameters"></a><h4>Parameters</h4>
2543 <div class="informaltable"><table width="100%" border="0">
2545 <col width="150px" class="parameters_name">
2546 <col class="parameters_description">
2547 <col width="200px" class="parameters_annotations">
2551 <td class="parameter_name"><p>font</p></td>
2552 <td class="parameter_description"><p>a font.</p></td>
2553 <td class="parameter_annotations"> </td>
2556 <td class="parameter_name"><p>extents</p></td>
2557 <td class="parameter_description"><p>. </p></td>
2558 <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>
2563 <p class="since">Since: <a class="link" href="api-index-1-1-3.html#api-index-1.1.3">1.1.3</a></p>
2566 <div class="refsect2">
2567 <a name="hb-font-get-v-extents"></a><h3>hb_font_get_v_extents ()</h3>
2568 <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>
2569 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>,
2570 <em class="parameter"><code><span class="type">hb_font_extents_t</span> *extents</code></em>);</pre>
2571 <div class="refsect3">
2572 <a name="hb-font-get-v-extents.parameters"></a><h4>Parameters</h4>
2573 <div class="informaltable"><table width="100%" border="0">
2575 <col width="150px" class="parameters_name">
2576 <col class="parameters_description">
2577 <col width="200px" class="parameters_annotations">
2581 <td class="parameter_name"><p>font</p></td>
2582 <td class="parameter_description"><p>a font.</p></td>
2583 <td class="parameter_annotations"> </td>
2586 <td class="parameter_name"><p>extents</p></td>
2587 <td class="parameter_description"><p>. </p></td>
2588 <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>
2593 <p class="since">Since: <a class="link" href="api-index-1-1-3.html#api-index-1.1.3">1.1.3</a></p>
2596 <div class="refsect2">
2597 <a name="hb-font-set-parent"></a><h3>hb_font_set_parent ()</h3>
2598 <pre class="programlisting"><span class="returnvalue">void</span>
2599 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>,
2600 <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>
2601 <p>Sets parent font of <em class="parameter"><code>font</code></em>
2603 <div class="refsect3">
2604 <a name="hb-font-set-parent.parameters"></a><h4>Parameters</h4>
2605 <div class="informaltable"><table width="100%" border="0">
2607 <col width="150px" class="parameters_name">
2608 <col class="parameters_description">
2609 <col width="200px" class="parameters_annotations">
2613 <td class="parameter_name"><p>font</p></td>
2614 <td class="parameter_description"><p>a font.</p></td>
2615 <td class="parameter_annotations"> </td>
2618 <td class="parameter_name"><p>parent</p></td>
2619 <td class="parameter_description"><p>new parent.</p></td>
2620 <td class="parameter_annotations"> </td>
2625 <p class="since">Since: <a class="link" href="api-index-1-0-5.html#api-index-1.0.5">1.0.5</a></p>
2628 <div class="refsect1">
2629 <a name="harfbuzz-hb-font.other_details"></a><h2>Types and Values</h2>
2630 <div class="refsect2">
2631 <a name="hb-font-funcs-t"></a><h3>hb_font_funcs_t</h3>
2632 <pre class="programlisting">typedef struct hb_font_funcs_t hb_font_funcs_t;
2636 <div class="refsect2">
2637 <a name="hb-font-get-glyph-h-advance-func-t"></a><h3>hb_font_get_glyph_h_advance_func_t</h3>
2638 <pre class="programlisting">typedef hb_font_get_glyph_advance_func_t hb_font_get_glyph_h_advance_func_t;
2642 <div class="refsect2">
2643 <a name="hb-font-get-glyph-h-kerning-func-t"></a><h3>hb_font_get_glyph_h_kerning_func_t</h3>
2644 <pre class="programlisting">typedef hb_font_get_glyph_kerning_func_t hb_font_get_glyph_h_kerning_func_t;
2648 <div class="refsect2">
2649 <a name="hb-font-get-glyph-h-origin-func-t"></a><h3>hb_font_get_glyph_h_origin_func_t</h3>
2650 <pre class="programlisting">typedef hb_font_get_glyph_origin_func_t hb_font_get_glyph_h_origin_func_t;
2654 <div class="refsect2">
2655 <a name="hb-font-get-glyph-v-advance-func-t"></a><h3>hb_font_get_glyph_v_advance_func_t</h3>
2656 <pre class="programlisting">typedef hb_font_get_glyph_advance_func_t hb_font_get_glyph_v_advance_func_t;
2660 <div class="refsect2">
2661 <a name="hb-font-get-glyph-v-kerning-func-t"></a><h3>hb_font_get_glyph_v_kerning_func_t</h3>
2662 <pre class="programlisting">typedef hb_font_get_glyph_kerning_func_t hb_font_get_glyph_v_kerning_func_t;
2666 <div class="refsect2">
2667 <a name="hb-font-get-glyph-v-origin-func-t"></a><h3>hb_font_get_glyph_v_origin_func_t</h3>
2668 <pre class="programlisting">typedef hb_font_get_glyph_origin_func_t hb_font_get_glyph_v_origin_func_t;
2672 <div class="refsect2">
2673 <a name="hb-font-t"></a><h3>hb_font_t</h3>
2674 <pre class="programlisting">typedef struct hb_font_t hb_font_t;
2678 <div class="refsect2">
2679 <a name="hb-font-get-font-h-extents-func-t"></a><h3>hb_font_get_font_h_extents_func_t</h3>
2680 <pre class="programlisting">typedef hb_font_get_font_extents_func_t hb_font_get_font_h_extents_func_t;
2684 <div class="refsect2">
2685 <a name="hb-font-get-font-v-extents-func-t"></a><h3>hb_font_get_font_v_extents_func_t</h3>
2686 <pre class="programlisting">typedef hb_font_get_font_extents_func_t hb_font_get_font_v_extents_func_t;
2691 <div class="footer">
2692 <hr>Generated by GTK-Doc V1.24.1</div>