1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>HarfBuzz Manual: hb-face</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-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 (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="10"><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="ch07.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>
201 <div class="refsect1">
202 <a name="harfbuzz-hb-face.functions_details"></a><h2>Functions</h2>
203 <div class="refsect2">
204 <a name="hb-face-create"></a><h3>hb_face_create ()</h3>
205 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
206 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>,
207 <em class="parameter"><code>unsigned <span class="type">int</span> index</code></em>);</pre>
210 <div class="refsect2">
211 <a name="hb-face-create-for-tables"></a><h3>hb_face_create_for_tables ()</h3>
212 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
213 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>,
214 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
215 <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>
216 <div class="refsect3">
217 <a name="id-1.3.3.7.8.3.4"></a><h4>Parameters</h4>
218 <div class="informaltable"><table width="100%" border="0">
220 <col width="150px" class="parameters_name">
221 <col class="parameters_description">
222 <col width="200px" class="parameters_annotations">
225 <td class="parameter_name"><p>reference_table_func</p></td>
226 <td class="parameter_description"><p>. </p></td>
227 <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>
231 <div class="refsect3">
232 <a name="id-1.3.3.7.8.3.5"></a><h4>Returns</h4>
233 <p> (transfer full)</p>
236 <p class="since">Since 0.9.2</p>
239 <div class="refsect2">
240 <a name="hb-face-destroy"></a><h3>hb_face_destroy ()</h3>
241 <pre class="programlisting"><span class="returnvalue">void</span>
242 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>
243 <div class="refsect3">
244 <a name="id-1.3.3.7.8.4.4"></a><h4>Parameters</h4>
245 <div class="informaltable"><table width="100%" border="0">
247 <col width="150px" class="parameters_name">
248 <col class="parameters_description">
249 <col width="200px" class="parameters_annotations">
252 <td class="parameter_name"><p>face</p></td>
253 <td class="parameter_description"><p>a face.</p></td>
254 <td class="parameter_annotations"> </td>
258 <p class="since">Since 0.9.2</p>
261 <div class="refsect2">
262 <a name="hb-face-get-empty"></a><h3>hb_face_get_empty ()</h3>
263 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
264 hb_face_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
265 <div class="refsect3">
266 <a name="id-1.3.3.7.8.5.4"></a><h4>Returns</h4>
267 <p> (transfer full)</p>
270 <p class="since">Since 0.9.2</p>
273 <div class="refsect2">
274 <a name="hb-face-get-glyph-count"></a><h3>hb_face_get_glyph_count ()</h3>
275 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
276 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>
277 <div class="refsect3">
278 <a name="id-1.3.3.7.8.6.4"></a><h4>Parameters</h4>
279 <div class="informaltable"><table width="100%" border="0">
281 <col width="150px" class="parameters_name">
282 <col class="parameters_description">
283 <col width="200px" class="parameters_annotations">
286 <td class="parameter_name"><p>face</p></td>
287 <td class="parameter_description"><p>a face.</p></td>
288 <td class="parameter_annotations"> </td>
292 <div class="refsect3">
293 <a name="id-1.3.3.7.8.6.5"></a><h4>Returns</h4>
296 <p class="since">Since 0.9.7</p>
299 <div class="refsect2">
300 <a name="hb-face-get-index"></a><h3>hb_face_get_index ()</h3>
301 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
302 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>
303 <div class="refsect3">
304 <a name="id-1.3.3.7.8.7.4"></a><h4>Parameters</h4>
305 <div class="informaltable"><table width="100%" border="0">
307 <col width="150px" class="parameters_name">
308 <col class="parameters_description">
309 <col width="200px" class="parameters_annotations">
312 <td class="parameter_name"><p>face</p></td>
313 <td class="parameter_description"><p>a face.</p></td>
314 <td class="parameter_annotations"> </td>
318 <div class="refsect3">
319 <a name="id-1.3.3.7.8.7.5"></a><h4>Returns</h4>
322 <p class="since">Since 0.9.2</p>
325 <div class="refsect2">
326 <a name="hb-face-get-upem"></a><h3>hb_face_get_upem ()</h3>
327 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
328 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>
329 <div class="refsect3">
330 <a name="id-1.3.3.7.8.8.4"></a><h4>Parameters</h4>
331 <div class="informaltable"><table width="100%" border="0">
333 <col width="150px" class="parameters_name">
334 <col class="parameters_description">
335 <col width="200px" class="parameters_annotations">
338 <td class="parameter_name"><p>face</p></td>
339 <td class="parameter_description"><p>a face.</p></td>
340 <td class="parameter_annotations"> </td>
344 <div class="refsect3">
345 <a name="id-1.3.3.7.8.8.5"></a><h4>Returns</h4>
348 <p class="since">Since 0.9.2</p>
351 <div class="refsect2">
352 <a name="hb-face-get-user-data"></a><h3>hb_face_get_user_data ()</h3>
353 <pre class="programlisting"><span class="returnvalue">void</span> *
354 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>,
355 <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>
356 <div class="refsect3">
357 <a name="id-1.3.3.7.8.9.4"></a><h4>Parameters</h4>
358 <div class="informaltable"><table width="100%" border="0">
360 <col width="150px" class="parameters_name">
361 <col class="parameters_description">
362 <col width="200px" class="parameters_annotations">
365 <td class="parameter_name"><p>face</p></td>
366 <td class="parameter_description"><p>a face.</p></td>
367 <td class="parameter_annotations"> </td>
371 <div class="refsect3">
372 <a name="id-1.3.3.7.8.9.5"></a><h4>Returns</h4>
374 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
376 <p class="since">Since 0.9.2</p>
379 <div class="refsect2">
380 <a name="hb-face-is-immutable"></a><h3>hb_face_is_immutable ()</h3>
381 <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>
382 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>
383 <div class="refsect3">
384 <a name="id-1.3.3.7.8.10.4"></a><h4>Parameters</h4>
385 <div class="informaltable"><table width="100%" border="0">
387 <col width="150px" class="parameters_name">
388 <col class="parameters_description">
389 <col width="200px" class="parameters_annotations">
392 <td class="parameter_name"><p>face</p></td>
393 <td class="parameter_description"><p>a face.</p></td>
394 <td class="parameter_annotations"> </td>
398 <div class="refsect3">
399 <a name="id-1.3.3.7.8.10.5"></a><h4>Returns</h4>
402 <p class="since">Since 0.9.2</p>
405 <div class="refsect2">
406 <a name="hb-face-make-immutable"></a><h3>hb_face_make_immutable ()</h3>
407 <pre class="programlisting"><span class="returnvalue">void</span>
408 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>
409 <div class="refsect3">
410 <a name="id-1.3.3.7.8.11.4"></a><h4>Parameters</h4>
411 <div class="informaltable"><table width="100%" border="0">
413 <col width="150px" class="parameters_name">
414 <col class="parameters_description">
415 <col width="200px" class="parameters_annotations">
418 <td class="parameter_name"><p>face</p></td>
419 <td class="parameter_description"><p>a face.</p></td>
420 <td class="parameter_annotations"> </td>
424 <p class="since">Since 0.9.2</p>
427 <div class="refsect2">
428 <a name="hb-face-reference"></a><h3>hb_face_reference ()</h3>
429 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
430 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>
431 <div class="refsect3">
432 <a name="id-1.3.3.7.8.12.4"></a><h4>Parameters</h4>
433 <div class="informaltable"><table width="100%" border="0">
435 <col width="150px" class="parameters_name">
436 <col class="parameters_description">
437 <col width="200px" class="parameters_annotations">
440 <td class="parameter_name"><p>face</p></td>
441 <td class="parameter_description"><p>a face.</p></td>
442 <td class="parameter_annotations"> </td>
446 <div class="refsect3">
447 <a name="id-1.3.3.7.8.12.5"></a><h4>Returns</h4>
450 <p class="since">Since 0.9.2</p>
453 <div class="refsect2">
454 <a name="hb-face-reference-blob"></a><h3>hb_face_reference_blob ()</h3>
455 <pre class="programlisting"><a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
456 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>
457 <div class="refsect3">
458 <a name="id-1.3.3.7.8.13.4"></a><h4>Parameters</h4>
459 <div class="informaltable"><table width="100%" border="0">
461 <col width="150px" class="parameters_name">
462 <col class="parameters_description">
463 <col width="200px" class="parameters_annotations">
466 <td class="parameter_name"><p>face</p></td>
467 <td class="parameter_description"><p>a face.</p></td>
468 <td class="parameter_annotations"> </td>
472 <div class="refsect3">
473 <a name="id-1.3.3.7.8.13.5"></a><h4>Returns</h4>
475 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
477 <p class="since">Since 0.9.2</p>
480 <div class="refsect2">
481 <a name="hb-face-reference-table"></a><h3>hb_face_reference_table ()</h3>
482 <pre class="programlisting"><a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
483 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>,
484 <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>
485 <div class="refsect3">
486 <a name="id-1.3.3.7.8.14.4"></a><h4>Parameters</h4>
487 <div class="informaltable"><table width="100%" border="0">
489 <col width="150px" class="parameters_name">
490 <col class="parameters_description">
491 <col width="200px" class="parameters_annotations">
494 <td class="parameter_name"><p>face</p></td>
495 <td class="parameter_description"><p>a face.</p></td>
496 <td class="parameter_annotations"> </td>
500 <div class="refsect3">
501 <a name="id-1.3.3.7.8.14.5"></a><h4>Returns</h4>
503 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
505 <p class="since">Since 0.9.2</p>
508 <div class="refsect2">
509 <a name="hb-face-set-glyph-count"></a><h3>hb_face_set_glyph_count ()</h3>
510 <pre class="programlisting"><span class="returnvalue">void</span>
511 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>,
512 <em class="parameter"><code>unsigned <span class="type">int</span> glyph_count</code></em>);</pre>
513 <div class="refsect3">
514 <a name="id-1.3.3.7.8.15.4"></a><h4>Parameters</h4>
515 <div class="informaltable"><table width="100%" border="0">
517 <col width="150px" class="parameters_name">
518 <col class="parameters_description">
519 <col width="200px" class="parameters_annotations">
522 <td class="parameter_name"><p>face</p></td>
523 <td class="parameter_description"><p>a face.</p></td>
524 <td class="parameter_annotations"> </td>
528 <p class="since">Since 0.9.7</p>
531 <div class="refsect2">
532 <a name="hb-face-set-index"></a><h3>hb_face_set_index ()</h3>
533 <pre class="programlisting"><span class="returnvalue">void</span>
534 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>,
535 <em class="parameter"><code>unsigned <span class="type">int</span> index</code></em>);</pre>
536 <div class="refsect3">
537 <a name="id-1.3.3.7.8.16.4"></a><h4>Parameters</h4>
538 <div class="informaltable"><table width="100%" border="0">
540 <col width="150px" class="parameters_name">
541 <col class="parameters_description">
542 <col width="200px" class="parameters_annotations">
545 <td class="parameter_name"><p>face</p></td>
546 <td class="parameter_description"><p>a face.</p></td>
547 <td class="parameter_annotations"> </td>
551 <p class="since">Since 0.9.2</p>
554 <div class="refsect2">
555 <a name="hb-face-set-upem"></a><h3>hb_face_set_upem ()</h3>
556 <pre class="programlisting"><span class="returnvalue">void</span>
557 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>,
558 <em class="parameter"><code>unsigned <span class="type">int</span> upem</code></em>);</pre>
559 <div class="refsect3">
560 <a name="id-1.3.3.7.8.17.4"></a><h4>Parameters</h4>
561 <div class="informaltable"><table width="100%" border="0">
563 <col width="150px" class="parameters_name">
564 <col class="parameters_description">
565 <col width="200px" class="parameters_annotations">
568 <td class="parameter_name"><p>face</p></td>
569 <td class="parameter_description"><p>a face.</p></td>
570 <td class="parameter_annotations"> </td>
574 <p class="since">Since 0.9.2</p>
577 <div class="refsect2">
578 <a name="hb-face-set-user-data"></a><h3>hb_face_set_user_data ()</h3>
579 <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>
580 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>,
581 <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>,
582 <em class="parameter"><code><span class="type">void</span> *data</code></em>,
583 <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>,
584 <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>
585 <div class="refsect3">
586 <a name="id-1.3.3.7.8.18.4"></a><h4>Parameters</h4>
587 <div class="informaltable"><table width="100%" border="0">
589 <col width="150px" class="parameters_name">
590 <col class="parameters_description">
591 <col width="200px" class="parameters_annotations">
594 <td class="parameter_name"><p>face</p></td>
595 <td class="parameter_description"><p>a face.</p></td>
596 <td class="parameter_annotations"> </td>
600 <div class="refsect3">
601 <a name="id-1.3.3.7.8.18.5"></a><h4>Returns</h4>
604 <p class="since">Since 0.9.2</p>
607 <div class="refsect1">
608 <a name="harfbuzz-hb-face.other_details"></a><h2>Types and Values</h2>
609 <div class="refsect2">
610 <a name="hb-face-t"></a><h3>hb_face_t</h3>
611 <pre class="programlisting">typedef struct hb_face_t hb_face_t;
618 Generated by GTK-Doc V1.20</div>