1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="HarfBuzz Reference Manual">
8 <link rel="up" href="ch01.html" title="[Insert title here]">
9 <link rel="prev" href="harfbuzz-hb-face.html" title="hb-face">
10 <link rel="next" href="harfbuzz-hb-shape.html" title="hb-shape">
11 <meta name="generator" content="GTK-Doc V1.20.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="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23 <td><a accesskey="p" href="harfbuzz-hb-face.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24 <td><a accesskey="n" href="harfbuzz-hb-shape.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>
566 <a name="hb-font-funcs-t"></a><a name="hb-font-t"></a><div class="refsect1">
567 <a name="harfbuzz-hb-font.other"></a><h2>Types and Values</h2>
568 <div class="informaltable"><table width="100%" border="0">
570 <col width="150px" class="name">
571 <col class="description">
575 <td class="typedef_keyword">typedef</td>
576 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t">hb_font_funcs_t</a></td>
579 <td class="typedef_keyword">typedef</td>
580 <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>
583 <td class="typedef_keyword">typedef</td>
584 <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>
587 <td class="typedef_keyword">typedef</td>
588 <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>
591 <td class="typedef_keyword">typedef</td>
592 <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>
595 <td class="typedef_keyword">typedef</td>
596 <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>
599 <td class="typedef_keyword">typedef</td>
600 <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>
603 <td class="typedef_keyword">typedef</td>
604 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-t">hb_font_t</a></td>
609 <div class="refsect1">
610 <a name="harfbuzz-hb-font.object-hierarchy"></a><h2>Object Hierarchy</h2>
611 <pre class="screen"> GBoxed
612 <span class="lineart">├──</span> hb_font_funcs_t
613 <span class="lineart">╰──</span> hb_font_t
616 <div class="refsect1">
617 <a name="harfbuzz-hb-font.description"></a><h2>Description</h2>
621 <div class="refsect1">
622 <a name="harfbuzz-hb-font.functions_details"></a><h2>Functions</h2>
623 <div class="refsect2">
624 <a name="hb-font-add-glyph-origin-for-direction"></a><h3>hb_font_add_glyph_origin_for_direction ()</h3>
625 <pre class="programlisting"><span class="returnvalue">void</span>
626 hb_font_add_glyph_origin_for_direction
627 (<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>,
628 <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>,
629 <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>,
630 <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>,
631 <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>
632 <div class="refsect3">
633 <a name="idp24645120"></a><h4>Parameters</h4>
634 <div class="informaltable"><table width="100%" border="0">
636 <col width="150px" class="parameters_name">
637 <col class="parameters_description">
638 <col width="200px" class="parameters_annotations">
642 <td class="parameter_name"><p>font</p></td>
643 <td class="parameter_description"><p>a font.</p></td>
644 <td class="parameter_annotations"> </td>
647 <td class="parameter_name"><p>x</p></td>
648 <td class="parameter_description"><p>. </p></td>
649 <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>
652 <td class="parameter_name"><p>y</p></td>
653 <td class="parameter_description"><p>. </p></td>
654 <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>
659 <p class="since">Since 1.0</p>
662 <div class="refsect2">
663 <a name="hb-font-create"></a><h3>hb_font_create ()</h3>
664 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
665 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>
668 <div class="refsect3">
669 <a name="idp24665728"></a><h4>Returns</h4>
674 <div class="refsect2">
675 <a name="hb-font-create-sub-font"></a><h3>hb_font_create_sub_font ()</h3>
676 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
677 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>
678 <div class="refsect3">
679 <a name="idp24672976"></a><h4>Parameters</h4>
680 <div class="informaltable"><table width="100%" border="0">
682 <col width="150px" class="parameters_name">
683 <col class="parameters_description">
684 <col width="200px" class="parameters_annotations">
687 <td class="parameter_name"><p>parent</p></td>
688 <td class="parameter_description"><p>parent font.</p></td>
689 <td class="parameter_annotations"> </td>
693 <div class="refsect3">
694 <a name="idp24680480"></a><h4>Returns</h4>
696 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
698 <p class="since">Since 1.0</p>
701 <div class="refsect2">
702 <a name="hb-font-destroy"></a><h3>hb_font_destroy ()</h3>
703 <pre class="programlisting"><span class="returnvalue">void</span>
704 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>
705 <div class="refsect3">
706 <a name="idp24689680"></a><h4>Parameters</h4>
707 <div class="informaltable"><table width="100%" border="0">
709 <col width="150px" class="parameters_name">
710 <col class="parameters_description">
711 <col width="200px" class="parameters_annotations">
714 <td class="parameter_name"><p>font</p></td>
715 <td class="parameter_description"><p>a font.</p></td>
716 <td class="parameter_annotations"> </td>
720 <p class="since">Since 1.0</p>
723 <div class="refsect2">
724 <a name="hb-font-funcs-create"></a><h3>hb_font_funcs_create ()</h3>
725 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
726 hb_font_funcs_create (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
729 <div class="refsect3">
730 <a name="idp24703088"></a><h4>Returns</h4>
735 <div class="refsect2">
736 <a name="hb-font-funcs-destroy"></a><h3>hb_font_funcs_destroy ()</h3>
737 <pre class="programlisting"><span class="returnvalue">void</span>
738 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>
739 <div class="refsect3">
740 <a name="idp24710336"></a><h4>Parameters</h4>
741 <div class="informaltable"><table width="100%" border="0">
743 <col width="150px" class="parameters_name">
744 <col class="parameters_description">
745 <col width="200px" class="parameters_annotations">
748 <td class="parameter_name"><p>ffuncs</p></td>
749 <td class="parameter_description"><p>font functions.</p></td>
750 <td class="parameter_annotations"> </td>
754 <p class="since">Since 1.0</p>
757 <div class="refsect2">
758 <a name="hb-font-funcs-get-empty"></a><h3>hb_font_funcs_get_empty ()</h3>
759 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
760 hb_font_funcs_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
761 <div class="refsect3">
762 <a name="idp24723824"></a><h4>Returns</h4>
764 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
766 <p class="since">Since 1.0</p>
769 <div class="refsect2">
770 <a name="hb-font-funcs-get-user-data"></a><h3>hb_font_funcs_get_user_data ()</h3>
771 <pre class="programlisting"><span class="returnvalue">void</span> *
772 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>,
773 <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>
774 <div class="refsect3">
775 <a name="idp24734400"></a><h4>Parameters</h4>
776 <div class="informaltable"><table width="100%" border="0">
778 <col width="150px" class="parameters_name">
779 <col class="parameters_description">
780 <col width="200px" class="parameters_annotations">
783 <td class="parameter_name"><p>ffuncs</p></td>
784 <td class="parameter_description"><p>font functions.</p></td>
785 <td class="parameter_annotations"> </td>
789 <div class="refsect3">
790 <a name="idp24741904"></a><h4>Returns</h4>
792 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
794 <p class="since">Since 1.0</p>
797 <div class="refsect2">
798 <a name="hb-font-funcs-is-immutable"></a><h3>hb_font_funcs_is_immutable ()</h3>
799 <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>
800 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>
801 <div class="refsect3">
802 <a name="idp24751104"></a><h4>Parameters</h4>
803 <div class="informaltable"><table width="100%" border="0">
805 <col width="150px" class="parameters_name">
806 <col class="parameters_description">
807 <col width="200px" class="parameters_annotations">
810 <td class="parameter_name"><p>ffuncs</p></td>
811 <td class="parameter_description"><p>font functions.</p></td>
812 <td class="parameter_annotations"> </td>
816 <div class="refsect3">
817 <a name="idp24759184"></a><h4>Returns</h4>
820 <p class="since">Since 1.0</p>
823 <div class="refsect2">
824 <a name="hb-font-funcs-make-immutable"></a><h3>hb_font_funcs_make_immutable ()</h3>
825 <pre class="programlisting"><span class="returnvalue">void</span>
826 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>
827 <div class="refsect3">
828 <a name="idp24768624"></a><h4>Parameters</h4>
829 <div class="informaltable"><table width="100%" border="0">
831 <col width="150px" class="parameters_name">
832 <col class="parameters_description">
833 <col width="200px" class="parameters_annotations">
836 <td class="parameter_name"><p>ffuncs</p></td>
837 <td class="parameter_description"><p>font functions.</p></td>
838 <td class="parameter_annotations"> </td>
842 <p class="since">Since 1.0</p>
845 <div class="refsect2">
846 <a name="hb-font-funcs-reference"></a><h3>hb_font_funcs_reference ()</h3>
847 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
848 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>
849 <div class="refsect3">
850 <a name="idp24785040"></a><h4>Parameters</h4>
851 <div class="informaltable"><table width="100%" border="0">
853 <col width="150px" class="parameters_name">
854 <col class="parameters_description">
855 <col width="200px" class="parameters_annotations">
858 <td class="parameter_name"><p>ffuncs</p></td>
859 <td class="parameter_description"><p>font functions.</p></td>
860 <td class="parameter_annotations"> </td>
864 <div class="refsect3">
865 <a name="idp24793440"></a><h4>Returns</h4>
868 <p class="since">Since 1.0</p>
871 <div class="refsect2">
872 <a name="hb-font-funcs-set-glyph-contour-point-func"></a><h3>hb_font_funcs_set_glyph_contour_point_func ()</h3>
873 <pre class="programlisting"><span class="returnvalue">void</span>
874 hb_font_funcs_set_glyph_contour_point_func
875 (<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>,
876 <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>,
877 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
878 <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>
879 <div class="refsect3">
880 <a name="idp24808064"></a><h4>Parameters</h4>
881 <div class="informaltable"><table width="100%" border="0">
883 <col width="150px" class="parameters_name">
884 <col class="parameters_description">
885 <col width="200px" class="parameters_annotations">
889 <td class="parameter_name"><p>ffuncs</p></td>
890 <td class="parameter_description"><p>font functions.</p></td>
891 <td class="parameter_annotations"> </td>
894 <td class="parameter_name"><p>func</p></td>
895 <td class="parameter_description"><p>. </p></td>
896 <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>
901 <p class="since">Since 1.0</p>
904 <div class="refsect2">
905 <a name="hb-font-funcs-set-glyph-extents-func"></a><h3>hb_font_funcs_set_glyph_extents_func ()</h3>
906 <pre class="programlisting"><span class="returnvalue">void</span>
907 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>,
908 <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>,
909 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
910 <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>
911 <div class="refsect3">
912 <a name="idp24834320"></a><h4>Parameters</h4>
913 <div class="informaltable"><table width="100%" border="0">
915 <col width="150px" class="parameters_name">
916 <col class="parameters_description">
917 <col width="200px" class="parameters_annotations">
921 <td class="parameter_name"><p>ffuncs</p></td>
922 <td class="parameter_description"><p>font functions.</p></td>
923 <td class="parameter_annotations"> </td>
926 <td class="parameter_name"><p>func</p></td>
927 <td class="parameter_description"><p>. </p></td>
928 <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>
933 <p class="since">Since 1.0</p>
936 <div class="refsect2">
937 <a name="hb-font-funcs-set-glyph-from-name-func"></a><h3>hb_font_funcs_set_glyph_from_name_func ()</h3>
938 <pre class="programlisting"><span class="returnvalue">void</span>
939 hb_font_funcs_set_glyph_from_name_func
940 (<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>,
941 <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>,
942 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
943 <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>
944 <div class="refsect3">
945 <a name="idp24860624"></a><h4>Parameters</h4>
946 <div class="informaltable"><table width="100%" border="0">
948 <col width="150px" class="parameters_name">
949 <col class="parameters_description">
950 <col width="200px" class="parameters_annotations">
953 <td class="parameter_name"><p>ffuncs</p></td>
954 <td class="parameter_description"><p>font functions.</p></td>
955 <td class="parameter_annotations"> </td>
959 <p class="since">Since 1.0</p>
962 <div class="refsect2">
963 <a name="hb-font-funcs-set-glyph-func"></a><h3>hb_font_funcs_set_glyph_func ()</h3>
964 <pre class="programlisting"><span class="returnvalue">void</span>
965 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>,
966 <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>,
967 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
968 <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>
969 <div class="refsect3">
970 <a name="idp24882160"></a><h4>Parameters</h4>
971 <div class="informaltable"><table width="100%" border="0">
973 <col width="150px" class="parameters_name">
974 <col class="parameters_description">
975 <col width="200px" class="parameters_annotations">
978 <td class="parameter_name"><p>ffuncs</p></td>
979 <td class="parameter_description"><p>font functions.</p></td>
980 <td class="parameter_annotations"> </td>
984 <p class="since">Since 1.0</p>
987 <div class="refsect2">
988 <a name="hb-font-funcs-set-glyph-h-advance-func"></a><h3>hb_font_funcs_set_glyph_h_advance_func ()</h3>
989 <pre class="programlisting"><span class="returnvalue">void</span>
990 hb_font_funcs_set_glyph_h_advance_func
991 (<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>,
992 <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>,
993 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
994 <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>
995 <div class="refsect3">
996 <a name="idp24903696"></a><h4>Parameters</h4>
997 <div class="informaltable"><table width="100%" border="0">
999 <col width="150px" class="parameters_name">
1000 <col class="parameters_description">
1001 <col width="200px" class="parameters_annotations">
1005 <td class="parameter_name"><p>ffuncs</p></td>
1006 <td class="parameter_description"><p>font functions.</p></td>
1007 <td class="parameter_annotations"> </td>
1010 <td class="parameter_name"><p>func</p></td>
1011 <td class="parameter_description"><p>. </p></td>
1012 <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>
1017 <p class="since">Since 1.0</p>
1020 <div class="refsect2">
1021 <a name="hb-font-funcs-set-glyph-h-kerning-func"></a><h3>hb_font_funcs_set_glyph_h_kerning_func ()</h3>
1022 <pre class="programlisting"><span class="returnvalue">void</span>
1023 hb_font_funcs_set_glyph_h_kerning_func
1024 (<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>,
1025 <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>,
1026 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1027 <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>
1028 <div class="refsect3">
1029 <a name="idp24930000"></a><h4>Parameters</h4>
1030 <div class="informaltable"><table width="100%" border="0">
1032 <col width="150px" class="parameters_name">
1033 <col class="parameters_description">
1034 <col width="200px" class="parameters_annotations">
1038 <td class="parameter_name"><p>ffuncs</p></td>
1039 <td class="parameter_description"><p>font functions.</p></td>
1040 <td class="parameter_annotations"> </td>
1043 <td class="parameter_name"><p>func</p></td>
1044 <td class="parameter_description"><p>. </p></td>
1045 <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>
1050 <p class="since">Since 1.0</p>
1053 <div class="refsect2">
1054 <a name="hb-font-funcs-set-glyph-h-origin-func"></a><h3>hb_font_funcs_set_glyph_h_origin_func ()</h3>
1055 <pre class="programlisting"><span class="returnvalue">void</span>
1056 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>,
1057 <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>,
1058 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1059 <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>
1060 <div class="refsect3">
1061 <a name="idp24956320"></a><h4>Parameters</h4>
1062 <div class="informaltable"><table width="100%" border="0">
1064 <col width="150px" class="parameters_name">
1065 <col class="parameters_description">
1066 <col width="200px" class="parameters_annotations">
1070 <td class="parameter_name"><p>ffuncs</p></td>
1071 <td class="parameter_description"><p>font functions.</p></td>
1072 <td class="parameter_annotations"> </td>
1075 <td class="parameter_name"><p>func</p></td>
1076 <td class="parameter_description"><p>. </p></td>
1077 <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>
1082 <p class="since">Since 1.0</p>
1085 <div class="refsect2">
1086 <a name="hb-font-funcs-set-glyph-name-func"></a><h3>hb_font_funcs_set_glyph_name_func ()</h3>
1087 <pre class="programlisting"><span class="returnvalue">void</span>
1088 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>,
1089 <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>,
1090 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1091 <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>
1092 <div class="refsect3">
1093 <a name="idp24982496"></a><h4>Parameters</h4>
1094 <div class="informaltable"><table width="100%" border="0">
1096 <col width="150px" class="parameters_name">
1097 <col class="parameters_description">
1098 <col width="200px" class="parameters_annotations">
1101 <td class="parameter_name"><p>ffuncs</p></td>
1102 <td class="parameter_description"><p>font functions.</p></td>
1103 <td class="parameter_annotations"> </td>
1107 <p class="since">Since 1.0</p>
1110 <div class="refsect2">
1111 <a name="hb-font-funcs-set-glyph-v-advance-func"></a><h3>hb_font_funcs_set_glyph_v_advance_func ()</h3>
1112 <pre class="programlisting"><span class="returnvalue">void</span>
1113 hb_font_funcs_set_glyph_v_advance_func
1114 (<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>,
1115 <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>,
1116 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1117 <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>
1118 <div class="refsect3">
1119 <a name="idp25004096"></a><h4>Parameters</h4>
1120 <div class="informaltable"><table width="100%" border="0">
1122 <col width="150px" class="parameters_name">
1123 <col class="parameters_description">
1124 <col width="200px" class="parameters_annotations">
1128 <td class="parameter_name"><p>ffuncs</p></td>
1129 <td class="parameter_description"><p>font functions.</p></td>
1130 <td class="parameter_annotations"> </td>
1133 <td class="parameter_name"><p>func</p></td>
1134 <td class="parameter_description"><p>. </p></td>
1135 <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>
1140 <p class="since">Since 1.0</p>
1143 <div class="refsect2">
1144 <a name="hb-font-funcs-set-glyph-v-kerning-func"></a><h3>hb_font_funcs_set_glyph_v_kerning_func ()</h3>
1145 <pre class="programlisting"><span class="returnvalue">void</span>
1146 hb_font_funcs_set_glyph_v_kerning_func
1147 (<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>,
1148 <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>,
1149 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1150 <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>
1151 <div class="refsect3">
1152 <a name="idp25030400"></a><h4>Parameters</h4>
1153 <div class="informaltable"><table width="100%" border="0">
1155 <col width="150px" class="parameters_name">
1156 <col class="parameters_description">
1157 <col width="200px" class="parameters_annotations">
1161 <td class="parameter_name"><p>ffuncs</p></td>
1162 <td class="parameter_description"><p>font functions.</p></td>
1163 <td class="parameter_annotations"> </td>
1166 <td class="parameter_name"><p>func</p></td>
1167 <td class="parameter_description"><p>. </p></td>
1168 <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>
1173 <p class="since">Since 1.0</p>
1176 <div class="refsect2">
1177 <a name="hb-font-funcs-set-glyph-v-origin-func"></a><h3>hb_font_funcs_set_glyph_v_origin_func ()</h3>
1178 <pre class="programlisting"><span class="returnvalue">void</span>
1179 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>,
1180 <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>,
1181 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1182 <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>
1183 <div class="refsect3">
1184 <a name="idp25056720"></a><h4>Parameters</h4>
1185 <div class="informaltable"><table width="100%" border="0">
1187 <col width="150px" class="parameters_name">
1188 <col class="parameters_description">
1189 <col width="200px" class="parameters_annotations">
1193 <td class="parameter_name"><p>ffuncs</p></td>
1194 <td class="parameter_description"><p>font functions.</p></td>
1195 <td class="parameter_annotations"> </td>
1198 <td class="parameter_name"><p>func</p></td>
1199 <td class="parameter_description"><p>. </p></td>
1200 <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>
1205 <p class="since">Since 1.0</p>
1208 <div class="refsect2">
1209 <a name="hb-font-funcs-set-user-data"></a><h3>hb_font_funcs_set_user_data ()</h3>
1210 <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>
1211 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>,
1212 <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>,
1213 <em class="parameter"><code><span class="type">void</span> *data</code></em>,
1214 <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>,
1215 <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>
1216 <div class="refsect3">
1217 <a name="idp25084624"></a><h4>Parameters</h4>
1218 <div class="informaltable"><table width="100%" border="0">
1220 <col width="150px" class="parameters_name">
1221 <col class="parameters_description">
1222 <col width="200px" class="parameters_annotations">
1225 <td class="parameter_name"><p>ffuncs</p></td>
1226 <td class="parameter_description"><p>font functions.</p></td>
1227 <td class="parameter_annotations"> </td>
1231 <div class="refsect3">
1232 <a name="idp25093024"></a><h4>Returns</h4>
1235 <p class="since">Since 1.0</p>
1238 <div class="refsect2">
1239 <a name="hb-font-get-empty"></a><h3>hb_font_get_empty ()</h3>
1240 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
1241 hb_font_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1242 <div class="refsect3">
1243 <a name="idp25101776"></a><h4>Returns</h4>
1244 <p> (transfer full)</p>
1247 <p class="since">Since 1.0</p>
1250 <div class="refsect2">
1251 <a name="hb-font-get-face"></a><h3>hb_font_get_face ()</h3>
1252 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
1253 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>
1254 <div class="refsect3">
1255 <a name="idp25111616"></a><h4>Parameters</h4>
1256 <div class="informaltable"><table width="100%" border="0">
1258 <col width="150px" class="parameters_name">
1259 <col class="parameters_description">
1260 <col width="200px" class="parameters_annotations">
1263 <td class="parameter_name"><p>font</p></td>
1264 <td class="parameter_description"><p>a font.</p></td>
1265 <td class="parameter_annotations"> </td>
1269 <div class="refsect3">
1270 <a name="idp25120016"></a><h4>Returns</h4>
1272 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1274 <p class="since">Since 1.0</p>
1277 <div class="refsect2">
1278 <a name="hb-font-get-glyph"></a><h3>hb_font_get_glyph ()</h3>
1279 <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>
1280 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>,
1281 <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>,
1282 <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>,
1283 <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>
1284 <div class="refsect3">
1285 <a name="idp25136000"></a><h4>Parameters</h4>
1286 <div class="informaltable"><table width="100%" border="0">
1288 <col width="150px" class="parameters_name">
1289 <col class="parameters_description">
1290 <col width="200px" class="parameters_annotations">
1294 <td class="parameter_name"><p>font</p></td>
1295 <td class="parameter_description"><p>a font.</p></td>
1296 <td class="parameter_annotations"> </td>
1299 <td class="parameter_name"><p>glyph</p></td>
1300 <td class="parameter_description"><p>. </p></td>
1301 <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>
1306 <div class="refsect3">
1307 <a name="idp25148112"></a><h4>Returns</h4>
1310 <p class="since">Since 1.0</p>
1313 <div class="refsect2">
1314 <a name="hb-font-get-glyph-advance-for-direction"></a><h3>hb_font_get_glyph_advance_for_direction ()</h3>
1315 <pre class="programlisting"><span class="returnvalue">void</span>
1316 hb_font_get_glyph_advance_for_direction
1317 (<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>,
1318 <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>,
1319 <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>,
1320 <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>,
1321 <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>
1322 <div class="refsect3">
1323 <a name="idp25164464"></a><h4>Parameters</h4>
1324 <div class="informaltable"><table width="100%" border="0">
1326 <col width="150px" class="parameters_name">
1327 <col class="parameters_description">
1328 <col width="200px" class="parameters_annotations">
1332 <td class="parameter_name"><p>font</p></td>
1333 <td class="parameter_description"><p>a font.</p></td>
1334 <td class="parameter_annotations"> </td>
1337 <td class="parameter_name"><p>x</p></td>
1338 <td class="parameter_description"><p>. </p></td>
1339 <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>
1342 <td class="parameter_name"><p>y</p></td>
1343 <td class="parameter_description"><p>. </p></td>
1344 <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>
1349 <p class="since">Since 1.0</p>
1352 <div class="refsect2">
1353 <a name="hb-font-get-glyph-advance-func-t"></a><h3>hb_font_get_glyph_advance_func_t ()</h3>
1354 <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>
1355 <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>,
1356 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1357 <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>,
1358 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1361 <div class="refsect3">
1362 <a name="idp25194864"></a><h4>Returns</h4>
1367 <div class="refsect2">
1368 <a name="hb-font-get-glyph-contour-point"></a><h3>hb_font_get_glyph_contour_point ()</h3>
1369 <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>
1370 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>,
1371 <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>,
1372 <em class="parameter"><code>unsigned <span class="type">int</span> point_index</code></em>,
1373 <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>,
1374 <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>
1375 <div class="refsect3">
1376 <a name="idp25210592"></a><h4>Parameters</h4>
1377 <div class="informaltable"><table width="100%" border="0">
1379 <col width="150px" class="parameters_name">
1380 <col class="parameters_description">
1381 <col width="200px" class="parameters_annotations">
1385 <td class="parameter_name"><p>font</p></td>
1386 <td class="parameter_description"><p>a font.</p></td>
1387 <td class="parameter_annotations"> </td>
1390 <td class="parameter_name"><p>x</p></td>
1391 <td class="parameter_description"><p>. </p></td>
1392 <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>
1395 <td class="parameter_name"><p>y</p></td>
1396 <td class="parameter_description"><p>. </p></td>
1397 <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>
1402 <div class="refsect3">
1403 <a name="idp25226416"></a><h4>Returns</h4>
1406 <p class="since">Since 1.0</p>
1409 <div class="refsect2">
1410 <a name="hb-font-get-glyph-contour-point-for-origin"></a><h3>hb_font_get_glyph_contour_point_for_origin ()</h3>
1411 <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>
1412 hb_font_get_glyph_contour_point_for_origin
1413 (<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>,
1414 <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>,
1415 <em class="parameter"><code>unsigned <span class="type">int</span> point_index</code></em>,
1416 <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>,
1417 <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>,
1418 <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>
1419 <div class="refsect3">
1420 <a name="idp25244640"></a><h4>Parameters</h4>
1421 <div class="informaltable"><table width="100%" border="0">
1423 <col width="150px" class="parameters_name">
1424 <col class="parameters_description">
1425 <col width="200px" class="parameters_annotations">
1429 <td class="parameter_name"><p>font</p></td>
1430 <td class="parameter_description"><p>a font.</p></td>
1431 <td class="parameter_annotations"> </td>
1434 <td class="parameter_name"><p>x</p></td>
1435 <td class="parameter_description"><p>. </p></td>
1436 <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>
1439 <td class="parameter_name"><p>y</p></td>
1440 <td class="parameter_description"><p>. </p></td>
1441 <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>
1446 <div class="refsect3">
1447 <a name="idp25260464"></a><h4>Returns</h4>
1450 <p class="since">Since 1.0</p>
1453 <div class="refsect2">
1454 <a name="hb-font-get-glyph-contour-point-func-t"></a><h3>hb_font_get_glyph_contour_point_func_t ()</h3>
1455 <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>
1456 <span class="c_punctuation">(</span>*hb_font_get_glyph_contour_point_func_t<span class="c_punctuation">)</span>
1457 (<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>,
1458 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1459 <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>,
1460 <em class="parameter"><code>unsigned <span class="type">int</span> point_index</code></em>,
1461 <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>,
1462 <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>,
1463 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1466 <div class="refsect3">
1467 <a name="idp25281728"></a><h4>Returns</h4>
1472 <div class="refsect2">
1473 <a name="hb-font-get-glyph-extents"></a><h3>hb_font_get_glyph_extents ()</h3>
1474 <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>
1475 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>,
1476 <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>,
1477 <em class="parameter"><code><span class="type">hb_glyph_extents_t</span> *extents</code></em>);</pre>
1478 <div class="refsect3">
1479 <a name="idp25293952"></a><h4>Parameters</h4>
1480 <div class="informaltable"><table width="100%" border="0">
1482 <col width="150px" class="parameters_name">
1483 <col class="parameters_description">
1484 <col width="200px" class="parameters_annotations">
1488 <td class="parameter_name"><p>font</p></td>
1489 <td class="parameter_description"><p>a font.</p></td>
1490 <td class="parameter_annotations"> </td>
1493 <td class="parameter_name"><p>extents</p></td>
1494 <td class="parameter_description"><p>. </p></td>
1495 <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>
1500 <div class="refsect3">
1501 <a name="idp25306064"></a><h4>Returns</h4>
1504 <p class="since">Since 1.0</p>
1507 <div class="refsect2">
1508 <a name="hb-font-get-glyph-extents-for-origin"></a><h3>hb_font_get_glyph_extents_for_origin ()</h3>
1509 <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>
1510 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>,
1511 <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>,
1512 <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>,
1513 <em class="parameter"><code><span class="type">hb_glyph_extents_t</span> *extents</code></em>);</pre>
1514 <div class="refsect3">
1515 <a name="idp25320672"></a><h4>Parameters</h4>
1516 <div class="informaltable"><table width="100%" border="0">
1518 <col width="150px" class="parameters_name">
1519 <col class="parameters_description">
1520 <col width="200px" class="parameters_annotations">
1524 <td class="parameter_name"><p>font</p></td>
1525 <td class="parameter_description"><p>a font.</p></td>
1526 <td class="parameter_annotations"> </td>
1529 <td class="parameter_name"><p>extents</p></td>
1530 <td class="parameter_description"><p>. </p></td>
1531 <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>
1536 <div class="refsect3">
1537 <a name="idp25332784"></a><h4>Returns</h4>
1540 <p class="since">Since 1.0</p>
1543 <div class="refsect2">
1544 <a name="hb-font-get-glyph-extents-func-t"></a><h3>hb_font_get_glyph_extents_func_t ()</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 <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>,
1547 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1548 <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>,
1549 <em class="parameter"><code><span class="type">hb_glyph_extents_t</span> *extents</code></em>,
1550 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1553 <div class="refsect3">
1554 <a name="idp25350560"></a><h4>Returns</h4>
1559 <div class="refsect2">
1560 <a name="hb-font-get-glyph-from-name"></a><h3>hb_font_get_glyph_from_name ()</h3>
1561 <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>
1562 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>,
1563 <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
1564 <em class="parameter"><code><span class="type">int</span> len</code></em>,
1565 <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>
1566 <div class="refsect3">
1567 <a name="idp25364656"></a><h4>Parameters</h4>
1568 <div class="informaltable"><table width="100%" border="0">
1570 <col width="150px" class="parameters_name">
1571 <col class="parameters_description">
1572 <col width="200px" class="parameters_annotations">
1576 <td class="parameter_name"><p>font</p></td>
1577 <td class="parameter_description"><p>a font.</p></td>
1578 <td class="parameter_annotations"> </td>
1581 <td class="parameter_name"><p>name</p></td>
1582 <td class="parameter_description"><p>. </p></td>
1583 <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>
1586 <td class="parameter_name"><p>glyph</p></td>
1587 <td class="parameter_description"><p>. </p></td>
1588 <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>
1593 <div class="refsect3">
1594 <a name="idp25380480"></a><h4>Returns</h4>
1597 <p class="since">Since 1.0</p>
1600 <div class="refsect2">
1601 <a name="hb-font-get-glyph-from-name-func-t"></a><h3>hb_font_get_glyph_from_name_func_t ()</h3>
1602 <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>
1603 <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>,
1604 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1605 <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
1606 <em class="parameter"><code><span class="type">int</span> len</code></em>);</pre>
1609 <div class="refsect3">
1610 <a name="idp25396720"></a><h4>Returns</h4>
1615 <div class="refsect2">
1616 <a name="hb-font-get-glyph-func-t"></a><h3>hb_font_get_glyph_func_t ()</h3>
1617 <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>
1618 <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>,
1619 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1620 <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>,
1621 <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>,
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>,
1623 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1626 <div class="refsect3">
1627 <a name="idp25415520"></a><h4>Returns</h4>
1632 <div class="refsect2">
1633 <a name="hb-font-get-glyph-h-advance"></a><h3>hb_font_get_glyph_h_advance ()</h3>
1634 <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>
1635 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>,
1636 <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>
1637 <div class="refsect3">
1638 <a name="idp25426048"></a><h4>Parameters</h4>
1639 <div class="informaltable"><table width="100%" border="0">
1641 <col width="150px" class="parameters_name">
1642 <col class="parameters_description">
1643 <col width="200px" class="parameters_annotations">
1646 <td class="parameter_name"><p>font</p></td>
1647 <td class="parameter_description"><p>a font.</p></td>
1648 <td class="parameter_annotations"> </td>
1652 <div class="refsect3">
1653 <a name="idp25434448"></a><h4>Returns</h4>
1656 <p class="since">Since 1.0</p>
1659 <div class="refsect2">
1660 <a name="hb-font-get-glyph-h-kerning"></a><h3>hb_font_get_glyph_h_kerning ()</h3>
1661 <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>
1662 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>,
1663 <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>,
1664 <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>
1665 <div class="refsect3">
1666 <a name="idp25447280"></a><h4>Parameters</h4>
1667 <div class="informaltable"><table width="100%" border="0">
1669 <col width="150px" class="parameters_name">
1670 <col class="parameters_description">
1671 <col width="200px" class="parameters_annotations">
1674 <td class="parameter_name"><p>font</p></td>
1675 <td class="parameter_description"><p>a font.</p></td>
1676 <td class="parameter_annotations"> </td>
1680 <div class="refsect3">
1681 <a name="idp25455680"></a><h4>Returns</h4>
1684 <p class="since">Since 1.0</p>
1687 <div class="refsect2">
1688 <a name="hb-font-get-glyph-h-origin"></a><h3>hb_font_get_glyph_h_origin ()</h3>
1689 <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>
1690 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>,
1691 <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>,
1692 <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>,
1693 <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>
1694 <div class="refsect3">
1695 <a name="idp25470208"></a><h4>Parameters</h4>
1696 <div class="informaltable"><table width="100%" border="0">
1698 <col width="150px" class="parameters_name">
1699 <col class="parameters_description">
1700 <col width="200px" class="parameters_annotations">
1704 <td class="parameter_name"><p>font</p></td>
1705 <td class="parameter_description"><p>a font.</p></td>
1706 <td class="parameter_annotations"> </td>
1709 <td class="parameter_name"><p>x</p></td>
1710 <td class="parameter_description"><p>. </p></td>
1711 <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>
1714 <td class="parameter_name"><p>y</p></td>
1715 <td class="parameter_description"><p>. </p></td>
1716 <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>
1721 <div class="refsect3">
1722 <a name="idp25486032"></a><h4>Returns</h4>
1725 <p class="since">Since 1.0</p>
1728 <div class="refsect2">
1729 <a name="hb-font-get-glyph-kerning-for-direction"></a><h3>hb_font_get_glyph_kerning_for_direction ()</h3>
1730 <pre class="programlisting"><span class="returnvalue">void</span>
1731 hb_font_get_glyph_kerning_for_direction
1732 (<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>,
1733 <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>,
1734 <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>,
1735 <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>,
1736 <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>,
1737 <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>
1738 <div class="refsect3">
1739 <a name="idp25504080"></a><h4>Parameters</h4>
1740 <div class="informaltable"><table width="100%" border="0">
1742 <col width="150px" class="parameters_name">
1743 <col class="parameters_description">
1744 <col width="200px" class="parameters_annotations">
1748 <td class="parameter_name"><p>font</p></td>
1749 <td class="parameter_description"><p>a font.</p></td>
1750 <td class="parameter_annotations"> </td>
1753 <td class="parameter_name"><p>x</p></td>
1754 <td class="parameter_description"><p>. </p></td>
1755 <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>
1758 <td class="parameter_name"><p>y</p></td>
1759 <td class="parameter_description"><p>. </p></td>
1760 <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>
1765 <p class="since">Since 1.0</p>
1768 <div class="refsect2">
1769 <a name="hb-font-get-glyph-kerning-func-t"></a><h3>hb_font_get_glyph_kerning_func_t ()</h3>
1770 <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>
1771 <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>,
1772 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1773 <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>,
1774 <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>,
1775 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1778 <div class="refsect3">
1779 <a name="idp25536256"></a><h4>Returns</h4>
1784 <div class="refsect2">
1785 <a name="hb-font-get-glyph-name"></a><h3>hb_font_get_glyph_name ()</h3>
1786 <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>
1787 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>,
1788 <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>,
1789 <em class="parameter"><code><span class="type">char</span> *name</code></em>,
1790 <em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>);</pre>
1791 <div class="refsect3">
1792 <a name="idp25550288"></a><h4>Parameters</h4>
1793 <div class="informaltable"><table width="100%" border="0">
1795 <col width="150px" class="parameters_name">
1796 <col class="parameters_description">
1797 <col width="200px" class="parameters_annotations">
1801 <td class="parameter_name"><p>font</p></td>
1802 <td class="parameter_description"><p>a font.</p></td>
1803 <td class="parameter_annotations"> </td>
1806 <td class="parameter_name"><p>name</p></td>
1807 <td class="parameter_description"><p>. </p></td>
1808 <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>
1813 <div class="refsect3">
1814 <a name="idp25562400"></a><h4>Returns</h4>
1817 <p class="since">Since 1.0</p>
1820 <div class="refsect2">
1821 <a name="hb-font-get-glyph-name-func-t"></a><h3>hb_font_get_glyph_name_func_t ()</h3>
1822 <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>
1823 <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>,
1824 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1825 <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>,
1826 <em class="parameter"><code><span class="type">char</span> *name</code></em>,
1827 <em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>,
1828 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1831 <div class="refsect3">
1832 <a name="idp25581984"></a><h4>Returns</h4>
1837 <div class="refsect2">
1838 <a name="hb-font-get-glyph-origin-for-direction"></a><h3>hb_font_get_glyph_origin_for_direction ()</h3>
1839 <pre class="programlisting"><span class="returnvalue">void</span>
1840 hb_font_get_glyph_origin_for_direction
1841 (<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>,
1842 <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>,
1843 <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>,
1844 <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>,
1845 <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>
1846 <div class="refsect3">
1847 <a name="idp25597664"></a><h4>Parameters</h4>
1848 <div class="informaltable"><table width="100%" border="0">
1850 <col width="150px" class="parameters_name">
1851 <col class="parameters_description">
1852 <col width="200px" class="parameters_annotations">
1856 <td class="parameter_name"><p>font</p></td>
1857 <td class="parameter_description"><p>a font.</p></td>
1858 <td class="parameter_annotations"> </td>
1861 <td class="parameter_name"><p>x</p></td>
1862 <td class="parameter_description"><p>. </p></td>
1863 <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>
1866 <td class="parameter_name"><p>y</p></td>
1867 <td class="parameter_description"><p>. </p></td>
1868 <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>
1873 <p class="since">Since 1.0</p>
1876 <div class="refsect2">
1877 <a name="hb-font-get-glyph-origin-func-t"></a><h3>hb_font_get_glyph_origin_func_t ()</h3>
1878 <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>
1879 <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>,
1880 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1881 <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>,
1882 <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>,
1883 <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>,
1884 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1887 <div class="refsect3">
1888 <a name="idp25631472"></a><h4>Returns</h4>
1893 <div class="refsect2">
1894 <a name="hb-font-get-glyph-v-advance"></a><h3>hb_font_get_glyph_v_advance ()</h3>
1895 <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>
1896 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>,
1897 <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>
1898 <div class="refsect3">
1899 <a name="idp25641936"></a><h4>Parameters</h4>
1900 <div class="informaltable"><table width="100%" border="0">
1902 <col width="150px" class="parameters_name">
1903 <col class="parameters_description">
1904 <col width="200px" class="parameters_annotations">
1907 <td class="parameter_name"><p>font</p></td>
1908 <td class="parameter_description"><p>a font.</p></td>
1909 <td class="parameter_annotations"> </td>
1913 <div class="refsect3">
1914 <a name="idp25650336"></a><h4>Returns</h4>
1917 <p class="since">Since 1.0</p>
1920 <div class="refsect2">
1921 <a name="hb-font-get-glyph-v-kerning"></a><h3>hb_font_get_glyph_v_kerning ()</h3>
1922 <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>
1923 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>,
1924 <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>,
1925 <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>
1926 <div class="refsect3">
1927 <a name="idp25663104"></a><h4>Parameters</h4>
1928 <div class="informaltable"><table width="100%" border="0">
1930 <col width="150px" class="parameters_name">
1931 <col class="parameters_description">
1932 <col width="200px" class="parameters_annotations">
1935 <td class="parameter_name"><p>font</p></td>
1936 <td class="parameter_description"><p>a font.</p></td>
1937 <td class="parameter_annotations"> </td>
1941 <div class="refsect3">
1942 <a name="idp25671504"></a><h4>Returns</h4>
1945 <p class="since">Since 1.0</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="idp25686032"></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 <div class="refsect3">
1983 <a name="idp25701856"></a><h4>Returns</h4>
1986 <p class="since">Since 1.0</p>
1989 <div class="refsect2">
1990 <a name="hb-font-get-parent"></a><h3>hb_font_get_parent ()</h3>
1991 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
1992 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>
1993 <div class="refsect3">
1994 <a name="idp25711216"></a><h4>Parameters</h4>
1995 <div class="informaltable"><table width="100%" border="0">
1997 <col width="150px" class="parameters_name">
1998 <col class="parameters_description">
1999 <col width="200px" class="parameters_annotations">
2002 <td class="parameter_name"><p>font</p></td>
2003 <td class="parameter_description"><p>a font.</p></td>
2004 <td class="parameter_annotations"> </td>
2008 <div class="refsect3">
2009 <a name="idp25719616"></a><h4>Returns</h4>
2011 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
2013 <p class="since">Since 1.0</p>
2016 <div class="refsect2">
2017 <a name="hb-font-get-ppem"></a><h3>hb_font_get_ppem ()</h3>
2018 <pre class="programlisting"><span class="returnvalue">void</span>
2019 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>,
2020 <em class="parameter"><code>unsigned <span class="type">int</span> *x_ppem</code></em>,
2021 <em class="parameter"><code>unsigned <span class="type">int</span> *y_ppem</code></em>);</pre>
2022 <div class="refsect3">
2023 <a name="idp25734272"></a><h4>Parameters</h4>
2024 <div class="informaltable"><table width="100%" border="0">
2026 <col width="150px" class="parameters_name">
2027 <col class="parameters_description">
2028 <col width="200px" class="parameters_annotations">
2032 <td class="parameter_name"><p>font</p></td>
2033 <td class="parameter_description"><p>a font.</p></td>
2034 <td class="parameter_annotations"> </td>
2037 <td class="parameter_name"><p>x_ppem</p></td>
2038 <td class="parameter_description"><p>. </p></td>
2039 <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>
2042 <td class="parameter_name"><p>y_ppem</p></td>
2043 <td class="parameter_description"><p>. </p></td>
2044 <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>
2049 <p class="since">Since 1.0</p>
2052 <div class="refsect2">
2053 <a name="hb-font-get-scale"></a><h3>hb_font_get_scale ()</h3>
2054 <pre class="programlisting"><span class="returnvalue">void</span>
2055 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>,
2056 <em class="parameter"><code><span class="type">int</span> *x_scale</code></em>,
2057 <em class="parameter"><code><span class="type">int</span> *y_scale</code></em>);</pre>
2058 <div class="refsect3">
2059 <a name="idp25761376"></a><h4>Parameters</h4>
2060 <div class="informaltable"><table width="100%" border="0">
2062 <col width="150px" class="parameters_name">
2063 <col class="parameters_description">
2064 <col width="200px" class="parameters_annotations">
2068 <td class="parameter_name"><p>font</p></td>
2069 <td class="parameter_description"><p>a font.</p></td>
2070 <td class="parameter_annotations"> </td>
2073 <td class="parameter_name"><p>x_scale</p></td>
2074 <td class="parameter_description"><p>. </p></td>
2075 <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>
2078 <td class="parameter_name"><p>y_scale</p></td>
2079 <td class="parameter_description"><p>. </p></td>
2080 <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>
2085 <p class="since">Since 1.0</p>
2088 <div class="refsect2">
2089 <a name="hb-font-get-user-data"></a><h3>hb_font_get_user_data ()</h3>
2090 <pre class="programlisting"><span class="returnvalue">void</span> *
2091 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>,
2092 <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>
2093 <div class="refsect3">
2094 <a name="idp25786848"></a><h4>Parameters</h4>
2095 <div class="informaltable"><table width="100%" border="0">
2097 <col width="150px" class="parameters_name">
2098 <col class="parameters_description">
2099 <col width="200px" class="parameters_annotations">
2102 <td class="parameter_name"><p>font</p></td>
2103 <td class="parameter_description"><p>a font.</p></td>
2104 <td class="parameter_annotations"> </td>
2108 <div class="refsect3">
2109 <a name="idp25795248"></a><h4>Returns</h4>
2111 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
2113 <p class="since">Since 1.0</p>
2116 <div class="refsect2">
2117 <a name="hb-font-glyph-from-string"></a><h3>hb_font_glyph_from_string ()</h3>
2118 <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>
2119 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>,
2120 <em class="parameter"><code>const <span class="type">char</span> *s</code></em>,
2121 <em class="parameter"><code><span class="type">int</span> len</code></em>,
2122 <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>
2123 <div class="refsect3">
2124 <a name="idp25811552"></a><h4>Parameters</h4>
2125 <div class="informaltable"><table width="100%" border="0">
2127 <col width="150px" class="parameters_name">
2128 <col class="parameters_description">
2129 <col width="200px" class="parameters_annotations">
2133 <td class="parameter_name"><p>font</p></td>
2134 <td class="parameter_description"><p>a font.</p></td>
2135 <td class="parameter_annotations"> </td>
2138 <td class="parameter_name"><p>s</p></td>
2139 <td class="parameter_description"><p>. </p></td>
2140 <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>
2143 <td class="parameter_name"><p>glyph</p></td>
2144 <td class="parameter_description"><p>. </p></td>
2145 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2150 <div class="refsect3">
2151 <a name="idp25827376"></a><h4>Returns</h4>
2154 <p class="since">Since 1.0</p>
2157 <div class="refsect2">
2158 <a name="hb-font-glyph-to-string"></a><h3>hb_font_glyph_to_string ()</h3>
2159 <pre class="programlisting"><span class="returnvalue">void</span>
2160 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>,
2161 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
2162 <em class="parameter"><code><span class="type">char</span> *s</code></em>,
2163 <em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>);</pre>
2164 <div class="refsect3">
2165 <a name="idp25842016"></a><h4>Parameters</h4>
2166 <div class="informaltable"><table width="100%" border="0">
2168 <col width="150px" class="parameters_name">
2169 <col class="parameters_description">
2170 <col width="200px" class="parameters_annotations">
2174 <td class="parameter_name"><p>font</p></td>
2175 <td class="parameter_description"><p>a font.</p></td>
2176 <td class="parameter_annotations"> </td>
2179 <td class="parameter_name"><p>s</p></td>
2180 <td class="parameter_description"><p>. </p></td>
2181 <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>
2186 <p class="since">Since 1.0</p>
2189 <div class="refsect2">
2190 <a name="hb-font-is-immutable"></a><h3>hb_font_is_immutable ()</h3>
2191 <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>
2192 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>
2193 <div class="refsect3">
2194 <a name="idp25862080"></a><h4>Parameters</h4>
2195 <div class="informaltable"><table width="100%" border="0">
2197 <col width="150px" class="parameters_name">
2198 <col class="parameters_description">
2199 <col width="200px" class="parameters_annotations">
2202 <td class="parameter_name"><p>font</p></td>
2203 <td class="parameter_description"><p>a font.</p></td>
2204 <td class="parameter_annotations"> </td>
2208 <div class="refsect3">
2209 <a name="idp25870480"></a><h4>Returns</h4>
2212 <p class="since">Since 1.0</p>
2215 <div class="refsect2">
2216 <a name="hb-font-make-immutable"></a><h3>hb_font_make_immutable ()</h3>
2217 <pre class="programlisting"><span class="returnvalue">void</span>
2218 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>
2219 <div class="refsect3">
2220 <a name="idp25879856"></a><h4>Parameters</h4>
2221 <div class="informaltable"><table width="100%" border="0">
2223 <col width="150px" class="parameters_name">
2224 <col class="parameters_description">
2225 <col width="200px" class="parameters_annotations">
2228 <td class="parameter_name"><p>font</p></td>
2229 <td class="parameter_description"><p>a font.</p></td>
2230 <td class="parameter_annotations"> </td>
2234 <p class="since">Since 1.0</p>
2237 <div class="refsect2">
2238 <a name="hb-font-reference"></a><h3>hb_font_reference ()</h3>
2239 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
2240 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>
2241 <div class="refsect3">
2242 <a name="idp25896192"></a><h4>Parameters</h4>
2243 <div class="informaltable"><table width="100%" border="0">
2245 <col width="150px" class="parameters_name">
2246 <col class="parameters_description">
2247 <col width="200px" class="parameters_annotations">
2250 <td class="parameter_name"><p>font</p></td>
2251 <td class="parameter_description"><p>a font.</p></td>
2252 <td class="parameter_annotations"> </td>
2256 <div class="refsect3">
2257 <a name="idp25904592"></a><h4>Returns</h4>
2259 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
2261 <p class="since">Since 1.0</p>
2264 <div class="refsect2">
2265 <a name="hb-font-set-funcs"></a><h3>hb_font_set_funcs ()</h3>
2266 <pre class="programlisting"><span class="returnvalue">void</span>
2267 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>,
2268 <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>,
2269 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2270 <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>
2271 <div class="refsect3">
2272 <a name="idp25920576"></a><h4>Parameters</h4>
2273 <div class="informaltable"><table width="100%" border="0">
2275 <col width="150px" class="parameters_name">
2276 <col class="parameters_description">
2277 <col width="200px" class="parameters_annotations">
2281 <td class="parameter_name"><p>font</p></td>
2282 <td class="parameter_description"><p>a font.</p></td>
2283 <td class="parameter_annotations"> </td>
2286 <td class="parameter_name"><p>klass</p></td>
2287 <td class="parameter_description"><p>. </p></td>
2288 <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>
2293 <p class="since">Since 1.0</p>
2296 <div class="refsect2">
2297 <a name="hb-font-set-funcs-data"></a><h3>hb_font_set_funcs_data ()</h3>
2298 <pre class="programlisting"><span class="returnvalue">void</span>
2299 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>,
2300 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2301 <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>
2302 <div class="refsect3">
2303 <a name="idp25945024"></a><h4>Parameters</h4>
2304 <div class="informaltable"><table width="100%" border="0">
2306 <col width="150px" class="parameters_name">
2307 <col class="parameters_description">
2308 <col width="200px" class="parameters_annotations">
2312 <td class="parameter_name"><p>font</p></td>
2313 <td class="parameter_description"><p>a font.</p></td>
2314 <td class="parameter_annotations"> </td>
2317 <td class="parameter_name"><p>font_data</p></td>
2318 <td class="parameter_description"><p>. </p></td>
2319 <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>
2324 <p class="since">Since 1.0</p>
2327 <div class="refsect2">
2328 <a name="hb-font-set-ppem"></a><h3>hb_font_set_ppem ()</h3>
2329 <pre class="programlisting"><span class="returnvalue">void</span>
2330 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>,
2331 <em class="parameter"><code>unsigned <span class="type">int</span> x_ppem</code></em>,
2332 <em class="parameter"><code>unsigned <span class="type">int</span> y_ppem</code></em>);</pre>
2333 <div class="refsect3">
2334 <a name="idp25969200"></a><h4>Parameters</h4>
2335 <div class="informaltable"><table width="100%" border="0">
2337 <col width="150px" class="parameters_name">
2338 <col class="parameters_description">
2339 <col width="200px" class="parameters_annotations">
2342 <td class="parameter_name"><p>font</p></td>
2343 <td class="parameter_description"><p>a font.</p></td>
2344 <td class="parameter_annotations"> </td>
2348 <p class="since">Since 1.0</p>
2351 <div class="refsect2">
2352 <a name="hb-font-set-scale"></a><h3>hb_font_set_scale ()</h3>
2353 <pre class="programlisting"><span class="returnvalue">void</span>
2354 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>,
2355 <em class="parameter"><code><span class="type">int</span> x_scale</code></em>,
2356 <em class="parameter"><code><span class="type">int</span> y_scale</code></em>);</pre>
2357 <div class="refsect3">
2358 <a name="idp25988880"></a><h4>Parameters</h4>
2359 <div class="informaltable"><table width="100%" border="0">
2361 <col width="150px" class="parameters_name">
2362 <col class="parameters_description">
2363 <col width="200px" class="parameters_annotations">
2366 <td class="parameter_name"><p>font</p></td>
2367 <td class="parameter_description"><p>a font.</p></td>
2368 <td class="parameter_annotations"> </td>
2372 <p class="since">Since 1.0</p>
2375 <div class="refsect2">
2376 <a name="hb-font-set-user-data"></a><h3>hb_font_set_user_data ()</h3>
2377 <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>
2378 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>,
2379 <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>,
2380 <em class="parameter"><code><span class="type">void</span> *data</code></em>,
2381 <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>,
2382 <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>
2383 <div class="refsect3">
2384 <a name="idp26012016"></a><h4>Parameters</h4>
2385 <div class="informaltable"><table width="100%" border="0">
2387 <col width="150px" class="parameters_name">
2388 <col class="parameters_description">
2389 <col width="200px" class="parameters_annotations">
2392 <td class="parameter_name"><p>font</p></td>
2393 <td class="parameter_description"><p>a font.</p></td>
2394 <td class="parameter_annotations"> </td>
2398 <div class="refsect3">
2399 <a name="idp26020416"></a><h4>Returns</h4>
2402 <p class="since">Since 1.0</p>
2405 <div class="refsect2">
2406 <a name="hb-font-subtract-glyph-origin-for-direction"></a><h3>hb_font_subtract_glyph_origin_for_direction ()</h3>
2407 <pre class="programlisting"><span class="returnvalue">void</span>
2408 hb_font_subtract_glyph_origin_for_direction
2409 (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2410 <em class="parameter"><code><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>,
2411 <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>,
2412 <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>,
2413 <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>
2414 <div class="refsect3">
2415 <a name="idp26036768"></a><h4>Parameters</h4>
2416 <div class="informaltable"><table width="100%" border="0">
2418 <col width="150px" class="parameters_name">
2419 <col class="parameters_description">
2420 <col width="200px" class="parameters_annotations">
2424 <td class="parameter_name"><p>font</p></td>
2425 <td class="parameter_description"><p>a font.</p></td>
2426 <td class="parameter_annotations"> </td>
2429 <td class="parameter_name"><p>x</p></td>
2430 <td class="parameter_description"><p>. </p></td>
2431 <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>
2434 <td class="parameter_name"><p>y</p></td>
2435 <td class="parameter_description"><p>. </p></td>
2436 <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>
2441 <p class="since">Since 1.0</p>
2444 <div class="refsect2">
2445 <a name="hb-reference-table-func-t"></a><h3>hb_reference_table_func_t ()</h3>
2446 <pre class="programlisting"><a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
2447 <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>,
2448 <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>,
2449 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
2452 <div class="refsect3">
2453 <a name="idp26065488"></a><h4>Returns</h4>
2458 <div class="refsect1">
2459 <a name="harfbuzz-hb-font.other_details"></a><h2>Types and Values</h2>
2460 <div class="refsect2">
2461 <a name="hb-font-funcs-t"></a><h3>hb_font_funcs_t</h3>
2462 <pre class="programlisting">typedef struct hb_font_funcs_t hb_font_funcs_t;
2468 <div class="refsect2">
2469 <a name="hb-font-get-glyph-h-advance-func-t"></a><h3>hb_font_get_glyph_h_advance_func_t</h3>
2470 <pre class="programlisting">typedef hb_font_get_glyph_advance_func_t hb_font_get_glyph_h_advance_func_t;
2476 <div class="refsect2">
2477 <a name="hb-font-get-glyph-h-kerning-func-t"></a><h3>hb_font_get_glyph_h_kerning_func_t</h3>
2478 <pre class="programlisting">typedef hb_font_get_glyph_kerning_func_t hb_font_get_glyph_h_kerning_func_t;
2484 <div class="refsect2">
2485 <a name="hb-font-get-glyph-h-origin-func-t"></a><h3>hb_font_get_glyph_h_origin_func_t</h3>
2486 <pre class="programlisting">typedef hb_font_get_glyph_origin_func_t hb_font_get_glyph_h_origin_func_t;
2492 <div class="refsect2">
2493 <a name="hb-font-get-glyph-v-advance-func-t"></a><h3>hb_font_get_glyph_v_advance_func_t</h3>
2494 <pre class="programlisting">typedef hb_font_get_glyph_advance_func_t hb_font_get_glyph_v_advance_func_t;
2500 <div class="refsect2">
2501 <a name="hb-font-get-glyph-v-kerning-func-t"></a><h3>hb_font_get_glyph_v_kerning_func_t</h3>
2502 <pre class="programlisting">typedef hb_font_get_glyph_kerning_func_t hb_font_get_glyph_v_kerning_func_t;
2508 <div class="refsect2">
2509 <a name="hb-font-get-glyph-v-origin-func-t"></a><h3>hb_font_get_glyph_v_origin_func_t</h3>
2510 <pre class="programlisting">typedef hb_font_get_glyph_origin_func_t hb_font_get_glyph_v_origin_func_t;
2516 <div class="refsect2">
2517 <a name="hb-font-t"></a><h3>hb_font_t</h3>
2518 <pre class="programlisting">typedef struct hb_font_t hb_font_t;
2525 <div class="footer">
2527 Generated by GTK-Doc V1.20.1</div>