1a81a444b5105d7ff2cb7d6bb305b0112627ec78
[platform/upstream/harfbuzz.git] / docs / html / harfbuzz-hb-font.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>hb-font: HarfBuzz Manual</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7 <link rel="home" href="index.html" title="HarfBuzz Manual">
8 <link rel="up" href="ch07.html" title="Harfbuzz API">
9 <link rel="prev" href="harfbuzz-hb-face.html" title="hb-face">
10 <link rel="next" href="harfbuzz-Shaping.html" title="Shaping">
11 <meta name="generator" content="GTK-Doc V1.24.1 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18                   <a href="#harfbuzz-hb-font.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19                   <a href="#harfbuzz-hb-font.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
20 </td>
21 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22 <td><a accesskey="u" href="ch07.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23 <td><a accesskey="p" href="harfbuzz-hb-face.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24 <td><a accesskey="n" href="harfbuzz-Shaping.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25 </tr></table>
26 <div class="refentry">
27 <a name="harfbuzz-hb-font"></a><div class="titlepage"></div>
28 <div class="refnamediv"><table width="100%"><tr>
29 <td valign="top">
30 <h2><span class="refentrytitle"><a name="harfbuzz-hb-font.top_of_page"></a>hb-font</span></h2>
31 <p>hb-font</p>
32 </td>
33 <td class="gallery_image" valign="top" align="right"></td>
34 </tr></table></div>
35 <div class="refsect1">
36 <a name="harfbuzz-hb-font.functions"></a><h2>Functions</h2>
37 <div class="informaltable"><table width="100%" border="0">
38 <colgroup>
39 <col width="150px" class="functions_return">
40 <col class="functions_name">
41 </colgroup>
42 <tbody>
43 <tr>
44 <td class="function_type">
45 <span class="returnvalue">void</span>
46 </td>
47 <td class="function_name">
48 <a class="link" href="harfbuzz-hb-font.html#hb-font-add-glyph-origin-for-direction" title="hb_font_add_glyph_origin_for_direction ()">hb_font_add_glyph_origin_for_direction</a> <span class="c_punctuation">()</span>
49 </td>
50 </tr>
51 <tr>
52 <td class="function_type">
53 <a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
54 </td>
55 <td class="function_name">
56 <a class="link" href="harfbuzz-hb-font.html#hb-font-create" title="hb_font_create ()">hb_font_create</a> <span class="c_punctuation">()</span>
57 </td>
58 </tr>
59 <tr>
60 <td class="function_type">
61 <a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
62 </td>
63 <td class="function_name">
64 <a class="link" href="harfbuzz-hb-font.html#hb-font-create-sub-font" title="hb_font_create_sub_font ()">hb_font_create_sub_font</a> <span class="c_punctuation">()</span>
65 </td>
66 </tr>
67 <tr>
68 <td class="function_type">
69 <span class="returnvalue">void</span>
70 </td>
71 <td class="function_name">
72 <a class="link" href="harfbuzz-hb-font.html#hb-font-destroy" title="hb_font_destroy ()">hb_font_destroy</a> <span class="c_punctuation">()</span>
73 </td>
74 </tr>
75 <tr>
76 <td class="function_type">
77 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
78 </td>
79 <td class="function_name">
80 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-create" title="hb_font_funcs_create ()">hb_font_funcs_create</a> <span class="c_punctuation">()</span>
81 </td>
82 </tr>
83 <tr>
84 <td class="function_type">
85 <span class="returnvalue">void</span>
86 </td>
87 <td class="function_name">
88 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-destroy" title="hb_font_funcs_destroy ()">hb_font_funcs_destroy</a> <span class="c_punctuation">()</span>
89 </td>
90 </tr>
91 <tr>
92 <td class="function_type">
93 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
94 </td>
95 <td class="function_name">
96 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-get-empty" title="hb_font_funcs_get_empty ()">hb_font_funcs_get_empty</a> <span class="c_punctuation">()</span>
97 </td>
98 </tr>
99 <tr>
100 <td class="function_type">
101 <span class="returnvalue">void</span> *
102 </td>
103 <td class="function_name">
104 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-get-user-data" title="hb_font_funcs_get_user_data ()">hb_font_funcs_get_user_data</a> <span class="c_punctuation">()</span>
105 </td>
106 </tr>
107 <tr>
108 <td class="function_type">
109 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
110 </td>
111 <td class="function_name">
112 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-is-immutable" title="hb_font_funcs_is_immutable ()">hb_font_funcs_is_immutable</a> <span class="c_punctuation">()</span>
113 </td>
114 </tr>
115 <tr>
116 <td class="function_type">
117 <span class="returnvalue">void</span>
118 </td>
119 <td class="function_name">
120 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-make-immutable" title="hb_font_funcs_make_immutable ()">hb_font_funcs_make_immutable</a> <span class="c_punctuation">()</span>
121 </td>
122 </tr>
123 <tr>
124 <td class="function_type">
125 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
126 </td>
127 <td class="function_name">
128 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-reference" title="hb_font_funcs_reference ()">hb_font_funcs_reference</a> <span class="c_punctuation">()</span>
129 </td>
130 </tr>
131 <tr>
132 <td class="function_type">
133 <span class="returnvalue">void</span>
134 </td>
135 <td class="function_name">
136 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-contour-point-func" title="hb_font_funcs_set_glyph_contour_point_func ()">hb_font_funcs_set_glyph_contour_point_func</a> <span class="c_punctuation">()</span>
137 </td>
138 </tr>
139 <tr>
140 <td class="function_type">
141 <span class="returnvalue">void</span>
142 </td>
143 <td class="function_name">
144 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-extents-func" title="hb_font_funcs_set_glyph_extents_func ()">hb_font_funcs_set_glyph_extents_func</a> <span class="c_punctuation">()</span>
145 </td>
146 </tr>
147 <tr>
148 <td class="function_type">
149 <span class="returnvalue">void</span>
150 </td>
151 <td class="function_name">
152 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-from-name-func" title="hb_font_funcs_set_glyph_from_name_func ()">hb_font_funcs_set_glyph_from_name_func</a> <span class="c_punctuation">()</span>
153 </td>
154 </tr>
155 <tr>
156 <td class="function_type">
157 <span class="returnvalue">void</span>
158 </td>
159 <td class="function_name">
160 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-func" title="hb_font_funcs_set_glyph_func ()">hb_font_funcs_set_glyph_func</a> <span class="c_punctuation">()</span>
161 </td>
162 </tr>
163 <tr>
164 <td class="function_type">
165 <span class="returnvalue">void</span>
166 </td>
167 <td class="function_name">
168 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-h-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>
169 </td>
170 </tr>
171 <tr>
172 <td class="function_type">
173 <span class="returnvalue">void</span>
174 </td>
175 <td class="function_name">
176 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-h-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>
177 </td>
178 </tr>
179 <tr>
180 <td class="function_type">
181 <span class="returnvalue">void</span>
182 </td>
183 <td class="function_name">
184 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-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>
185 </td>
186 </tr>
187 <tr>
188 <td class="function_type">
189 <span class="returnvalue">void</span>
190 </td>
191 <td class="function_name">
192 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-name-func" title="hb_font_funcs_set_glyph_name_func ()">hb_font_funcs_set_glyph_name_func</a> <span class="c_punctuation">()</span>
193 </td>
194 </tr>
195 <tr>
196 <td class="function_type">
197 <span class="returnvalue">void</span>
198 </td>
199 <td class="function_name">
200 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-v-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>
201 </td>
202 </tr>
203 <tr>
204 <td class="function_type">
205 <span class="returnvalue">void</span>
206 </td>
207 <td class="function_name">
208 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-glyph-v-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>
209 </td>
210 </tr>
211 <tr>
212 <td class="function_type">
213 <span class="returnvalue">void</span>
214 </td>
215 <td class="function_name">
216 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-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>
217 </td>
218 </tr>
219 <tr>
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>
222 </td>
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>
225 </td>
226 </tr>
227 <tr>
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> *
230 </td>
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>
233 </td>
234 </tr>
235 <tr>
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> *
238 </td>
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>
241 </td>
242 </tr>
243 <tr>
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>
246 </td>
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>
249 </td>
250 </tr>
251 <tr>
252 <td class="function_type">
253 <span class="returnvalue">void</span>
254 </td>
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>
257 </td>
258 </tr>
259 <tr>
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>
262 </td>
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>
265 </td>
266 </tr>
267 <tr>
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>
270 </td>
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>
273 </td>
274 </tr>
275 <tr>
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>
278 </td>
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>
281 </td>
282 </tr>
283 <tr>
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>
286 </td>
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>
289 </td>
290 </tr>
291 <tr>
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>
294 </td>
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>
297 </td>
298 </tr>
299 <tr>
300 <td class="function_type">
301 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
302 </td>
303 <td class="function_name">
304 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-extents-for-origin" title="hb_font_get_glyph_extents_for_origin ()">hb_font_get_glyph_extents_for_origin</a> <span class="c_punctuation">()</span>
305 </td>
306 </tr>
307 <tr>
308 <td class="function_type">
309 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
310 </td>
311 <td class="function_name">
312 <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>
313 </td>
314 </tr>
315 <tr>
316 <td class="function_type">
317 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
318 </td>
319 <td class="function_name">
320 <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>
321 </td>
322 </tr>
323 <tr>
324 <td class="function_type">
325 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
326 </td>
327 <td class="function_name">
328 <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>
329 </td>
330 </tr>
331 <tr>
332 <td class="function_type">
333 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
334 </td>
335 <td class="function_name">
336 <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>
337 </td>
338 </tr>
339 <tr>
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>
342 </td>
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>
345 </td>
346 </tr>
347 <tr>
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>
350 </td>
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>
353 </td>
354 </tr>
355 <tr>
356 <td class="function_type">
357 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
358 </td>
359 <td class="function_name">
360 <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>
361 </td>
362 </tr>
363 <tr>
364 <td class="function_type">
365 <span class="returnvalue">void</span>
366 </td>
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>
369 </td>
370 </tr>
371 <tr>
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>
374 </td>
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>
377 </td>
378 </tr>
379 <tr>
380 <td class="function_type">
381 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
382 </td>
383 <td class="function_name">
384 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-name" title="hb_font_get_glyph_name ()">hb_font_get_glyph_name</a> <span class="c_punctuation">()</span>
385 </td>
386 </tr>
387 <tr>
388 <td class="function_type">
389 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
390 </td>
391 <td class="function_name">
392 <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>
393 </td>
394 </tr>
395 <tr>
396 <td class="function_type">
397 <span class="returnvalue">void</span>
398 </td>
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>
401 </td>
402 </tr>
403 <tr>
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>
406 </td>
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>
409 </td>
410 </tr>
411 <tr>
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>
414 </td>
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>
417 </td>
418 </tr>
419 <tr>
420 <td class="function_type">
421 <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
422 </td>
423 <td class="function_name">
424 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-kerning" title="hb_font_get_glyph_v_kerning ()">hb_font_get_glyph_v_kerning</a> <span class="c_punctuation">()</span>
425 </td>
426 </tr>
427 <tr>
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>
430 </td>
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>
433 </td>
434 </tr>
435 <tr>
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> *
438 </td>
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>
441 </td>
442 </tr>
443 <tr>
444 <td class="function_type">
445 <span class="returnvalue">void</span>
446 </td>
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>
449 </td>
450 </tr>
451 <tr>
452 <td class="function_type">
453 <span class="returnvalue">void</span>
454 </td>
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>
457 </td>
458 </tr>
459 <tr>
460 <td class="function_type">
461 <span class="returnvalue">void</span> *
462 </td>
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>
465 </td>
466 </tr>
467 <tr>
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>
470 </td>
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>
473 </td>
474 </tr>
475 <tr>
476 <td class="function_type">
477 <span class="returnvalue">void</span>
478 </td>
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>
481 </td>
482 </tr>
483 <tr>
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>
486 </td>
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>
489 </td>
490 </tr>
491 <tr>
492 <td class="function_type">
493 <span class="returnvalue">void</span>
494 </td>
495 <td class="function_name">
496 <a class="link" href="harfbuzz-hb-font.html#hb-font-make-immutable" title="hb_font_make_immutable ()">hb_font_make_immutable</a> <span class="c_punctuation">()</span>
497 </td>
498 </tr>
499 <tr>
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> *
502 </td>
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>
505 </td>
506 </tr>
507 <tr>
508 <td class="function_type">
509 <span class="returnvalue">void</span>
510 </td>
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>
513 </td>
514 </tr>
515 <tr>
516 <td class="function_type">
517 <span class="returnvalue">void</span>
518 </td>
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>
521 </td>
522 </tr>
523 <tr>
524 <td class="function_type">
525 <span class="returnvalue">void</span>
526 </td>
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>
529 </td>
530 </tr>
531 <tr>
532 <td class="function_type">
533 <span class="returnvalue">void</span>
534 </td>
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>
537 </td>
538 </tr>
539 <tr>
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>
542 </td>
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>
545 </td>
546 </tr>
547 <tr>
548 <td class="function_type">
549 <span class="returnvalue">void</span>
550 </td>
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>
553 </td>
554 </tr>
555 <tr>
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> *
558 </td>
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>
561 </td>
562 </tr>
563 <tr>
564 <td class="function_type">
565 <span class="returnvalue">void</span>
566 </td>
567 <td class="function_name">
568 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-font-h-extents-func" title="hb_font_funcs_set_font_h_extents_func ()">hb_font_funcs_set_font_h_extents_func</a> <span class="c_punctuation">()</span>
569 </td>
570 </tr>
571 <tr>
572 <td class="function_type">
573 <span class="returnvalue">void</span>
574 </td>
575 <td class="function_name">
576 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-set-font-v-extents-func" title="hb_font_funcs_set_font_v_extents_func ()">hb_font_funcs_set_font_v_extents_func</a> <span class="c_punctuation">()</span>
577 </td>
578 </tr>
579 <tr>
580 <td class="function_type">
581 <span class="returnvalue">void</span>
582 </td>
583 <td class="function_name">
584 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-extents-for-direction" title="hb_font_get_extents_for_direction ()">hb_font_get_extents_for_direction</a> <span class="c_punctuation">()</span>
585 </td>
586 </tr>
587 <tr>
588 <td class="function_type">
589 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
590 </td>
591 <td class="function_name">
592 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-font.html#hb-font-get-font-extents-func-t" title="hb_font_get_font_extents_func_t ()">*hb_font_get_font_extents_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
593 </td>
594 </tr>
595 <tr>
596 <td class="function_type">
597 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
598 </td>
599 <td class="function_name">
600 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-h-extents" title="hb_font_get_h_extents ()">hb_font_get_h_extents</a> <span class="c_punctuation">()</span>
601 </td>
602 </tr>
603 <tr>
604 <td class="function_type">
605 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
606 </td>
607 <td class="function_name">
608 <a class="link" href="harfbuzz-hb-font.html#hb-font-get-v-extents" title="hb_font_get_v_extents ()">hb_font_get_v_extents</a> <span class="c_punctuation">()</span>
609 </td>
610 </tr>
611 <tr>
612 <td class="function_type">
613 <span class="returnvalue">void</span>
614 </td>
615 <td class="function_name">
616 <a class="link" href="harfbuzz-hb-font.html#hb-font-set-parent" title="hb_font_set_parent ()">hb_font_set_parent</a> <span class="c_punctuation">()</span>
617 </td>
618 </tr>
619 </tbody>
620 </table></div>
621 </div>
622 <a name="hb-font-funcs-t"></a><a name="hb-font-t"></a><div class="refsect1">
623 <a name="harfbuzz-hb-font.other"></a><h2>Types and Values</h2>
624 <div class="informaltable"><table width="100%" border="0">
625 <colgroup>
626 <col width="150px" class="name">
627 <col class="description">
628 </colgroup>
629 <tbody>
630 <tr>
631 <td class="typedef_keyword">typedef</td>
632 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t">hb_font_funcs_t</a></td>
633 </tr>
634 <tr>
635 <td class="typedef_keyword">typedef</td>
636 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-advance-func-t" title="hb_font_get_glyph_h_advance_func_t">hb_font_get_glyph_h_advance_func_t</a></td>
637 </tr>
638 <tr>
639 <td class="typedef_keyword">typedef</td>
640 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-kerning-func-t" title="hb_font_get_glyph_h_kerning_func_t">hb_font_get_glyph_h_kerning_func_t</a></td>
641 </tr>
642 <tr>
643 <td class="typedef_keyword">typedef</td>
644 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-origin-func-t" title="hb_font_get_glyph_h_origin_func_t">hb_font_get_glyph_h_origin_func_t</a></td>
645 </tr>
646 <tr>
647 <td class="typedef_keyword">typedef</td>
648 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-advance-func-t" title="hb_font_get_glyph_v_advance_func_t">hb_font_get_glyph_v_advance_func_t</a></td>
649 </tr>
650 <tr>
651 <td class="typedef_keyword">typedef</td>
652 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-kerning-func-t" title="hb_font_get_glyph_v_kerning_func_t">hb_font_get_glyph_v_kerning_func_t</a></td>
653 </tr>
654 <tr>
655 <td class="typedef_keyword">typedef</td>
656 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-origin-func-t" title="hb_font_get_glyph_v_origin_func_t">hb_font_get_glyph_v_origin_func_t</a></td>
657 </tr>
658 <tr>
659 <td class="typedef_keyword">typedef</td>
660 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-t">hb_font_t</a></td>
661 </tr>
662 <tr>
663 <td class="typedef_keyword">typedef</td>
664 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-font-h-extents-func-t" title="hb_font_get_font_h_extents_func_t">hb_font_get_font_h_extents_func_t</a></td>
665 </tr>
666 <tr>
667 <td class="typedef_keyword">typedef</td>
668 <td class="function_name"><a class="link" href="harfbuzz-hb-font.html#hb-font-get-font-v-extents-func-t" title="hb_font_get_font_v_extents_func_t">hb_font_get_font_v_extents_func_t</a></td>
669 </tr>
670 </tbody>
671 </table></div>
672 </div>
673 <div class="refsect1">
674 <a name="harfbuzz-hb-font.object-hierarchy"></a><h2>Object Hierarchy</h2>
675 <pre class="screen">    <a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
676     <span class="lineart">├──</span> hb_font_funcs_t
677     <span class="lineart">╰──</span> hb_font_t
678 </pre>
679 </div>
680 <div class="refsect1">
681 <a name="harfbuzz-hb-font.description"></a><h2>Description</h2>
682 </div>
683 <div class="refsect1">
684 <a name="harfbuzz-hb-font.functions_details"></a><h2>Functions</h2>
685 <div class="refsect2">
686 <a name="hb-font-add-glyph-origin-for-direction"></a><h3>hb_font_add_glyph_origin_for_direction ()</h3>
687 <pre class="programlisting"><span class="returnvalue">void</span>
688 hb_font_add_glyph_origin_for_direction
689                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
690                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
691                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>,
692                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *x</code></em>,
693                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *y</code></em>);</pre>
694 <div class="refsect3">
695 <a name="hb-font-add-glyph-origin-for-direction.parameters"></a><h4>Parameters</h4>
696 <div class="informaltable"><table width="100%" border="0">
697 <colgroup>
698 <col width="150px" class="parameters_name">
699 <col class="parameters_description">
700 <col width="200px" class="parameters_annotations">
701 </colgroup>
702 <tbody>
703 <tr>
704 <td class="parameter_name"><p>font</p></td>
705 <td class="parameter_description"><p>a font.</p></td>
706 <td class="parameter_annotations"> </td>
707 </tr>
708 <tr>
709 <td class="parameter_name"><p>x</p></td>
710 <td class="parameter_description"><p>. </p></td>
711 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
712 </tr>
713 <tr>
714 <td class="parameter_name"><p>y</p></td>
715 <td class="parameter_description"><p>. </p></td>
716 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
717 </tr>
718 </tbody>
719 </table></div>
720 </div>
721 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
722 </div>
723 <hr>
724 <div class="refsect2">
725 <a name="hb-font-create"></a><h3>hb_font_create ()</h3>
726 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
727 hb_font_create (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="type">hb_face_t</span></a> *face</code></em>);</pre>
728 <p><span class="annotation">[Xconstructor]</span></p>
729 <div class="refsect3">
730 <a name="hb-font-create.parameters"></a><h4>Parameters</h4>
731 <div class="informaltable"><table width="100%" border="0">
732 <colgroup>
733 <col width="150px" class="parameters_name">
734 <col class="parameters_description">
735 <col width="200px" class="parameters_annotations">
736 </colgroup>
737 <tbody><tr>
738 <td class="parameter_name"><p>face</p></td>
739 <td class="parameter_description"><p>a face.</p></td>
740 <td class="parameter_annotations"> </td>
741 </tr></tbody>
742 </table></div>
743 </div>
744 <div class="refsect3">
745 <a name="hb-font-create.returns"></a><h4>Returns</h4>
746 <p>. </p>
747 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
748 </div>
749 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
750 </div>
751 <hr>
752 <div class="refsect2">
753 <a name="hb-font-create-sub-font"></a><h3>hb_font_create_sub_font ()</h3>
754 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
755 hb_font_create_sub_font (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *parent</code></em>);</pre>
756 <div class="refsect3">
757 <a name="hb-font-create-sub-font.parameters"></a><h4>Parameters</h4>
758 <div class="informaltable"><table width="100%" border="0">
759 <colgroup>
760 <col width="150px" class="parameters_name">
761 <col class="parameters_description">
762 <col width="200px" class="parameters_annotations">
763 </colgroup>
764 <tbody><tr>
765 <td class="parameter_name"><p>parent</p></td>
766 <td class="parameter_description"><p>parent font.</p></td>
767 <td class="parameter_annotations"> </td>
768 </tr></tbody>
769 </table></div>
770 </div>
771 <div class="refsect3">
772 <a name="hb-font-create-sub-font.returns"></a><h4>Returns</h4>
773 <p>. </p>
774 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
775 </div>
776 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
777 </div>
778 <hr>
779 <div class="refsect2">
780 <a name="hb-font-destroy"></a><h3>hb_font_destroy ()</h3>
781 <pre class="programlisting"><span class="returnvalue">void</span>
782 hb_font_destroy (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre>
783 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
784 <div class="refsect3">
785 <a name="hb-font-destroy.parameters"></a><h4>Parameters</h4>
786 <div class="informaltable"><table width="100%" border="0">
787 <colgroup>
788 <col width="150px" class="parameters_name">
789 <col class="parameters_description">
790 <col width="200px" class="parameters_annotations">
791 </colgroup>
792 <tbody><tr>
793 <td class="parameter_name"><p>font</p></td>
794 <td class="parameter_description"><p>a font.</p></td>
795 <td class="parameter_annotations"> </td>
796 </tr></tbody>
797 </table></div>
798 </div>
799 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
800 </div>
801 <hr>
802 <div class="refsect2">
803 <a name="hb-font-funcs-create"></a><h3>hb_font_funcs_create ()</h3>
804 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
805 hb_font_funcs_create (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
806 <p><span class="annotation">[Xconstructor]</span></p>
807 <div class="refsect3">
808 <a name="hb-font-funcs-create.returns"></a><h4>Returns</h4>
809 <p>. </p>
810 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
811 </div>
812 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
813 </div>
814 <hr>
815 <div class="refsect2">
816 <a name="hb-font-funcs-destroy"></a><h3>hb_font_funcs_destroy ()</h3>
817 <pre class="programlisting"><span class="returnvalue">void</span>
818 hb_font_funcs_destroy (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>);</pre>
819 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
820 <div class="refsect3">
821 <a name="hb-font-funcs-destroy.parameters"></a><h4>Parameters</h4>
822 <div class="informaltable"><table width="100%" border="0">
823 <colgroup>
824 <col width="150px" class="parameters_name">
825 <col class="parameters_description">
826 <col width="200px" class="parameters_annotations">
827 </colgroup>
828 <tbody><tr>
829 <td class="parameter_name"><p>ffuncs</p></td>
830 <td class="parameter_description"><p>font functions.</p></td>
831 <td class="parameter_annotations"> </td>
832 </tr></tbody>
833 </table></div>
834 </div>
835 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
836 </div>
837 <hr>
838 <div class="refsect2">
839 <a name="hb-font-funcs-get-empty"></a><h3>hb_font_funcs_get_empty ()</h3>
840 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
841 hb_font_funcs_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
842 <div class="refsect3">
843 <a name="hb-font-funcs-get-empty.returns"></a><h4>Returns</h4>
844 <p>. </p>
845 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
846 </div>
847 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
848 </div>
849 <hr>
850 <div class="refsect2">
851 <a name="hb-font-funcs-get-user-data"></a><h3>hb_font_funcs_get_user_data ()</h3>
852 <pre class="programlisting"><span class="returnvalue">void</span> *
853 hb_font_funcs_get_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
854                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>);</pre>
855 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
856 <div class="refsect3">
857 <a name="hb-font-funcs-get-user-data.parameters"></a><h4>Parameters</h4>
858 <div class="informaltable"><table width="100%" border="0">
859 <colgroup>
860 <col width="150px" class="parameters_name">
861 <col class="parameters_description">
862 <col width="200px" class="parameters_annotations">
863 </colgroup>
864 <tbody><tr>
865 <td class="parameter_name"><p>ffuncs</p></td>
866 <td class="parameter_description"><p>font functions.</p></td>
867 <td class="parameter_annotations"> </td>
868 </tr></tbody>
869 </table></div>
870 </div>
871 <div class="refsect3">
872 <a name="hb-font-funcs-get-user-data.returns"></a><h4>Returns</h4>
873 <p>. </p>
874 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
875 </div>
876 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
877 </div>
878 <hr>
879 <div class="refsect2">
880 <a name="hb-font-funcs-is-immutable"></a><h3>hb_font_funcs_is_immutable ()</h3>
881 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
882 hb_font_funcs_is_immutable (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>);</pre>
883 <div class="refsect3">
884 <a name="hb-font-funcs-is-immutable.parameters"></a><h4>Parameters</h4>
885 <div class="informaltable"><table width="100%" border="0">
886 <colgroup>
887 <col width="150px" class="parameters_name">
888 <col class="parameters_description">
889 <col width="200px" class="parameters_annotations">
890 </colgroup>
891 <tbody><tr>
892 <td class="parameter_name"><p>ffuncs</p></td>
893 <td class="parameter_description"><p>font functions.</p></td>
894 <td class="parameter_annotations"> </td>
895 </tr></tbody>
896 </table></div>
897 </div>
898 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
899 </div>
900 <hr>
901 <div class="refsect2">
902 <a name="hb-font-funcs-make-immutable"></a><h3>hb_font_funcs_make_immutable ()</h3>
903 <pre class="programlisting"><span class="returnvalue">void</span>
904 hb_font_funcs_make_immutable (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>);</pre>
905 <div class="refsect3">
906 <a name="hb-font-funcs-make-immutable.parameters"></a><h4>Parameters</h4>
907 <div class="informaltable"><table width="100%" border="0">
908 <colgroup>
909 <col width="150px" class="parameters_name">
910 <col class="parameters_description">
911 <col width="200px" class="parameters_annotations">
912 </colgroup>
913 <tbody><tr>
914 <td class="parameter_name"><p>ffuncs</p></td>
915 <td class="parameter_description"><p>font functions.</p></td>
916 <td class="parameter_annotations"> </td>
917 </tr></tbody>
918 </table></div>
919 </div>
920 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
921 </div>
922 <hr>
923 <div class="refsect2">
924 <a name="hb-font-funcs-reference"></a><h3>hb_font_funcs_reference ()</h3>
925 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="returnvalue">hb_font_funcs_t</span></a> *
926 hb_font_funcs_reference (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>);</pre>
927 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
928 <div class="refsect3">
929 <a name="hb-font-funcs-reference.parameters"></a><h4>Parameters</h4>
930 <div class="informaltable"><table width="100%" border="0">
931 <colgroup>
932 <col width="150px" class="parameters_name">
933 <col class="parameters_description">
934 <col width="200px" class="parameters_annotations">
935 </colgroup>
936 <tbody><tr>
937 <td class="parameter_name"><p>ffuncs</p></td>
938 <td class="parameter_description"><p>font functions.</p></td>
939 <td class="parameter_annotations"> </td>
940 </tr></tbody>
941 </table></div>
942 </div>
943 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
944 </div>
945 <hr>
946 <div class="refsect2">
947 <a name="hb-font-funcs-set-glyph-contour-point-func"></a><h3>hb_font_funcs_set_glyph_contour_point_func ()</h3>
948 <pre class="programlisting"><span class="returnvalue">void</span>
949 hb_font_funcs_set_glyph_contour_point_func
950                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
951                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-contour-point-func-t" title="hb_font_get_glyph_contour_point_func_t ()"><span class="type">hb_font_get_glyph_contour_point_func_t</span></a> func</code></em>,
952                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
953                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
954 <div class="refsect3">
955 <a name="hb-font-funcs-set-glyph-contour-point-func.parameters"></a><h4>Parameters</h4>
956 <div class="informaltable"><table width="100%" border="0">
957 <colgroup>
958 <col width="150px" class="parameters_name">
959 <col class="parameters_description">
960 <col width="200px" class="parameters_annotations">
961 </colgroup>
962 <tbody>
963 <tr>
964 <td class="parameter_name"><p>ffuncs</p></td>
965 <td class="parameter_description"><p>font functions.</p></td>
966 <td class="parameter_annotations"> </td>
967 </tr>
968 <tr>
969 <td class="parameter_name"><p>func</p></td>
970 <td class="parameter_description"><p>. </p></td>
971 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
972 </tr>
973 </tbody>
974 </table></div>
975 </div>
976 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
977 </div>
978 <hr>
979 <div class="refsect2">
980 <a name="hb-font-funcs-set-glyph-extents-func"></a><h3>hb_font_funcs_set_glyph_extents_func ()</h3>
981 <pre class="programlisting"><span class="returnvalue">void</span>
982 hb_font_funcs_set_glyph_extents_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
983                                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-extents-func-t" title="hb_font_get_glyph_extents_func_t ()"><span class="type">hb_font_get_glyph_extents_func_t</span></a> func</code></em>,
984                                       <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
985                                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
986 <div class="refsect3">
987 <a name="hb-font-funcs-set-glyph-extents-func.parameters"></a><h4>Parameters</h4>
988 <div class="informaltable"><table width="100%" border="0">
989 <colgroup>
990 <col width="150px" class="parameters_name">
991 <col class="parameters_description">
992 <col width="200px" class="parameters_annotations">
993 </colgroup>
994 <tbody>
995 <tr>
996 <td class="parameter_name"><p>ffuncs</p></td>
997 <td class="parameter_description"><p>font functions.</p></td>
998 <td class="parameter_annotations"> </td>
999 </tr>
1000 <tr>
1001 <td class="parameter_name"><p>func</p></td>
1002 <td class="parameter_description"><p>. </p></td>
1003 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1004 </tr>
1005 </tbody>
1006 </table></div>
1007 </div>
1008 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1009 </div>
1010 <hr>
1011 <div class="refsect2">
1012 <a name="hb-font-funcs-set-glyph-from-name-func"></a><h3>hb_font_funcs_set_glyph_from_name_func ()</h3>
1013 <pre class="programlisting"><span class="returnvalue">void</span>
1014 hb_font_funcs_set_glyph_from_name_func
1015                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1016                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-from-name-func-t" title="hb_font_get_glyph_from_name_func_t ()"><span class="type">hb_font_get_glyph_from_name_func_t</span></a> func</code></em>,
1017                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1018                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1019 <div class="refsect3">
1020 <a name="hb-font-funcs-set-glyph-from-name-func.parameters"></a><h4>Parameters</h4>
1021 <div class="informaltable"><table width="100%" border="0">
1022 <colgroup>
1023 <col width="150px" class="parameters_name">
1024 <col class="parameters_description">
1025 <col width="200px" class="parameters_annotations">
1026 </colgroup>
1027 <tbody>
1028 <tr>
1029 <td class="parameter_name"><p>ffuncs</p></td>
1030 <td class="parameter_description"><p>font functions.</p></td>
1031 <td class="parameter_annotations"> </td>
1032 </tr>
1033 <tr>
1034 <td class="parameter_name"><p>func</p></td>
1035 <td class="parameter_description"><p>. </p></td>
1036 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1037 </tr>
1038 </tbody>
1039 </table></div>
1040 </div>
1041 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1042 </div>
1043 <hr>
1044 <div class="refsect2">
1045 <a name="hb-font-funcs-set-glyph-func"></a><h3>hb_font_funcs_set_glyph_func ()</h3>
1046 <pre class="programlisting"><span class="returnvalue">void</span>
1047 hb_font_funcs_set_glyph_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1048                               <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-func-t" title="hb_font_get_glyph_func_t ()"><span class="type">hb_font_get_glyph_func_t</span></a> func</code></em>,
1049                               <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1050                               <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1051 <div class="warning"><p><code class="literal">hb_font_funcs_set_glyph_func</code> has been deprecated since version 1.2.3 and should not be used in newly-written code.</p></div>
1052 <p>Deprecated.  Use <code class="function">hb_font_funcs_set_nominal_glyph_func()</code> and
1053 <code class="function">hb_font_funcs_set_variation_glyph_func()</code> instead.</p>
1054 <div class="refsect3">
1055 <a name="hb-font-funcs-set-glyph-func.parameters"></a><h4>Parameters</h4>
1056 <div class="informaltable"><table width="100%" border="0">
1057 <colgroup>
1058 <col width="150px" class="parameters_name">
1059 <col class="parameters_description">
1060 <col width="200px" class="parameters_annotations">
1061 </colgroup>
1062 <tbody>
1063 <tr>
1064 <td class="parameter_name"><p>ffuncs</p></td>
1065 <td class="parameter_description"><p>font functions.</p></td>
1066 <td class="parameter_annotations"> </td>
1067 </tr>
1068 <tr>
1069 <td class="parameter_name"><p>func</p></td>
1070 <td class="parameter_description"><p>. </p></td>
1071 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1072 </tr>
1073 </tbody>
1074 </table></div>
1075 </div>
1076 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1077 </div>
1078 <hr>
1079 <div class="refsect2">
1080 <a name="hb-font-funcs-set-glyph-h-advance-func"></a><h3>hb_font_funcs_set_glyph_h_advance_func ()</h3>
1081 <pre class="programlisting"><span class="returnvalue">void</span>
1082 hb_font_funcs_set_glyph_h_advance_func
1083                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1084                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-advance-func-t" title="hb_font_get_glyph_h_advance_func_t"><span class="type">hb_font_get_glyph_h_advance_func_t</span></a> func</code></em>,
1085                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1086                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1087 <div class="refsect3">
1088 <a name="hb-font-funcs-set-glyph-h-advance-func.parameters"></a><h4>Parameters</h4>
1089 <div class="informaltable"><table width="100%" border="0">
1090 <colgroup>
1091 <col width="150px" class="parameters_name">
1092 <col class="parameters_description">
1093 <col width="200px" class="parameters_annotations">
1094 </colgroup>
1095 <tbody>
1096 <tr>
1097 <td class="parameter_name"><p>ffuncs</p></td>
1098 <td class="parameter_description"><p>font functions.</p></td>
1099 <td class="parameter_annotations"> </td>
1100 </tr>
1101 <tr>
1102 <td class="parameter_name"><p>func</p></td>
1103 <td class="parameter_description"><p>. </p></td>
1104 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1105 </tr>
1106 </tbody>
1107 </table></div>
1108 </div>
1109 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1110 </div>
1111 <hr>
1112 <div class="refsect2">
1113 <a name="hb-font-funcs-set-glyph-h-kerning-func"></a><h3>hb_font_funcs_set_glyph_h_kerning_func ()</h3>
1114 <pre class="programlisting"><span class="returnvalue">void</span>
1115 hb_font_funcs_set_glyph_h_kerning_func
1116                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1117                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-kerning-func-t" title="hb_font_get_glyph_h_kerning_func_t"><span class="type">hb_font_get_glyph_h_kerning_func_t</span></a> func</code></em>,
1118                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1119                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1120 <div class="refsect3">
1121 <a name="hb-font-funcs-set-glyph-h-kerning-func.parameters"></a><h4>Parameters</h4>
1122 <div class="informaltable"><table width="100%" border="0">
1123 <colgroup>
1124 <col width="150px" class="parameters_name">
1125 <col class="parameters_description">
1126 <col width="200px" class="parameters_annotations">
1127 </colgroup>
1128 <tbody>
1129 <tr>
1130 <td class="parameter_name"><p>ffuncs</p></td>
1131 <td class="parameter_description"><p>font functions.</p></td>
1132 <td class="parameter_annotations"> </td>
1133 </tr>
1134 <tr>
1135 <td class="parameter_name"><p>func</p></td>
1136 <td class="parameter_description"><p>. </p></td>
1137 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1138 </tr>
1139 </tbody>
1140 </table></div>
1141 </div>
1142 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1143 </div>
1144 <hr>
1145 <div class="refsect2">
1146 <a name="hb-font-funcs-set-glyph-h-origin-func"></a><h3>hb_font_funcs_set_glyph_h_origin_func ()</h3>
1147 <pre class="programlisting"><span class="returnvalue">void</span>
1148 hb_font_funcs_set_glyph_h_origin_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1149                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-h-origin-func-t" title="hb_font_get_glyph_h_origin_func_t"><span class="type">hb_font_get_glyph_h_origin_func_t</span></a> func</code></em>,
1150                                        <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1151                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1152 <div class="refsect3">
1153 <a name="hb-font-funcs-set-glyph-h-origin-func.parameters"></a><h4>Parameters</h4>
1154 <div class="informaltable"><table width="100%" border="0">
1155 <colgroup>
1156 <col width="150px" class="parameters_name">
1157 <col class="parameters_description">
1158 <col width="200px" class="parameters_annotations">
1159 </colgroup>
1160 <tbody>
1161 <tr>
1162 <td class="parameter_name"><p>ffuncs</p></td>
1163 <td class="parameter_description"><p>font functions.</p></td>
1164 <td class="parameter_annotations"> </td>
1165 </tr>
1166 <tr>
1167 <td class="parameter_name"><p>func</p></td>
1168 <td class="parameter_description"><p>. </p></td>
1169 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1170 </tr>
1171 </tbody>
1172 </table></div>
1173 </div>
1174 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1175 </div>
1176 <hr>
1177 <div class="refsect2">
1178 <a name="hb-font-funcs-set-glyph-name-func"></a><h3>hb_font_funcs_set_glyph_name_func ()</h3>
1179 <pre class="programlisting"><span class="returnvalue">void</span>
1180 hb_font_funcs_set_glyph_name_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1181                                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-name-func-t" title="hb_font_get_glyph_name_func_t ()"><span class="type">hb_font_get_glyph_name_func_t</span></a> func</code></em>,
1182                                    <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1183                                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1184 <div class="refsect3">
1185 <a name="hb-font-funcs-set-glyph-name-func.parameters"></a><h4>Parameters</h4>
1186 <div class="informaltable"><table width="100%" border="0">
1187 <colgroup>
1188 <col width="150px" class="parameters_name">
1189 <col class="parameters_description">
1190 <col width="200px" class="parameters_annotations">
1191 </colgroup>
1192 <tbody>
1193 <tr>
1194 <td class="parameter_name"><p>ffuncs</p></td>
1195 <td class="parameter_description"><p>font functions.</p></td>
1196 <td class="parameter_annotations"> </td>
1197 </tr>
1198 <tr>
1199 <td class="parameter_name"><p>func</p></td>
1200 <td class="parameter_description"><p>. </p></td>
1201 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1202 </tr>
1203 </tbody>
1204 </table></div>
1205 </div>
1206 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1207 </div>
1208 <hr>
1209 <div class="refsect2">
1210 <a name="hb-font-funcs-set-glyph-v-advance-func"></a><h3>hb_font_funcs_set_glyph_v_advance_func ()</h3>
1211 <pre class="programlisting"><span class="returnvalue">void</span>
1212 hb_font_funcs_set_glyph_v_advance_func
1213                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1214                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-advance-func-t" title="hb_font_get_glyph_v_advance_func_t"><span class="type">hb_font_get_glyph_v_advance_func_t</span></a> func</code></em>,
1215                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1216                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1217 <div class="refsect3">
1218 <a name="hb-font-funcs-set-glyph-v-advance-func.parameters"></a><h4>Parameters</h4>
1219 <div class="informaltable"><table width="100%" border="0">
1220 <colgroup>
1221 <col width="150px" class="parameters_name">
1222 <col class="parameters_description">
1223 <col width="200px" class="parameters_annotations">
1224 </colgroup>
1225 <tbody>
1226 <tr>
1227 <td class="parameter_name"><p>ffuncs</p></td>
1228 <td class="parameter_description"><p>font functions.</p></td>
1229 <td class="parameter_annotations"> </td>
1230 </tr>
1231 <tr>
1232 <td class="parameter_name"><p>func</p></td>
1233 <td class="parameter_description"><p>. </p></td>
1234 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1235 </tr>
1236 </tbody>
1237 </table></div>
1238 </div>
1239 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1240 </div>
1241 <hr>
1242 <div class="refsect2">
1243 <a name="hb-font-funcs-set-glyph-v-kerning-func"></a><h3>hb_font_funcs_set_glyph_v_kerning_func ()</h3>
1244 <pre class="programlisting"><span class="returnvalue">void</span>
1245 hb_font_funcs_set_glyph_v_kerning_func
1246                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1247                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-kerning-func-t" title="hb_font_get_glyph_v_kerning_func_t"><span class="type">hb_font_get_glyph_v_kerning_func_t</span></a> func</code></em>,
1248                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1249                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1250 <div class="refsect3">
1251 <a name="hb-font-funcs-set-glyph-v-kerning-func.parameters"></a><h4>Parameters</h4>
1252 <div class="informaltable"><table width="100%" border="0">
1253 <colgroup>
1254 <col width="150px" class="parameters_name">
1255 <col class="parameters_description">
1256 <col width="200px" class="parameters_annotations">
1257 </colgroup>
1258 <tbody>
1259 <tr>
1260 <td class="parameter_name"><p>ffuncs</p></td>
1261 <td class="parameter_description"><p>font functions.</p></td>
1262 <td class="parameter_annotations"> </td>
1263 </tr>
1264 <tr>
1265 <td class="parameter_name"><p>func</p></td>
1266 <td class="parameter_description"><p>. </p></td>
1267 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1268 </tr>
1269 </tbody>
1270 </table></div>
1271 </div>
1272 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1273 </div>
1274 <hr>
1275 <div class="refsect2">
1276 <a name="hb-font-funcs-set-glyph-v-origin-func"></a><h3>hb_font_funcs_set_glyph_v_origin_func ()</h3>
1277 <pre class="programlisting"><span class="returnvalue">void</span>
1278 hb_font_funcs_set_glyph_v_origin_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1279                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-glyph-v-origin-func-t" title="hb_font_get_glyph_v_origin_func_t"><span class="type">hb_font_get_glyph_v_origin_func_t</span></a> func</code></em>,
1280                                        <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
1281                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
1282 <div class="refsect3">
1283 <a name="hb-font-funcs-set-glyph-v-origin-func.parameters"></a><h4>Parameters</h4>
1284 <div class="informaltable"><table width="100%" border="0">
1285 <colgroup>
1286 <col width="150px" class="parameters_name">
1287 <col class="parameters_description">
1288 <col width="200px" class="parameters_annotations">
1289 </colgroup>
1290 <tbody>
1291 <tr>
1292 <td class="parameter_name"><p>ffuncs</p></td>
1293 <td class="parameter_description"><p>font functions.</p></td>
1294 <td class="parameter_annotations"> </td>
1295 </tr>
1296 <tr>
1297 <td class="parameter_name"><p>func</p></td>
1298 <td class="parameter_description"><p>. </p></td>
1299 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
1300 </tr>
1301 </tbody>
1302 </table></div>
1303 </div>
1304 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1305 </div>
1306 <hr>
1307 <div class="refsect2">
1308 <a name="hb-font-funcs-set-user-data"></a><h3>hb_font_funcs_set_user_data ()</h3>
1309 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1310 hb_font_funcs_set_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
1311                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>,
1312                              <em class="parameter"><code><span class="type">void</span> *data</code></em>,
1313                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>,
1314                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="type">hb_bool_t</span></a> replace</code></em>);</pre>
1315 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1316 <div class="refsect3">
1317 <a name="hb-font-funcs-set-user-data.parameters"></a><h4>Parameters</h4>
1318 <div class="informaltable"><table width="100%" border="0">
1319 <colgroup>
1320 <col width="150px" class="parameters_name">
1321 <col class="parameters_description">
1322 <col width="200px" class="parameters_annotations">
1323 </colgroup>
1324 <tbody><tr>
1325 <td class="parameter_name"><p>ffuncs</p></td>
1326 <td class="parameter_description"><p>font functions.</p></td>
1327 <td class="parameter_annotations"> </td>
1328 </tr></tbody>
1329 </table></div>
1330 </div>
1331 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1332 </div>
1333 <hr>
1334 <div class="refsect2">
1335 <a name="hb-font-get-empty"></a><h3>hb_font_get_empty ()</h3>
1336 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
1337 hb_font_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1338 <div class="refsect3">
1339 <a name="hb-font-get-empty.returns"></a><h4>Returns</h4>
1340 <p> (transfer full)</p>
1341 </div>
1342 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1343 </div>
1344 <hr>
1345 <div class="refsect2">
1346 <a name="hb-font-get-face"></a><h3>hb_font_get_face ()</h3>
1347 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
1348 hb_font_get_face (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre>
1349 <div class="refsect3">
1350 <a name="hb-font-get-face.parameters"></a><h4>Parameters</h4>
1351 <div class="informaltable"><table width="100%" border="0">
1352 <colgroup>
1353 <col width="150px" class="parameters_name">
1354 <col class="parameters_description">
1355 <col width="200px" class="parameters_annotations">
1356 </colgroup>
1357 <tbody><tr>
1358 <td class="parameter_name"><p>font</p></td>
1359 <td class="parameter_description"><p>a font.</p></td>
1360 <td class="parameter_annotations"> </td>
1361 </tr></tbody>
1362 </table></div>
1363 </div>
1364 <div class="refsect3">
1365 <a name="hb-font-get-face.returns"></a><h4>Returns</h4>
1366 <p>. </p>
1367 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1368 </div>
1369 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1370 </div>
1371 <hr>
1372 <div class="refsect2">
1373 <a name="hb-font-get-glyph"></a><h3>hb_font_get_glyph ()</h3>
1374 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1375 hb_font_get_glyph (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1376                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> unicode</code></em>,
1377                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> variation_selector</code></em>,
1378                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *glyph</code></em>);</pre>
1379 <div class="refsect3">
1380 <a name="hb-font-get-glyph.parameters"></a><h4>Parameters</h4>
1381 <div class="informaltable"><table width="100%" border="0">
1382 <colgroup>
1383 <col width="150px" class="parameters_name">
1384 <col class="parameters_description">
1385 <col width="200px" class="parameters_annotations">
1386 </colgroup>
1387 <tbody>
1388 <tr>
1389 <td class="parameter_name"><p>font</p></td>
1390 <td class="parameter_description"><p>a font.</p></td>
1391 <td class="parameter_annotations"> </td>
1392 </tr>
1393 <tr>
1394 <td class="parameter_name"><p>glyph</p></td>
1395 <td class="parameter_description"><p>. </p></td>
1396 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1397 </tr>
1398 </tbody>
1399 </table></div>
1400 </div>
1401 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1402 </div>
1403 <hr>
1404 <div class="refsect2">
1405 <a name="hb-font-get-glyph-advance-for-direction"></a><h3>hb_font_get_glyph_advance_for_direction ()</h3>
1406 <pre class="programlisting"><span class="returnvalue">void</span>
1407 hb_font_get_glyph_advance_for_direction
1408                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1409                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1410                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>,
1411                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *x</code></em>,
1412                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *y</code></em>);</pre>
1413 <div class="refsect3">
1414 <a name="hb-font-get-glyph-advance-for-direction.parameters"></a><h4>Parameters</h4>
1415 <div class="informaltable"><table width="100%" border="0">
1416 <colgroup>
1417 <col width="150px" class="parameters_name">
1418 <col class="parameters_description">
1419 <col width="200px" class="parameters_annotations">
1420 </colgroup>
1421 <tbody>
1422 <tr>
1423 <td class="parameter_name"><p>font</p></td>
1424 <td class="parameter_description"><p>a font.</p></td>
1425 <td class="parameter_annotations"> </td>
1426 </tr>
1427 <tr>
1428 <td class="parameter_name"><p>x</p></td>
1429 <td class="parameter_description"><p>. </p></td>
1430 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1431 </tr>
1432 <tr>
1433 <td class="parameter_name"><p>y</p></td>
1434 <td class="parameter_description"><p>. </p></td>
1435 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1436 </tr>
1437 </tbody>
1438 </table></div>
1439 </div>
1440 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1441 </div>
1442 <hr>
1443 <div class="refsect2">
1444 <a name="hb-font-get-glyph-advance-func-t"></a><h3>hb_font_get_glyph_advance_func_t ()</h3>
1445 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
1446 <span class="c_punctuation">(</span>*hb_font_get_glyph_advance_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1447                                      <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1448                                      <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1449                                      <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1450 </div>
1451 <hr>
1452 <div class="refsect2">
1453 <a name="hb-font-get-glyph-contour-point"></a><h3>hb_font_get_glyph_contour_point ()</h3>
1454 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1455 hb_font_get_glyph_contour_point (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1456                                  <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1457                                  <em class="parameter"><code>unsigned <span class="type">int</span> point_index</code></em>,
1458                                  <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *x</code></em>,
1459                                  <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *y</code></em>);</pre>
1460 <div class="refsect3">
1461 <a name="hb-font-get-glyph-contour-point.parameters"></a><h4>Parameters</h4>
1462 <div class="informaltable"><table width="100%" border="0">
1463 <colgroup>
1464 <col width="150px" class="parameters_name">
1465 <col class="parameters_description">
1466 <col width="200px" class="parameters_annotations">
1467 </colgroup>
1468 <tbody>
1469 <tr>
1470 <td class="parameter_name"><p>font</p></td>
1471 <td class="parameter_description"><p>a font.</p></td>
1472 <td class="parameter_annotations"> </td>
1473 </tr>
1474 <tr>
1475 <td class="parameter_name"><p>x</p></td>
1476 <td class="parameter_description"><p>. </p></td>
1477 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1478 </tr>
1479 <tr>
1480 <td class="parameter_name"><p>y</p></td>
1481 <td class="parameter_description"><p>. </p></td>
1482 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1483 </tr>
1484 </tbody>
1485 </table></div>
1486 </div>
1487 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1488 </div>
1489 <hr>
1490 <div class="refsect2">
1491 <a name="hb-font-get-glyph-contour-point-for-origin"></a><h3>hb_font_get_glyph_contour_point_for_origin ()</h3>
1492 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1493 hb_font_get_glyph_contour_point_for_origin
1494                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1495                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1496                                 <em class="parameter"><code>unsigned <span class="type">int</span> point_index</code></em>,
1497                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>,
1498                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *x</code></em>,
1499                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *y</code></em>);</pre>
1500 <div class="refsect3">
1501 <a name="hb-font-get-glyph-contour-point-for-origin.parameters"></a><h4>Parameters</h4>
1502 <div class="informaltable"><table width="100%" border="0">
1503 <colgroup>
1504 <col width="150px" class="parameters_name">
1505 <col class="parameters_description">
1506 <col width="200px" class="parameters_annotations">
1507 </colgroup>
1508 <tbody>
1509 <tr>
1510 <td class="parameter_name"><p>font</p></td>
1511 <td class="parameter_description"><p>a font.</p></td>
1512 <td class="parameter_annotations"> </td>
1513 </tr>
1514 <tr>
1515 <td class="parameter_name"><p>x</p></td>
1516 <td class="parameter_description"><p>. </p></td>
1517 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1518 </tr>
1519 <tr>
1520 <td class="parameter_name"><p>y</p></td>
1521 <td class="parameter_description"><p>. </p></td>
1522 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1523 </tr>
1524 </tbody>
1525 </table></div>
1526 </div>
1527 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1528 </div>
1529 <hr>
1530 <div class="refsect2">
1531 <a name="hb-font-get-glyph-contour-point-func-t"></a><h3>hb_font_get_glyph_contour_point_func_t ()</h3>
1532 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1533 <span class="c_punctuation">(</span>*hb_font_get_glyph_contour_point_func_t<span class="c_punctuation">)</span>
1534                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1535                                 <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1536                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1537                                 <em class="parameter"><code>unsigned <span class="type">int</span> point_index</code></em>,
1538                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *x</code></em>,
1539                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *y</code></em>,
1540                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1541 </div>
1542 <hr>
1543 <div class="refsect2">
1544 <a name="hb-font-get-glyph-extents"></a><h3>hb_font_get_glyph_extents ()</h3>
1545 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1546 hb_font_get_glyph_extents (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1547                            <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1548                            <em class="parameter"><code><span class="type">hb_glyph_extents_t</span> *extents</code></em>);</pre>
1549 <div class="refsect3">
1550 <a name="hb-font-get-glyph-extents.parameters"></a><h4>Parameters</h4>
1551 <div class="informaltable"><table width="100%" border="0">
1552 <colgroup>
1553 <col width="150px" class="parameters_name">
1554 <col class="parameters_description">
1555 <col width="200px" class="parameters_annotations">
1556 </colgroup>
1557 <tbody>
1558 <tr>
1559 <td class="parameter_name"><p>font</p></td>
1560 <td class="parameter_description"><p>a font.</p></td>
1561 <td class="parameter_annotations"> </td>
1562 </tr>
1563 <tr>
1564 <td class="parameter_name"><p>extents</p></td>
1565 <td class="parameter_description"><p>. </p></td>
1566 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1567 </tr>
1568 </tbody>
1569 </table></div>
1570 </div>
1571 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1572 </div>
1573 <hr>
1574 <div class="refsect2">
1575 <a name="hb-font-get-glyph-extents-for-origin"></a><h3>hb_font_get_glyph_extents_for_origin ()</h3>
1576 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1577 hb_font_get_glyph_extents_for_origin (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1578                                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1579                                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>,
1580                                       <em class="parameter"><code><span class="type">hb_glyph_extents_t</span> *extents</code></em>);</pre>
1581 <div class="refsect3">
1582 <a name="hb-font-get-glyph-extents-for-origin.parameters"></a><h4>Parameters</h4>
1583 <div class="informaltable"><table width="100%" border="0">
1584 <colgroup>
1585 <col width="150px" class="parameters_name">
1586 <col class="parameters_description">
1587 <col width="200px" class="parameters_annotations">
1588 </colgroup>
1589 <tbody>
1590 <tr>
1591 <td class="parameter_name"><p>font</p></td>
1592 <td class="parameter_description"><p>a font.</p></td>
1593 <td class="parameter_annotations"> </td>
1594 </tr>
1595 <tr>
1596 <td class="parameter_name"><p>extents</p></td>
1597 <td class="parameter_description"><p>. </p></td>
1598 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1599 </tr>
1600 </tbody>
1601 </table></div>
1602 </div>
1603 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1604 </div>
1605 <hr>
1606 <div class="refsect2">
1607 <a name="hb-font-get-glyph-extents-func-t"></a><h3>hb_font_get_glyph_extents_func_t ()</h3>
1608 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1609 <span class="c_punctuation">(</span>*hb_font_get_glyph_extents_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1610                                      <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1611                                      <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1612                                      <em class="parameter"><code><span class="type">hb_glyph_extents_t</span> *extents</code></em>,
1613                                      <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1614 </div>
1615 <hr>
1616 <div class="refsect2">
1617 <a name="hb-font-get-glyph-from-name"></a><h3>hb_font_get_glyph_from_name ()</h3>
1618 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1619 hb_font_get_glyph_from_name (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1620                              <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
1621                              <em class="parameter"><code><span class="type">int</span> len</code></em>,
1622                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *glyph</code></em>);</pre>
1623 <div class="refsect3">
1624 <a name="hb-font-get-glyph-from-name.parameters"></a><h4>Parameters</h4>
1625 <div class="informaltable"><table width="100%" border="0">
1626 <colgroup>
1627 <col width="150px" class="parameters_name">
1628 <col class="parameters_description">
1629 <col width="200px" class="parameters_annotations">
1630 </colgroup>
1631 <tbody>
1632 <tr>
1633 <td class="parameter_name"><p>font</p></td>
1634 <td class="parameter_description"><p>a font.</p></td>
1635 <td class="parameter_annotations"> </td>
1636 </tr>
1637 <tr>
1638 <td class="parameter_name"><p>name</p></td>
1639 <td class="parameter_description"><p>. </p></td>
1640 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=len]</span></td>
1641 </tr>
1642 <tr>
1643 <td class="parameter_name"><p>glyph</p></td>
1644 <td class="parameter_description"><p>. </p></td>
1645 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1646 </tr>
1647 </tbody>
1648 </table></div>
1649 </div>
1650 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1651 </div>
1652 <hr>
1653 <div class="refsect2">
1654 <a name="hb-font-get-glyph-from-name-func-t"></a><h3>hb_font_get_glyph_from_name_func_t ()</h3>
1655 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1656 <span class="c_punctuation">(</span>*hb_font_get_glyph_from_name_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1657                                        <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1658                                        <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
1659                                        <em class="parameter"><code><span class="type">int</span> len</code></em>);</pre>
1660 </div>
1661 <hr>
1662 <div class="refsect2">
1663 <a name="hb-font-get-glyph-func-t"></a><h3>hb_font_get_glyph_func_t ()</h3>
1664 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1665 <span class="c_punctuation">(</span>*hb_font_get_glyph_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1666                              <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1667                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> unicode</code></em>,
1668                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> variation_selector</code></em>,
1669                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *glyph</code></em>,
1670                              <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1671 <div class="warning"><p><code class="literal">hb_font_get_glyph_func_t</code> is deprecated and should not be used in newly-written code.</p></div>
1672 </div>
1673 <hr>
1674 <div class="refsect2">
1675 <a name="hb-font-get-glyph-h-advance"></a><h3>hb_font_get_glyph_h_advance ()</h3>
1676 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
1677 hb_font_get_glyph_h_advance (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1678                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>);</pre>
1679 <div class="refsect3">
1680 <a name="hb-font-get-glyph-h-advance.parameters"></a><h4>Parameters</h4>
1681 <div class="informaltable"><table width="100%" border="0">
1682 <colgroup>
1683 <col width="150px" class="parameters_name">
1684 <col class="parameters_description">
1685 <col width="200px" class="parameters_annotations">
1686 </colgroup>
1687 <tbody><tr>
1688 <td class="parameter_name"><p>font</p></td>
1689 <td class="parameter_description"><p>a font.</p></td>
1690 <td class="parameter_annotations"> </td>
1691 </tr></tbody>
1692 </table></div>
1693 </div>
1694 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1695 </div>
1696 <hr>
1697 <div class="refsect2">
1698 <a name="hb-font-get-glyph-h-kerning"></a><h3>hb_font_get_glyph_h_kerning ()</h3>
1699 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
1700 hb_font_get_glyph_h_kerning (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1701                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> left_glyph</code></em>,
1702                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> right_glyph</code></em>);</pre>
1703 <div class="refsect3">
1704 <a name="hb-font-get-glyph-h-kerning.parameters"></a><h4>Parameters</h4>
1705 <div class="informaltable"><table width="100%" border="0">
1706 <colgroup>
1707 <col width="150px" class="parameters_name">
1708 <col class="parameters_description">
1709 <col width="200px" class="parameters_annotations">
1710 </colgroup>
1711 <tbody><tr>
1712 <td class="parameter_name"><p>font</p></td>
1713 <td class="parameter_description"><p>a font.</p></td>
1714 <td class="parameter_annotations"> </td>
1715 </tr></tbody>
1716 </table></div>
1717 </div>
1718 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1719 </div>
1720 <hr>
1721 <div class="refsect2">
1722 <a name="hb-font-get-glyph-h-origin"></a><h3>hb_font_get_glyph_h_origin ()</h3>
1723 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1724 hb_font_get_glyph_h_origin (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1725                             <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1726                             <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *x</code></em>,
1727                             <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *y</code></em>);</pre>
1728 <div class="refsect3">
1729 <a name="hb-font-get-glyph-h-origin.parameters"></a><h4>Parameters</h4>
1730 <div class="informaltable"><table width="100%" border="0">
1731 <colgroup>
1732 <col width="150px" class="parameters_name">
1733 <col class="parameters_description">
1734 <col width="200px" class="parameters_annotations">
1735 </colgroup>
1736 <tbody>
1737 <tr>
1738 <td class="parameter_name"><p>font</p></td>
1739 <td class="parameter_description"><p>a font.</p></td>
1740 <td class="parameter_annotations"> </td>
1741 </tr>
1742 <tr>
1743 <td class="parameter_name"><p>x</p></td>
1744 <td class="parameter_description"><p>. </p></td>
1745 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1746 </tr>
1747 <tr>
1748 <td class="parameter_name"><p>y</p></td>
1749 <td class="parameter_description"><p>. </p></td>
1750 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1751 </tr>
1752 </tbody>
1753 </table></div>
1754 </div>
1755 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1756 </div>
1757 <hr>
1758 <div class="refsect2">
1759 <a name="hb-font-get-glyph-kerning-for-direction"></a><h3>hb_font_get_glyph_kerning_for_direction ()</h3>
1760 <pre class="programlisting"><span class="returnvalue">void</span>
1761 hb_font_get_glyph_kerning_for_direction
1762                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1763                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> first_glyph</code></em>,
1764                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> second_glyph</code></em>,
1765                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>,
1766                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *x</code></em>,
1767                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *y</code></em>);</pre>
1768 <div class="refsect3">
1769 <a name="hb-font-get-glyph-kerning-for-direction.parameters"></a><h4>Parameters</h4>
1770 <div class="informaltable"><table width="100%" border="0">
1771 <colgroup>
1772 <col width="150px" class="parameters_name">
1773 <col class="parameters_description">
1774 <col width="200px" class="parameters_annotations">
1775 </colgroup>
1776 <tbody>
1777 <tr>
1778 <td class="parameter_name"><p>font</p></td>
1779 <td class="parameter_description"><p>a font.</p></td>
1780 <td class="parameter_annotations"> </td>
1781 </tr>
1782 <tr>
1783 <td class="parameter_name"><p>x</p></td>
1784 <td class="parameter_description"><p>. </p></td>
1785 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1786 </tr>
1787 <tr>
1788 <td class="parameter_name"><p>y</p></td>
1789 <td class="parameter_description"><p>. </p></td>
1790 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1791 </tr>
1792 </tbody>
1793 </table></div>
1794 </div>
1795 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1796 </div>
1797 <hr>
1798 <div class="refsect2">
1799 <a name="hb-font-get-glyph-kerning-func-t"></a><h3>hb_font_get_glyph_kerning_func_t ()</h3>
1800 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
1801 <span class="c_punctuation">(</span>*hb_font_get_glyph_kerning_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1802                                      <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1803                                      <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> first_glyph</code></em>,
1804                                      <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> second_glyph</code></em>,
1805                                      <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1806 </div>
1807 <hr>
1808 <div class="refsect2">
1809 <a name="hb-font-get-glyph-name"></a><h3>hb_font_get_glyph_name ()</h3>
1810 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1811 hb_font_get_glyph_name (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1812                         <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1813                         <em class="parameter"><code><span class="type">char</span> *name</code></em>,
1814                         <em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>);</pre>
1815 <div class="refsect3">
1816 <a name="hb-font-get-glyph-name.parameters"></a><h4>Parameters</h4>
1817 <div class="informaltable"><table width="100%" border="0">
1818 <colgroup>
1819 <col width="150px" class="parameters_name">
1820 <col class="parameters_description">
1821 <col width="200px" class="parameters_annotations">
1822 </colgroup>
1823 <tbody>
1824 <tr>
1825 <td class="parameter_name"><p>font</p></td>
1826 <td class="parameter_description"><p>a font.</p></td>
1827 <td class="parameter_annotations"> </td>
1828 </tr>
1829 <tr>
1830 <td class="parameter_name"><p>name</p></td>
1831 <td class="parameter_description"><p>. </p></td>
1832 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size]</span></td>
1833 </tr>
1834 </tbody>
1835 </table></div>
1836 </div>
1837 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1838 </div>
1839 <hr>
1840 <div class="refsect2">
1841 <a name="hb-font-get-glyph-name-func-t"></a><h3>hb_font_get_glyph_name_func_t ()</h3>
1842 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1843 <span class="c_punctuation">(</span>*hb_font_get_glyph_name_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1844                                   <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1845                                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1846                                   <em class="parameter"><code><span class="type">char</span> *name</code></em>,
1847                                   <em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>,
1848                                   <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1849 </div>
1850 <hr>
1851 <div class="refsect2">
1852 <a name="hb-font-get-glyph-origin-for-direction"></a><h3>hb_font_get_glyph_origin_for_direction ()</h3>
1853 <pre class="programlisting"><span class="returnvalue">void</span>
1854 hb_font_get_glyph_origin_for_direction
1855                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1856                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1857                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>,
1858                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *x</code></em>,
1859                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *y</code></em>);</pre>
1860 <div class="refsect3">
1861 <a name="hb-font-get-glyph-origin-for-direction.parameters"></a><h4>Parameters</h4>
1862 <div class="informaltable"><table width="100%" border="0">
1863 <colgroup>
1864 <col width="150px" class="parameters_name">
1865 <col class="parameters_description">
1866 <col width="200px" class="parameters_annotations">
1867 </colgroup>
1868 <tbody>
1869 <tr>
1870 <td class="parameter_name"><p>font</p></td>
1871 <td class="parameter_description"><p>a font.</p></td>
1872 <td class="parameter_annotations"> </td>
1873 </tr>
1874 <tr>
1875 <td class="parameter_name"><p>x</p></td>
1876 <td class="parameter_description"><p>. </p></td>
1877 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1878 </tr>
1879 <tr>
1880 <td class="parameter_name"><p>y</p></td>
1881 <td class="parameter_description"><p>. </p></td>
1882 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
1883 </tr>
1884 </tbody>
1885 </table></div>
1886 </div>
1887 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1888 </div>
1889 <hr>
1890 <div class="refsect2">
1891 <a name="hb-font-get-glyph-origin-func-t"></a><h3>hb_font_get_glyph_origin_func_t ()</h3>
1892 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1893 <span class="c_punctuation">(</span>*hb_font_get_glyph_origin_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1894                                     <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
1895                                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1896                                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *x</code></em>,
1897                                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *y</code></em>,
1898                                     <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
1899 </div>
1900 <hr>
1901 <div class="refsect2">
1902 <a name="hb-font-get-glyph-v-advance"></a><h3>hb_font_get_glyph_v_advance ()</h3>
1903 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
1904 hb_font_get_glyph_v_advance (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1905                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>);</pre>
1906 <div class="refsect3">
1907 <a name="hb-font-get-glyph-v-advance.parameters"></a><h4>Parameters</h4>
1908 <div class="informaltable"><table width="100%" border="0">
1909 <colgroup>
1910 <col width="150px" class="parameters_name">
1911 <col class="parameters_description">
1912 <col width="200px" class="parameters_annotations">
1913 </colgroup>
1914 <tbody><tr>
1915 <td class="parameter_name"><p>font</p></td>
1916 <td class="parameter_description"><p>a font.</p></td>
1917 <td class="parameter_annotations"> </td>
1918 </tr></tbody>
1919 </table></div>
1920 </div>
1921 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1922 </div>
1923 <hr>
1924 <div class="refsect2">
1925 <a name="hb-font-get-glyph-v-kerning"></a><h3>hb_font_get_glyph_v_kerning ()</h3>
1926 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
1927 hb_font_get_glyph_v_kerning (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1928                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> top_glyph</code></em>,
1929                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> bottom_glyph</code></em>);</pre>
1930 <div class="refsect3">
1931 <a name="hb-font-get-glyph-v-kerning.parameters"></a><h4>Parameters</h4>
1932 <div class="informaltable"><table width="100%" border="0">
1933 <colgroup>
1934 <col width="150px" class="parameters_name">
1935 <col class="parameters_description">
1936 <col width="200px" class="parameters_annotations">
1937 </colgroup>
1938 <tbody><tr>
1939 <td class="parameter_name"><p>font</p></td>
1940 <td class="parameter_description"><p>a font.</p></td>
1941 <td class="parameter_annotations"> </td>
1942 </tr></tbody>
1943 </table></div>
1944 </div>
1945 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1946 </div>
1947 <hr>
1948 <div class="refsect2">
1949 <a name="hb-font-get-glyph-v-origin"></a><h3>hb_font_get_glyph_v_origin ()</h3>
1950 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
1951 hb_font_get_glyph_v_origin (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
1952                             <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
1953                             <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *x</code></em>,
1954                             <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *y</code></em>);</pre>
1955 <div class="refsect3">
1956 <a name="hb-font-get-glyph-v-origin.parameters"></a><h4>Parameters</h4>
1957 <div class="informaltable"><table width="100%" border="0">
1958 <colgroup>
1959 <col width="150px" class="parameters_name">
1960 <col class="parameters_description">
1961 <col width="200px" class="parameters_annotations">
1962 </colgroup>
1963 <tbody>
1964 <tr>
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>
1968 </tr>
1969 <tr>
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>
1973 </tr>
1974 <tr>
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>
1978 </tr>
1979 </tbody>
1980 </table></div>
1981 </div>
1982 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1983 </div>
1984 <hr>
1985 <div class="refsect2">
1986 <a name="hb-font-get-parent"></a><h3>hb_font_get_parent ()</h3>
1987 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
1988 hb_font_get_parent (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre>
1989 <div class="refsect3">
1990 <a name="hb-font-get-parent.parameters"></a><h4>Parameters</h4>
1991 <div class="informaltable"><table width="100%" border="0">
1992 <colgroup>
1993 <col width="150px" class="parameters_name">
1994 <col class="parameters_description">
1995 <col width="200px" class="parameters_annotations">
1996 </colgroup>
1997 <tbody><tr>
1998 <td class="parameter_name"><p>font</p></td>
1999 <td class="parameter_description"><p>a font.</p></td>
2000 <td class="parameter_annotations"> </td>
2001 </tr></tbody>
2002 </table></div>
2003 </div>
2004 <div class="refsect3">
2005 <a name="hb-font-get-parent.returns"></a><h4>Returns</h4>
2006 <p>. </p>
2007 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
2008 </div>
2009 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2010 </div>
2011 <hr>
2012 <div class="refsect2">
2013 <a name="hb-font-get-ppem"></a><h3>hb_font_get_ppem ()</h3>
2014 <pre class="programlisting"><span class="returnvalue">void</span>
2015 hb_font_get_ppem (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2016                   <em class="parameter"><code>unsigned <span class="type">int</span> *x_ppem</code></em>,
2017                   <em class="parameter"><code>unsigned <span class="type">int</span> *y_ppem</code></em>);</pre>
2018 <div class="refsect3">
2019 <a name="hb-font-get-ppem.parameters"></a><h4>Parameters</h4>
2020 <div class="informaltable"><table width="100%" border="0">
2021 <colgroup>
2022 <col width="150px" class="parameters_name">
2023 <col class="parameters_description">
2024 <col width="200px" class="parameters_annotations">
2025 </colgroup>
2026 <tbody>
2027 <tr>
2028 <td class="parameter_name"><p>font</p></td>
2029 <td class="parameter_description"><p>a font.</p></td>
2030 <td class="parameter_annotations"> </td>
2031 </tr>
2032 <tr>
2033 <td class="parameter_name"><p>x_ppem</p></td>
2034 <td class="parameter_description"><p>. </p></td>
2035 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2036 </tr>
2037 <tr>
2038 <td class="parameter_name"><p>y_ppem</p></td>
2039 <td class="parameter_description"><p>. </p></td>
2040 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2041 </tr>
2042 </tbody>
2043 </table></div>
2044 </div>
2045 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2046 </div>
2047 <hr>
2048 <div class="refsect2">
2049 <a name="hb-font-get-scale"></a><h3>hb_font_get_scale ()</h3>
2050 <pre class="programlisting"><span class="returnvalue">void</span>
2051 hb_font_get_scale (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2052                    <em class="parameter"><code><span class="type">int</span> *x_scale</code></em>,
2053                    <em class="parameter"><code><span class="type">int</span> *y_scale</code></em>);</pre>
2054 <div class="refsect3">
2055 <a name="hb-font-get-scale.parameters"></a><h4>Parameters</h4>
2056 <div class="informaltable"><table width="100%" border="0">
2057 <colgroup>
2058 <col width="150px" class="parameters_name">
2059 <col class="parameters_description">
2060 <col width="200px" class="parameters_annotations">
2061 </colgroup>
2062 <tbody>
2063 <tr>
2064 <td class="parameter_name"><p>font</p></td>
2065 <td class="parameter_description"><p>a font.</p></td>
2066 <td class="parameter_annotations"> </td>
2067 </tr>
2068 <tr>
2069 <td class="parameter_name"><p>x_scale</p></td>
2070 <td class="parameter_description"><p>. </p></td>
2071 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2072 </tr>
2073 <tr>
2074 <td class="parameter_name"><p>y_scale</p></td>
2075 <td class="parameter_description"><p>. </p></td>
2076 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2077 </tr>
2078 </tbody>
2079 </table></div>
2080 </div>
2081 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2082 </div>
2083 <hr>
2084 <div class="refsect2">
2085 <a name="hb-font-get-user-data"></a><h3>hb_font_get_user_data ()</h3>
2086 <pre class="programlisting"><span class="returnvalue">void</span> *
2087 hb_font_get_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2088                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>);</pre>
2089 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2090 <div class="refsect3">
2091 <a name="hb-font-get-user-data.parameters"></a><h4>Parameters</h4>
2092 <div class="informaltable"><table width="100%" border="0">
2093 <colgroup>
2094 <col width="150px" class="parameters_name">
2095 <col class="parameters_description">
2096 <col width="200px" class="parameters_annotations">
2097 </colgroup>
2098 <tbody><tr>
2099 <td class="parameter_name"><p>font</p></td>
2100 <td class="parameter_description"><p>a font.</p></td>
2101 <td class="parameter_annotations"> </td>
2102 </tr></tbody>
2103 </table></div>
2104 </div>
2105 <div class="refsect3">
2106 <a name="hb-font-get-user-data.returns"></a><h4>Returns</h4>
2107 <p>. </p>
2108 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
2109 </div>
2110 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2111 </div>
2112 <hr>
2113 <div class="refsect2">
2114 <a name="hb-font-glyph-from-string"></a><h3>hb_font_glyph_from_string ()</h3>
2115 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
2116 hb_font_glyph_from_string (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2117                            <em class="parameter"><code>const <span class="type">char</span> *s</code></em>,
2118                            <em class="parameter"><code><span class="type">int</span> len</code></em>,
2119                            <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *glyph</code></em>);</pre>
2120 <div class="refsect3">
2121 <a name="hb-font-glyph-from-string.parameters"></a><h4>Parameters</h4>
2122 <div class="informaltable"><table width="100%" border="0">
2123 <colgroup>
2124 <col width="150px" class="parameters_name">
2125 <col class="parameters_description">
2126 <col width="200px" class="parameters_annotations">
2127 </colgroup>
2128 <tbody>
2129 <tr>
2130 <td class="parameter_name"><p>font</p></td>
2131 <td class="parameter_description"><p>a font.</p></td>
2132 <td class="parameter_annotations"> </td>
2133 </tr>
2134 <tr>
2135 <td class="parameter_name"><p>s</p></td>
2136 <td class="parameter_description"><p>. </p></td>
2137 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=len][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> uint8_t]</span></td>
2138 </tr>
2139 <tr>
2140 <td class="parameter_name"><p>glyph</p></td>
2141 <td class="parameter_description"><p>. </p></td>
2142 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2143 </tr>
2144 </tbody>
2145 </table></div>
2146 </div>
2147 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2148 </div>
2149 <hr>
2150 <div class="refsect2">
2151 <a name="hb-font-glyph-to-string"></a><h3>hb_font_glyph_to_string ()</h3>
2152 <pre class="programlisting"><span class="returnvalue">void</span>
2153 hb_font_glyph_to_string (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2154                          <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
2155                          <em class="parameter"><code><span class="type">char</span> *s</code></em>,
2156                          <em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>);</pre>
2157 <div class="refsect3">
2158 <a name="hb-font-glyph-to-string.parameters"></a><h4>Parameters</h4>
2159 <div class="informaltable"><table width="100%" border="0">
2160 <colgroup>
2161 <col width="150px" class="parameters_name">
2162 <col class="parameters_description">
2163 <col width="200px" class="parameters_annotations">
2164 </colgroup>
2165 <tbody>
2166 <tr>
2167 <td class="parameter_name"><p>font</p></td>
2168 <td class="parameter_description"><p>a font.</p></td>
2169 <td class="parameter_annotations"> </td>
2170 </tr>
2171 <tr>
2172 <td class="parameter_name"><p>s</p></td>
2173 <td class="parameter_description"><p>. </p></td>
2174 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size]</span></td>
2175 </tr>
2176 </tbody>
2177 </table></div>
2178 </div>
2179 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2180 </div>
2181 <hr>
2182 <div class="refsect2">
2183 <a name="hb-font-is-immutable"></a><h3>hb_font_is_immutable ()</h3>
2184 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
2185 hb_font_is_immutable (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre>
2186 <div class="refsect3">
2187 <a name="hb-font-is-immutable.parameters"></a><h4>Parameters</h4>
2188 <div class="informaltable"><table width="100%" border="0">
2189 <colgroup>
2190 <col width="150px" class="parameters_name">
2191 <col class="parameters_description">
2192 <col width="200px" class="parameters_annotations">
2193 </colgroup>
2194 <tbody><tr>
2195 <td class="parameter_name"><p>font</p></td>
2196 <td class="parameter_description"><p>a font.</p></td>
2197 <td class="parameter_annotations"> </td>
2198 </tr></tbody>
2199 </table></div>
2200 </div>
2201 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2202 </div>
2203 <hr>
2204 <div class="refsect2">
2205 <a name="hb-font-make-immutable"></a><h3>hb_font_make_immutable ()</h3>
2206 <pre class="programlisting"><span class="returnvalue">void</span>
2207 hb_font_make_immutable (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre>
2208 <div class="refsect3">
2209 <a name="hb-font-make-immutable.parameters"></a><h4>Parameters</h4>
2210 <div class="informaltable"><table width="100%" border="0">
2211 <colgroup>
2212 <col width="150px" class="parameters_name">
2213 <col class="parameters_description">
2214 <col width="200px" class="parameters_annotations">
2215 </colgroup>
2216 <tbody><tr>
2217 <td class="parameter_name"><p>font</p></td>
2218 <td class="parameter_description"><p>a font.</p></td>
2219 <td class="parameter_annotations"> </td>
2220 </tr></tbody>
2221 </table></div>
2222 </div>
2223 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2224 </div>
2225 <hr>
2226 <div class="refsect2">
2227 <a name="hb-font-reference"></a><h3>hb_font_reference ()</h3>
2228 <pre class="programlisting"><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="returnvalue">hb_font_t</span></a> *
2229 hb_font_reference (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>);</pre>
2230 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2231 <div class="refsect3">
2232 <a name="hb-font-reference.parameters"></a><h4>Parameters</h4>
2233 <div class="informaltable"><table width="100%" border="0">
2234 <colgroup>
2235 <col width="150px" class="parameters_name">
2236 <col class="parameters_description">
2237 <col width="200px" class="parameters_annotations">
2238 </colgroup>
2239 <tbody><tr>
2240 <td class="parameter_name"><p>font</p></td>
2241 <td class="parameter_description"><p>a font.</p></td>
2242 <td class="parameter_annotations"> </td>
2243 </tr></tbody>
2244 </table></div>
2245 </div>
2246 <div class="refsect3">
2247 <a name="hb-font-reference.returns"></a><h4>Returns</h4>
2248 <p>. </p>
2249 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
2250 </div>
2251 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2252 </div>
2253 <hr>
2254 <div class="refsect2">
2255 <a name="hb-font-set-funcs"></a><h3>hb_font_set_funcs ()</h3>
2256 <pre class="programlisting"><span class="returnvalue">void</span>
2257 hb_font_set_funcs (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2258                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *klass</code></em>,
2259                    <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2260                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
2261 <div class="refsect3">
2262 <a name="hb-font-set-funcs.parameters"></a><h4>Parameters</h4>
2263 <div class="informaltable"><table width="100%" border="0">
2264 <colgroup>
2265 <col width="150px" class="parameters_name">
2266 <col class="parameters_description">
2267 <col width="200px" class="parameters_annotations">
2268 </colgroup>
2269 <tbody>
2270 <tr>
2271 <td class="parameter_name"><p>font</p></td>
2272 <td class="parameter_description"><p>a font.</p></td>
2273 <td class="parameter_annotations"> </td>
2274 </tr>
2275 <tr>
2276 <td class="parameter_name"><p>klass</p></td>
2277 <td class="parameter_description"><p>. </p></td>
2278 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> font_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
2279 </tr>
2280 </tbody>
2281 </table></div>
2282 </div>
2283 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2284 </div>
2285 <hr>
2286 <div class="refsect2">
2287 <a name="hb-font-set-funcs-data"></a><h3>hb_font_set_funcs_data ()</h3>
2288 <pre class="programlisting"><span class="returnvalue">void</span>
2289 hb_font_set_funcs_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2290                         <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2291                         <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
2292 <div class="refsect3">
2293 <a name="hb-font-set-funcs-data.parameters"></a><h4>Parameters</h4>
2294 <div class="informaltable"><table width="100%" border="0">
2295 <colgroup>
2296 <col width="150px" class="parameters_name">
2297 <col class="parameters_description">
2298 <col width="200px" class="parameters_annotations">
2299 </colgroup>
2300 <tbody>
2301 <tr>
2302 <td class="parameter_name"><p>font</p></td>
2303 <td class="parameter_description"><p>a font.</p></td>
2304 <td class="parameter_annotations"> </td>
2305 </tr>
2306 <tr>
2307 <td class="parameter_name"><p>font_data</p></td>
2308 <td class="parameter_description"><p>. </p></td>
2309 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
2310 </tr>
2311 </tbody>
2312 </table></div>
2313 </div>
2314 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2315 </div>
2316 <hr>
2317 <div class="refsect2">
2318 <a name="hb-font-set-ppem"></a><h3>hb_font_set_ppem ()</h3>
2319 <pre class="programlisting"><span class="returnvalue">void</span>
2320 hb_font_set_ppem (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2321                   <em class="parameter"><code>unsigned <span class="type">int</span> x_ppem</code></em>,
2322                   <em class="parameter"><code>unsigned <span class="type">int</span> y_ppem</code></em>);</pre>
2323 <div class="refsect3">
2324 <a name="hb-font-set-ppem.parameters"></a><h4>Parameters</h4>
2325 <div class="informaltable"><table width="100%" border="0">
2326 <colgroup>
2327 <col width="150px" class="parameters_name">
2328 <col class="parameters_description">
2329 <col width="200px" class="parameters_annotations">
2330 </colgroup>
2331 <tbody><tr>
2332 <td class="parameter_name"><p>font</p></td>
2333 <td class="parameter_description"><p>a font.</p></td>
2334 <td class="parameter_annotations"> </td>
2335 </tr></tbody>
2336 </table></div>
2337 </div>
2338 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2339 </div>
2340 <hr>
2341 <div class="refsect2">
2342 <a name="hb-font-set-scale"></a><h3>hb_font_set_scale ()</h3>
2343 <pre class="programlisting"><span class="returnvalue">void</span>
2344 hb_font_set_scale (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2345                    <em class="parameter"><code><span class="type">int</span> x_scale</code></em>,
2346                    <em class="parameter"><code><span class="type">int</span> y_scale</code></em>);</pre>
2347 <div class="refsect3">
2348 <a name="hb-font-set-scale.parameters"></a><h4>Parameters</h4>
2349 <div class="informaltable"><table width="100%" border="0">
2350 <colgroup>
2351 <col width="150px" class="parameters_name">
2352 <col class="parameters_description">
2353 <col width="200px" class="parameters_annotations">
2354 </colgroup>
2355 <tbody><tr>
2356 <td class="parameter_name"><p>font</p></td>
2357 <td class="parameter_description"><p>a font.</p></td>
2358 <td class="parameter_annotations"> </td>
2359 </tr></tbody>
2360 </table></div>
2361 </div>
2362 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2363 </div>
2364 <hr>
2365 <div class="refsect2">
2366 <a name="hb-font-set-user-data"></a><h3>hb_font_set_user_data ()</h3>
2367 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
2368 hb_font_set_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2369                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>,
2370                        <em class="parameter"><code><span class="type">void</span> *data</code></em>,
2371                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>,
2372                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="type">hb_bool_t</span></a> replace</code></em>);</pre>
2373 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2374 <div class="refsect3">
2375 <a name="hb-font-set-user-data.parameters"></a><h4>Parameters</h4>
2376 <div class="informaltable"><table width="100%" border="0">
2377 <colgroup>
2378 <col width="150px" class="parameters_name">
2379 <col class="parameters_description">
2380 <col width="200px" class="parameters_annotations">
2381 </colgroup>
2382 <tbody><tr>
2383 <td class="parameter_name"><p>font</p></td>
2384 <td class="parameter_description"><p>a font.</p></td>
2385 <td class="parameter_annotations"> </td>
2386 </tr></tbody>
2387 </table></div>
2388 </div>
2389 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2390 </div>
2391 <hr>
2392 <div class="refsect2">
2393 <a name="hb-font-subtract-glyph-origin-for-direction"></a><h3>hb_font_subtract_glyph_origin_for_direction ()</h3>
2394 <pre class="programlisting"><span class="returnvalue">void</span>
2395 hb_font_subtract_glyph_origin_for_direction
2396                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2397                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> glyph</code></em>,
2398                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>,
2399                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *x</code></em>,
2400                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *y</code></em>);</pre>
2401 <div class="refsect3">
2402 <a name="hb-font-subtract-glyph-origin-for-direction.parameters"></a><h4>Parameters</h4>
2403 <div class="informaltable"><table width="100%" border="0">
2404 <colgroup>
2405 <col width="150px" class="parameters_name">
2406 <col class="parameters_description">
2407 <col width="200px" class="parameters_annotations">
2408 </colgroup>
2409 <tbody>
2410 <tr>
2411 <td class="parameter_name"><p>font</p></td>
2412 <td class="parameter_description"><p>a font.</p></td>
2413 <td class="parameter_annotations"> </td>
2414 </tr>
2415 <tr>
2416 <td class="parameter_name"><p>x</p></td>
2417 <td class="parameter_description"><p>. </p></td>
2418 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2419 </tr>
2420 <tr>
2421 <td class="parameter_name"><p>y</p></td>
2422 <td class="parameter_description"><p>. </p></td>
2423 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2424 </tr>
2425 </tbody>
2426 </table></div>
2427 </div>
2428 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
2429 </div>
2430 <hr>
2431 <div class="refsect2">
2432 <a name="hb-reference-table-func-t"></a><h3>hb_reference_table_func_t ()</h3>
2433 <pre class="programlisting"><a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
2434 <span class="c_punctuation">(</span>*hb_reference_table_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="type">hb_face_t</span></a> *face</code></em>,
2435                               <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> tag</code></em>,
2436                               <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
2437 </div>
2438 <hr>
2439 <div class="refsect2">
2440 <a name="hb-font-funcs-set-font-h-extents-func"></a><h3>hb_font_funcs_set_font_h_extents_func ()</h3>
2441 <pre class="programlisting"><span class="returnvalue">void</span>
2442 hb_font_funcs_set_font_h_extents_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
2443                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-font-h-extents-func-t" title="hb_font_get_font_h_extents_func_t"><span class="type">hb_font_get_font_h_extents_func_t</span></a> func</code></em>,
2444                                        <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
2445                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
2446 <div class="refsect3">
2447 <a name="hb-font-funcs-set-font-h-extents-func.parameters"></a><h4>Parameters</h4>
2448 <div class="informaltable"><table width="100%" border="0">
2449 <colgroup>
2450 <col width="150px" class="parameters_name">
2451 <col class="parameters_description">
2452 <col width="200px" class="parameters_annotations">
2453 </colgroup>
2454 <tbody>
2455 <tr>
2456 <td class="parameter_name"><p>ffuncs</p></td>
2457 <td class="parameter_description"><p>font functions.</p></td>
2458 <td class="parameter_annotations"> </td>
2459 </tr>
2460 <tr>
2461 <td class="parameter_name"><p>func</p></td>
2462 <td class="parameter_description"><p>. </p></td>
2463 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
2464 </tr>
2465 </tbody>
2466 </table></div>
2467 </div>
2468 <p class="since">Since: <a class="link" href="api-index-1-1-2.html#api-index-1.1.2">1.1.2</a></p>
2469 </div>
2470 <hr>
2471 <div class="refsect2">
2472 <a name="hb-font-funcs-set-font-v-extents-func"></a><h3>hb_font_funcs_set_font_v_extents_func ()</h3>
2473 <pre class="programlisting"><span class="returnvalue">void</span>
2474 hb_font_funcs_set_font_v_extents_func (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
2475                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-get-font-v-extents-func-t" title="hb_font_get_font_v_extents_func_t"><span class="type">hb_font_get_font_v_extents_func_t</span></a> func</code></em>,
2476                                        <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
2477                                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>);</pre>
2478 <div class="refsect3">
2479 <a name="hb-font-funcs-set-font-v-extents-func.parameters"></a><h4>Parameters</h4>
2480 <div class="informaltable"><table width="100%" border="0">
2481 <colgroup>
2482 <col width="150px" class="parameters_name">
2483 <col class="parameters_description">
2484 <col width="200px" class="parameters_annotations">
2485 </colgroup>
2486 <tbody>
2487 <tr>
2488 <td class="parameter_name"><p>ffuncs</p></td>
2489 <td class="parameter_description"><p>font functions.</p></td>
2490 <td class="parameter_annotations"> </td>
2491 </tr>
2492 <tr>
2493 <td class="parameter_name"><p>func</p></td>
2494 <td class="parameter_description"><p>. </p></td>
2495 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data][<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> destroy][<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
2496 </tr>
2497 </tbody>
2498 </table></div>
2499 </div>
2500 <p class="since">Since: <a class="link" href="api-index-1-1-2.html#api-index-1.1.2">1.1.2</a></p>
2501 </div>
2502 <hr>
2503 <div class="refsect2">
2504 <a name="hb-font-get-extents-for-direction"></a><h3>hb_font_get_extents_for_direction ()</h3>
2505 <pre class="programlisting"><span class="returnvalue">void</span>
2506 hb_font_get_extents_for_direction (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2507                                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>,
2508                                    <em class="parameter"><code><span class="type">hb_font_extents_t</span> *extents</code></em>);</pre>
2509 <div class="refsect3">
2510 <a name="hb-font-get-extents-for-direction.parameters"></a><h4>Parameters</h4>
2511 <div class="informaltable"><table width="100%" border="0">
2512 <colgroup>
2513 <col width="150px" class="parameters_name">
2514 <col class="parameters_description">
2515 <col width="200px" class="parameters_annotations">
2516 </colgroup>
2517 <tbody><tr>
2518 <td class="parameter_name"><p>font</p></td>
2519 <td class="parameter_description"><p>a font.</p></td>
2520 <td class="parameter_annotations"> </td>
2521 </tr></tbody>
2522 </table></div>
2523 </div>
2524 <p class="since">Since: <a class="link" href="api-index-1-1-3.html#api-index-1.1.3">1.1.3</a></p>
2525 </div>
2526 <hr>
2527 <div class="refsect2">
2528 <a name="hb-font-get-font-extents-func-t"></a><h3>hb_font_get_font_extents_func_t ()</h3>
2529 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
2530 <span class="c_punctuation">(</span>*hb_font_get_font_extents_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2531                                     <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
2532                                     <em class="parameter"><code><span class="type">hb_font_extents_t</span> *metrics</code></em>,
2533                                     <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
2534 </div>
2535 <hr>
2536 <div class="refsect2">
2537 <a name="hb-font-get-h-extents"></a><h3>hb_font_get_h_extents ()</h3>
2538 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
2539 hb_font_get_h_extents (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2540                        <em class="parameter"><code><span class="type">hb_font_extents_t</span> *extents</code></em>);</pre>
2541 <div class="refsect3">
2542 <a name="hb-font-get-h-extents.parameters"></a><h4>Parameters</h4>
2543 <div class="informaltable"><table width="100%" border="0">
2544 <colgroup>
2545 <col width="150px" class="parameters_name">
2546 <col class="parameters_description">
2547 <col width="200px" class="parameters_annotations">
2548 </colgroup>
2549 <tbody>
2550 <tr>
2551 <td class="parameter_name"><p>font</p></td>
2552 <td class="parameter_description"><p>a font.</p></td>
2553 <td class="parameter_annotations"> </td>
2554 </tr>
2555 <tr>
2556 <td class="parameter_name"><p>extents</p></td>
2557 <td class="parameter_description"><p>. </p></td>
2558 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2559 </tr>
2560 </tbody>
2561 </table></div>
2562 </div>
2563 <p class="since">Since: <a class="link" href="api-index-1-1-3.html#api-index-1.1.3">1.1.3</a></p>
2564 </div>
2565 <hr>
2566 <div class="refsect2">
2567 <a name="hb-font-get-v-extents"></a><h3>hb_font_get_v_extents ()</h3>
2568 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
2569 hb_font_get_v_extents (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2570                        <em class="parameter"><code><span class="type">hb_font_extents_t</span> *extents</code></em>);</pre>
2571 <div class="refsect3">
2572 <a name="hb-font-get-v-extents.parameters"></a><h4>Parameters</h4>
2573 <div class="informaltable"><table width="100%" border="0">
2574 <colgroup>
2575 <col width="150px" class="parameters_name">
2576 <col class="parameters_description">
2577 <col width="200px" class="parameters_annotations">
2578 </colgroup>
2579 <tbody>
2580 <tr>
2581 <td class="parameter_name"><p>font</p></td>
2582 <td class="parameter_description"><p>a font.</p></td>
2583 <td class="parameter_annotations"> </td>
2584 </tr>
2585 <tr>
2586 <td class="parameter_name"><p>extents</p></td>
2587 <td class="parameter_description"><p>. </p></td>
2588 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2589 </tr>
2590 </tbody>
2591 </table></div>
2592 </div>
2593 <p class="since">Since: <a class="link" href="api-index-1-1-3.html#api-index-1.1.3">1.1.3</a></p>
2594 </div>
2595 <hr>
2596 <div class="refsect2">
2597 <a name="hb-font-set-parent"></a><h3>hb_font_set_parent ()</h3>
2598 <pre class="programlisting"><span class="returnvalue">void</span>
2599 hb_font_set_parent (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *font</code></em>,
2600                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t"><span class="type">hb_font_t</span></a> *parent</code></em>);</pre>
2601 <p>Sets parent font of <em class="parameter"><code>font</code></em>
2602 .</p>
2603 <div class="refsect3">
2604 <a name="hb-font-set-parent.parameters"></a><h4>Parameters</h4>
2605 <div class="informaltable"><table width="100%" border="0">
2606 <colgroup>
2607 <col width="150px" class="parameters_name">
2608 <col class="parameters_description">
2609 <col width="200px" class="parameters_annotations">
2610 </colgroup>
2611 <tbody>
2612 <tr>
2613 <td class="parameter_name"><p>font</p></td>
2614 <td class="parameter_description"><p>a font.</p></td>
2615 <td class="parameter_annotations"> </td>
2616 </tr>
2617 <tr>
2618 <td class="parameter_name"><p>parent</p></td>
2619 <td class="parameter_description"><p>new parent.</p></td>
2620 <td class="parameter_annotations"> </td>
2621 </tr>
2622 </tbody>
2623 </table></div>
2624 </div>
2625 <p class="since">Since: <a class="link" href="api-index-1-0-5.html#api-index-1.0.5">1.0.5</a></p>
2626 </div>
2627 </div>
2628 <div class="refsect1">
2629 <a name="harfbuzz-hb-font.other_details"></a><h2>Types and Values</h2>
2630 <div class="refsect2">
2631 <a name="hb-font-funcs-t"></a><h3>hb_font_funcs_t</h3>
2632 <pre class="programlisting">typedef struct hb_font_funcs_t hb_font_funcs_t;
2633 </pre>
2634 </div>
2635 <hr>
2636 <div class="refsect2">
2637 <a name="hb-font-get-glyph-h-advance-func-t"></a><h3>hb_font_get_glyph_h_advance_func_t</h3>
2638 <pre class="programlisting">typedef hb_font_get_glyph_advance_func_t hb_font_get_glyph_h_advance_func_t;
2639 </pre>
2640 </div>
2641 <hr>
2642 <div class="refsect2">
2643 <a name="hb-font-get-glyph-h-kerning-func-t"></a><h3>hb_font_get_glyph_h_kerning_func_t</h3>
2644 <pre class="programlisting">typedef hb_font_get_glyph_kerning_func_t hb_font_get_glyph_h_kerning_func_t;
2645 </pre>
2646 </div>
2647 <hr>
2648 <div class="refsect2">
2649 <a name="hb-font-get-glyph-h-origin-func-t"></a><h3>hb_font_get_glyph_h_origin_func_t</h3>
2650 <pre class="programlisting">typedef hb_font_get_glyph_origin_func_t hb_font_get_glyph_h_origin_func_t;
2651 </pre>
2652 </div>
2653 <hr>
2654 <div class="refsect2">
2655 <a name="hb-font-get-glyph-v-advance-func-t"></a><h3>hb_font_get_glyph_v_advance_func_t</h3>
2656 <pre class="programlisting">typedef hb_font_get_glyph_advance_func_t hb_font_get_glyph_v_advance_func_t;
2657 </pre>
2658 </div>
2659 <hr>
2660 <div class="refsect2">
2661 <a name="hb-font-get-glyph-v-kerning-func-t"></a><h3>hb_font_get_glyph_v_kerning_func_t</h3>
2662 <pre class="programlisting">typedef hb_font_get_glyph_kerning_func_t hb_font_get_glyph_v_kerning_func_t;
2663 </pre>
2664 </div>
2665 <hr>
2666 <div class="refsect2">
2667 <a name="hb-font-get-glyph-v-origin-func-t"></a><h3>hb_font_get_glyph_v_origin_func_t</h3>
2668 <pre class="programlisting">typedef hb_font_get_glyph_origin_func_t hb_font_get_glyph_v_origin_func_t;
2669 </pre>
2670 </div>
2671 <hr>
2672 <div class="refsect2">
2673 <a name="hb-font-t"></a><h3>hb_font_t</h3>
2674 <pre class="programlisting">typedef struct hb_font_t hb_font_t;
2675 </pre>
2676 </div>
2677 <hr>
2678 <div class="refsect2">
2679 <a name="hb-font-get-font-h-extents-func-t"></a><h3>hb_font_get_font_h_extents_func_t</h3>
2680 <pre class="programlisting">typedef hb_font_get_font_extents_func_t hb_font_get_font_h_extents_func_t;
2681 </pre>
2682 </div>
2683 <hr>
2684 <div class="refsect2">
2685 <a name="hb-font-get-font-v-extents-func-t"></a><h3>hb_font_get_font_v_extents_func_t</h3>
2686 <pre class="programlisting">typedef hb_font_get_font_extents_func_t hb_font_get_font_v_extents_func_t;
2687 </pre>
2688 </div>
2689 </div>
2690 </div>
2691 <div class="footer">
2692 <hr>Generated by GTK-Doc V1.24.1</div>
2693 </body>
2694 </html>