1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="HarfBuzz Reference Manual">
8 <link rel="up" href="ch01.html" title="[Insert title here]">
9 <link rel="prev" href="harfbuzz-hb-blob.html" title="hb-blob">
10 <link rel="next" href="harfbuzz-hb-font.html" title="hb-font">
11 <meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
18 <a href="#harfbuzz-hb-face.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
19 <a href="#harfbuzz-hb-face.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
21 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23 <td><a accesskey="p" href="harfbuzz-hb-blob.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24 <td><a accesskey="n" href="harfbuzz-hb-font.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26 <div class="refentry">
27 <a name="harfbuzz-hb-face"></a><div class="titlepage"></div>
28 <div class="refnamediv"><table width="100%"><tr>
30 <h2><span class="refentrytitle"><a name="harfbuzz-hb-face.top_of_page"></a>hb-face</span></h2>
33 <td class="gallery_image" valign="top" align="right"></td>
35 <div class="refsect1">
36 <a name="harfbuzz-hb-face.functions"></a><h2>Functions</h2>
37 <div class="informaltable"><table width="100%" border="0">
39 <col width="150px" class="functions_return">
40 <col class="functions_name">
44 <td class="function_type">
45 <a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
47 <td class="function_name">
48 <a class="link" href="harfbuzz-hb-face.html#hb-face-create" title="hb_face_create ()">hb_face_create</a> <span class="c_punctuation">()</span>
52 <td class="function_type">
53 <a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
55 <td class="function_name">
56 <a class="link" href="harfbuzz-hb-face.html#hb-face-create-for-tables" title="hb_face_create_for_tables ()">hb_face_create_for_tables</a> <span class="c_punctuation">()</span>
60 <td class="function_type">
61 <span class="returnvalue">void</span>
63 <td class="function_name">
64 <a class="link" href="harfbuzz-hb-face.html#hb-face-destroy" title="hb_face_destroy ()">hb_face_destroy</a> <span class="c_punctuation">()</span>
68 <td class="function_type">
69 <a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
71 <td class="function_name">
72 <a class="link" href="harfbuzz-hb-face.html#hb-face-get-empty" title="hb_face_get_empty ()">hb_face_get_empty</a> <span class="c_punctuation">()</span>
76 <td class="function_type">unsigned <span class="returnvalue">int</span>
78 <td class="function_name">
79 <a class="link" href="harfbuzz-hb-face.html#hb-face-get-glyph-count" title="hb_face_get_glyph_count ()">hb_face_get_glyph_count</a> <span class="c_punctuation">()</span>
83 <td class="function_type">unsigned <span class="returnvalue">int</span>
85 <td class="function_name">
86 <a class="link" href="harfbuzz-hb-face.html#hb-face-get-index" title="hb_face_get_index ()">hb_face_get_index</a> <span class="c_punctuation">()</span>
90 <td class="function_type">unsigned <span class="returnvalue">int</span>
92 <td class="function_name">
93 <a class="link" href="harfbuzz-hb-face.html#hb-face-get-upem" title="hb_face_get_upem ()">hb_face_get_upem</a> <span class="c_punctuation">()</span>
97 <td class="function_type">
98 <span class="returnvalue">void</span> *
100 <td class="function_name">
101 <a class="link" href="harfbuzz-hb-face.html#hb-face-get-user-data" title="hb_face_get_user_data ()">hb_face_get_user_data</a> <span class="c_punctuation">()</span>
105 <td class="function_type">
106 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
108 <td class="function_name">
109 <a class="link" href="harfbuzz-hb-face.html#hb-face-is-immutable" title="hb_face_is_immutable ()">hb_face_is_immutable</a> <span class="c_punctuation">()</span>
113 <td class="function_type">
114 <span class="returnvalue">void</span>
116 <td class="function_name">
117 <a class="link" href="harfbuzz-hb-face.html#hb-face-make-immutable" title="hb_face_make_immutable ()">hb_face_make_immutable</a> <span class="c_punctuation">()</span>
121 <td class="function_type">
122 <a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
124 <td class="function_name">
125 <a class="link" href="harfbuzz-hb-face.html#hb-face-reference" title="hb_face_reference ()">hb_face_reference</a> <span class="c_punctuation">()</span>
129 <td class="function_type">
130 <a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
132 <td class="function_name">
133 <a class="link" href="harfbuzz-hb-face.html#hb-face-reference-blob" title="hb_face_reference_blob ()">hb_face_reference_blob</a> <span class="c_punctuation">()</span>
137 <td class="function_type">
138 <a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
140 <td class="function_name">
141 <a class="link" href="harfbuzz-hb-face.html#hb-face-reference-table" title="hb_face_reference_table ()">hb_face_reference_table</a> <span class="c_punctuation">()</span>
145 <td class="function_type">
146 <span class="returnvalue">void</span>
148 <td class="function_name">
149 <a class="link" href="harfbuzz-hb-face.html#hb-face-set-glyph-count" title="hb_face_set_glyph_count ()">hb_face_set_glyph_count</a> <span class="c_punctuation">()</span>
153 <td class="function_type">
154 <span class="returnvalue">void</span>
156 <td class="function_name">
157 <a class="link" href="harfbuzz-hb-face.html#hb-face-set-index" title="hb_face_set_index ()">hb_face_set_index</a> <span class="c_punctuation">()</span>
161 <td class="function_type">
162 <span class="returnvalue">void</span>
164 <td class="function_name">
165 <a class="link" href="harfbuzz-hb-face.html#hb-face-set-upem" title="hb_face_set_upem ()">hb_face_set_upem</a> <span class="c_punctuation">()</span>
169 <td class="function_type">
170 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
172 <td class="function_name">
173 <a class="link" href="harfbuzz-hb-face.html#hb-face-set-user-data" title="hb_face_set_user_data ()">hb_face_set_user_data</a> <span class="c_punctuation">()</span>
179 <a name="hb-face-t"></a><div class="refsect1">
180 <a name="harfbuzz-hb-face.other"></a><h2>Types and Values</h2>
181 <div class="informaltable"><table width="100%" border="0">
183 <col width="150px" class="name">
184 <col class="description">
187 <td class="typedef_keyword">typedef</td>
188 <td class="function_name"><a class="link" href="harfbuzz-hb-face.html#hb-face-t">hb_face_t</a></td>
192 <div class="refsect1">
193 <a name="harfbuzz-hb-face.object-hierarchy"></a><h2>Object Hierarchy</h2>
194 <pre class="screen"> GBoxed
195 <span class="lineart">╰──</span> hb_face_t
198 <div class="refsect1">
199 <a name="harfbuzz-hb-face.description"></a><h2>Description</h2>
203 <div class="refsect1">
204 <a name="harfbuzz-hb-face.functions_details"></a><h2>Functions</h2>
205 <div class="refsect2">
206 <a name="hb-face-create"></a><h3>hb_face_create ()</h3>
207 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
208 hb_face_create (<em class="parameter"><code><a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="type">hb_blob_t</span></a> *blob</code></em>,
209 <em class="parameter"><code>unsigned <span class="type">int</span> index</code></em>);</pre>
212 <div class="refsect3">
213 <a name="idp17669104"></a><h4>Returns</h4>
218 <div class="refsect2">
219 <a name="hb-face-create-for-tables"></a><h3>hb_face_create_for_tables ()</h3>
220 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
221 hb_face_create_for_tables (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-reference-table-func-t" title="hb_reference_table_func_t ()"><span class="type">hb_reference_table_func_t</span></a> reference_table_func</code></em>,
222 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
223 <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>
224 <div class="refsect3">
225 <a name="idp16965008"></a><h4>Parameters</h4>
226 <div class="informaltable"><table width="100%" border="0">
228 <col width="150px" class="parameters_name">
229 <col class="parameters_description">
230 <col width="200px" class="parameters_annotations">
233 <td class="parameter_name"><p>reference_table_func</p></td>
234 <td class="parameter_description"><p>. </p></td>
235 <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>
239 <div class="refsect3">
240 <a name="idp17846736"></a><h4>Returns</h4>
241 <p> (transfer full)</p>
244 <p class="since">Since 1.0</p>
247 <div class="refsect2">
248 <a name="hb-face-destroy"></a><h3>hb_face_destroy ()</h3>
249 <pre class="programlisting"><span class="returnvalue">void</span>
250 hb_face_destroy (<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>
251 <div class="refsect3">
252 <a name="idp14634400"></a><h4>Parameters</h4>
253 <div class="informaltable"><table width="100%" border="0">
255 <col width="150px" class="parameters_name">
256 <col class="parameters_description">
257 <col width="200px" class="parameters_annotations">
260 <td class="parameter_name"><p>face</p></td>
261 <td class="parameter_description"><p>a face.</p></td>
262 <td class="parameter_annotations"> </td>
266 <p class="since">Since 1.0</p>
269 <div class="refsect2">
270 <a name="hb-face-get-empty"></a><h3>hb_face_get_empty ()</h3>
271 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
272 hb_face_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
273 <div class="refsect3">
274 <a name="idp21412768"></a><h4>Returns</h4>
275 <p> (transfer full)</p>
278 <p class="since">Since 1.0</p>
281 <div class="refsect2">
282 <a name="hb-face-get-glyph-count"></a><h3>hb_face_get_glyph_count ()</h3>
283 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
284 hb_face_get_glyph_count (<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>
285 <div class="refsect3">
286 <a name="idp22131376"></a><h4>Parameters</h4>
287 <div class="informaltable"><table width="100%" border="0">
289 <col width="150px" class="parameters_name">
290 <col class="parameters_description">
291 <col width="200px" class="parameters_annotations">
294 <td class="parameter_name"><p>face</p></td>
295 <td class="parameter_description"><p>a face.</p></td>
296 <td class="parameter_annotations"> </td>
300 <div class="refsect3">
301 <a name="idp22139776"></a><h4>Returns</h4>
304 <p class="since">Since 1.0</p>
307 <div class="refsect2">
308 <a name="hb-face-get-index"></a><h3>hb_face_get_index ()</h3>
309 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
310 hb_face_get_index (<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>
311 <div class="refsect3">
312 <a name="idp22148976"></a><h4>Parameters</h4>
313 <div class="informaltable"><table width="100%" border="0">
315 <col width="150px" class="parameters_name">
316 <col class="parameters_description">
317 <col width="200px" class="parameters_annotations">
320 <td class="parameter_name"><p>face</p></td>
321 <td class="parameter_description"><p>a face.</p></td>
322 <td class="parameter_annotations"> </td>
326 <div class="refsect3">
327 <a name="idp22157376"></a><h4>Returns</h4>
330 <p class="since">Since 1.0</p>
333 <div class="refsect2">
334 <a name="hb-face-get-upem"></a><h3>hb_face_get_upem ()</h3>
335 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
336 hb_face_get_upem (<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>
337 <div class="refsect3">
338 <a name="idp22166576"></a><h4>Parameters</h4>
339 <div class="informaltable"><table width="100%" border="0">
341 <col width="150px" class="parameters_name">
342 <col class="parameters_description">
343 <col width="200px" class="parameters_annotations">
346 <td class="parameter_name"><p>face</p></td>
347 <td class="parameter_description"><p>a face.</p></td>
348 <td class="parameter_annotations"> </td>
352 <div class="refsect3">
353 <a name="idp22174976"></a><h4>Returns</h4>
356 <p class="since">Since 1.0</p>
359 <div class="refsect2">
360 <a name="hb-face-get-user-data"></a><h3>hb_face_get_user_data ()</h3>
361 <pre class="programlisting"><span class="returnvalue">void</span> *
362 hb_face_get_user_data (<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>,
363 <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>
364 <div class="refsect3">
365 <a name="idp22185664"></a><h4>Parameters</h4>
366 <div class="informaltable"><table width="100%" border="0">
368 <col width="150px" class="parameters_name">
369 <col class="parameters_description">
370 <col width="200px" class="parameters_annotations">
373 <td class="parameter_name"><p>face</p></td>
374 <td class="parameter_description"><p>a face.</p></td>
375 <td class="parameter_annotations"> </td>
379 <div class="refsect3">
380 <a name="idp22194064"></a><h4>Returns</h4>
382 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
384 <p class="since">Since 1.0</p>
387 <div class="refsect2">
388 <a name="hb-face-is-immutable"></a><h3>hb_face_is_immutable ()</h3>
389 <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>
390 hb_face_is_immutable (<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>
391 <div class="refsect3">
392 <a name="idp22204720"></a><h4>Parameters</h4>
393 <div class="informaltable"><table width="100%" border="0">
395 <col width="150px" class="parameters_name">
396 <col class="parameters_description">
397 <col width="200px" class="parameters_annotations">
400 <td class="parameter_name"><p>face</p></td>
401 <td class="parameter_description"><p>a face.</p></td>
402 <td class="parameter_annotations"> </td>
406 <div class="refsect3">
407 <a name="idp22213120"></a><h4>Returns</h4>
410 <p class="since">Since 1.0</p>
413 <div class="refsect2">
414 <a name="hb-face-make-immutable"></a><h3>hb_face_make_immutable ()</h3>
415 <pre class="programlisting"><span class="returnvalue">void</span>
416 hb_face_make_immutable (<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>
417 <div class="refsect3">
418 <a name="idp22222176"></a><h4>Parameters</h4>
419 <div class="informaltable"><table width="100%" border="0">
421 <col width="150px" class="parameters_name">
422 <col class="parameters_description">
423 <col width="200px" class="parameters_annotations">
426 <td class="parameter_name"><p>face</p></td>
427 <td class="parameter_description"><p>a face.</p></td>
428 <td class="parameter_annotations"> </td>
432 <p class="since">Since 1.0</p>
435 <div class="refsect2">
436 <a name="hb-face-reference"></a><h3>hb_face_reference ()</h3>
437 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
438 hb_face_reference (<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>
439 <div class="refsect3">
440 <a name="idp22238192"></a><h4>Parameters</h4>
441 <div class="informaltable"><table width="100%" border="0">
443 <col width="150px" class="parameters_name">
444 <col class="parameters_description">
445 <col width="200px" class="parameters_annotations">
448 <td class="parameter_name"><p>face</p></td>
449 <td class="parameter_description"><p>a face.</p></td>
450 <td class="parameter_annotations"> </td>
454 <div class="refsect3">
455 <a name="idp22246592"></a><h4>Returns</h4>
458 <p class="since">Since 1.0</p>
461 <div class="refsect2">
462 <a name="hb-face-reference-blob"></a><h3>hb_face_reference_blob ()</h3>
463 <pre class="programlisting"><a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
464 hb_face_reference_blob (<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>
465 <div class="refsect3">
466 <a name="idp22255648"></a><h4>Parameters</h4>
467 <div class="informaltable"><table width="100%" border="0">
469 <col width="150px" class="parameters_name">
470 <col class="parameters_description">
471 <col width="200px" class="parameters_annotations">
474 <td class="parameter_name"><p>face</p></td>
475 <td class="parameter_description"><p>a face.</p></td>
476 <td class="parameter_annotations"> </td>
480 <div class="refsect3">
481 <a name="idp22264048"></a><h4>Returns</h4>
483 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
485 <p class="since">Since 1.0</p>
488 <div class="refsect2">
489 <a name="hb-face-reference-table"></a><h3>hb_face_reference_table ()</h3>
490 <pre class="programlisting"><a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
491 hb_face_reference_table (<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>,
492 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> tag</code></em>);</pre>
493 <div class="refsect3">
494 <a name="idp22276400"></a><h4>Parameters</h4>
495 <div class="informaltable"><table width="100%" border="0">
497 <col width="150px" class="parameters_name">
498 <col class="parameters_description">
499 <col width="200px" class="parameters_annotations">
502 <td class="parameter_name"><p>face</p></td>
503 <td class="parameter_description"><p>a face.</p></td>
504 <td class="parameter_annotations"> </td>
508 <div class="refsect3">
509 <a name="idp22284800"></a><h4>Returns</h4>
511 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
513 <p class="since">Since 1.0</p>
516 <div class="refsect2">
517 <a name="hb-face-set-glyph-count"></a><h3>hb_face_set_glyph_count ()</h3>
518 <pre class="programlisting"><span class="returnvalue">void</span>
519 hb_face_set_glyph_count (<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>,
520 <em class="parameter"><code>unsigned <span class="type">int</span> glyph_count</code></em>);</pre>
521 <div class="refsect3">
522 <a name="idp22297328"></a><h4>Parameters</h4>
523 <div class="informaltable"><table width="100%" border="0">
525 <col width="150px" class="parameters_name">
526 <col class="parameters_description">
527 <col width="200px" class="parameters_annotations">
530 <td class="parameter_name"><p>face</p></td>
531 <td class="parameter_description"><p>a face.</p></td>
532 <td class="parameter_annotations"> </td>
536 <p class="since">Since 1.0</p>
539 <div class="refsect2">
540 <a name="hb-face-set-index"></a><h3>hb_face_set_index ()</h3>
541 <pre class="programlisting"><span class="returnvalue">void</span>
542 hb_face_set_index (<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>,
543 <em class="parameter"><code>unsigned <span class="type">int</span> index</code></em>);</pre>
544 <div class="refsect3">
545 <a name="idp22315120"></a><h4>Parameters</h4>
546 <div class="informaltable"><table width="100%" border="0">
548 <col width="150px" class="parameters_name">
549 <col class="parameters_description">
550 <col width="200px" class="parameters_annotations">
553 <td class="parameter_name"><p>face</p></td>
554 <td class="parameter_description"><p>a face.</p></td>
555 <td class="parameter_annotations"> </td>
559 <p class="since">Since 1.0</p>
562 <div class="refsect2">
563 <a name="hb-face-set-upem"></a><h3>hb_face_set_upem ()</h3>
564 <pre class="programlisting"><span class="returnvalue">void</span>
565 hb_face_set_upem (<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>,
566 <em class="parameter"><code>unsigned <span class="type">int</span> upem</code></em>);</pre>
567 <div class="refsect3">
568 <a name="idp22332912"></a><h4>Parameters</h4>
569 <div class="informaltable"><table width="100%" border="0">
571 <col width="150px" class="parameters_name">
572 <col class="parameters_description">
573 <col width="200px" class="parameters_annotations">
576 <td class="parameter_name"><p>face</p></td>
577 <td class="parameter_description"><p>a face.</p></td>
578 <td class="parameter_annotations"> </td>
582 <p class="since">Since 1.0</p>
585 <div class="refsect2">
586 <a name="hb-face-set-user-data"></a><h3>hb_face_set_user_data ()</h3>
587 <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>
588 hb_face_set_user_data (<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>,
589 <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>,
590 <em class="parameter"><code><span class="type">void</span> *data</code></em>,
591 <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>,
592 <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>
593 <div class="refsect3">
594 <a name="idp22355472"></a><h4>Parameters</h4>
595 <div class="informaltable"><table width="100%" border="0">
597 <col width="150px" class="parameters_name">
598 <col class="parameters_description">
599 <col width="200px" class="parameters_annotations">
602 <td class="parameter_name"><p>face</p></td>
603 <td class="parameter_description"><p>a face.</p></td>
604 <td class="parameter_annotations"> </td>
608 <div class="refsect3">
609 <a name="idp22363872"></a><h4>Returns</h4>
612 <p class="since">Since 1.0</p>
615 <div class="refsect1">
616 <a name="harfbuzz-hb-face.other_details"></a><h2>Types and Values</h2>
617 <div class="refsect2">
618 <a name="hb-face-t"></a><h3>hb_face_t</h3>
619 <pre class="programlisting">typedef struct hb_face_t hb_face_t;
628 Generated by GTK-Doc V1.20.1</div>