1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>hb-face: HarfBuzz Manual</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="index.html" title="HarfBuzz Manual">
8 <link rel="up" href="ch08.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.27.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="ch08.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 class="informaltable" 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-table-tags" title="hb_face_get_table_tags ()">hb_face_get_table_tags</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-glyph-count" title="hb_face_get_glyph_count ()">hb_face_get_glyph_count</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-index" title="hb_face_get_index ()">hb_face_get_index</a> <span class="c_punctuation">()</span>
97 <td class="function_type">unsigned <span class="returnvalue">int</span>
99 <td class="function_name">
100 <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>
104 <td class="function_type">
105 <span class="returnvalue">void</span> *
107 <td class="function_name">
108 <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>
112 <td class="function_type">
113 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
115 <td class="function_name">
116 <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>
120 <td class="function_type">
121 <span class="returnvalue">void</span>
123 <td class="function_name">
124 <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>
128 <td class="function_type">
129 <a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
131 <td class="function_name">
132 <a class="link" href="harfbuzz-hb-face.html#hb-face-reference" title="hb_face_reference ()">hb_face_reference</a> <span class="c_punctuation">()</span>
136 <td class="function_type">
137 <a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
139 <td class="function_name">
140 <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>
144 <td class="function_type">
145 <a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
147 <td class="function_name">
148 <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>
152 <td class="function_type">
153 <span class="returnvalue">void</span>
155 <td class="function_name">
156 <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>
160 <td class="function_type">
161 <span class="returnvalue">void</span>
163 <td class="function_name">
164 <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>
168 <td class="function_type">
169 <span class="returnvalue">void</span>
171 <td class="function_name">
172 <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>
176 <td class="function_type">
177 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
179 <td class="function_name">
180 <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>
186 <a name="hb-face-t"></a><div class="refsect1">
187 <a name="harfbuzz-hb-face.other"></a><h2>Types and Values</h2>
188 <div class="informaltable"><table class="informaltable" width="100%" border="0">
190 <col width="150px" class="name">
191 <col class="description">
194 <td class="typedef_keyword">typedef</td>
195 <td class="function_name"><a class="link" href="harfbuzz-hb-face.html#hb-face-t">hb_face_t</a></td>
199 <div class="refsect1">
200 <a name="harfbuzz-hb-face.object-hierarchy"></a><h2>Object Hierarchy</h2>
201 <pre class="screen"> <a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
202 <span class="lineart">╰──</span> hb_face_t
205 <div class="refsect1">
206 <a name="harfbuzz-hb-face.description"></a><h2>Description</h2>
208 <div class="refsect1">
209 <a name="harfbuzz-hb-face.functions_details"></a><h2>Functions</h2>
210 <div class="refsect2">
211 <a name="hb-face-create"></a><h3>hb_face_create ()</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 (<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>,
214 <em class="parameter"><code>unsigned <span class="type">int</span> index</code></em>);</pre>
215 <p><span class="annotation">[Xconstructor]</span></p>
216 <div class="refsect3">
217 <a name="hb-face-create.returns"></a><h4>Returns</h4>
219 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
221 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
224 <div class="refsect2">
225 <a name="hb-face-create-for-tables"></a><h3>hb_face_create_for_tables ()</h3>
226 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
227 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>,
228 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
229 <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>
230 <div class="refsect3">
231 <a name="hb-face-create-for-tables.parameters"></a><h4>Parameters</h4>
232 <div class="informaltable"><table class="informaltable" width="100%" border="0">
234 <col width="150px" class="parameters_name">
235 <col class="parameters_description">
236 <col width="200px" class="parameters_annotations">
239 <td class="parameter_name"><p>reference_table_func</p></td>
240 <td class="parameter_description"><p>. </p></td>
241 <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>
245 <div class="refsect3">
246 <a name="hb-face-create-for-tables.returns"></a><h4>Returns</h4>
247 <p> (transfer full)</p>
249 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
252 <div class="refsect2">
253 <a name="hb-face-destroy"></a><h3>hb_face_destroy ()</h3>
254 <pre class="programlisting"><span class="returnvalue">void</span>
255 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>
256 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
257 <div class="refsect3">
258 <a name="hb-face-destroy.parameters"></a><h4>Parameters</h4>
259 <div class="informaltable"><table class="informaltable" width="100%" border="0">
261 <col width="150px" class="parameters_name">
262 <col class="parameters_description">
263 <col width="200px" class="parameters_annotations">
266 <td class="parameter_name"><p>face</p></td>
267 <td class="parameter_description"><p>a face.</p></td>
268 <td class="parameter_annotations"> </td>
272 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
275 <div class="refsect2">
276 <a name="hb-face-get-empty"></a><h3>hb_face_get_empty ()</h3>
277 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
278 hb_face_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
279 <div class="refsect3">
280 <a name="hb-face-get-empty.returns"></a><h4>Returns</h4>
281 <p> (transfer full)</p>
283 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
286 <div class="refsect2">
287 <a name="hb-face-get-table-tags"></a><h3>hb_face_get_table_tags ()</h3>
288 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
289 hb_face_get_table_tags (<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>,
290 <em class="parameter"><code>unsigned <span class="type">int</span> start_offset</code></em>,
291 <em class="parameter"><code>unsigned <span class="type">int</span> *table_count</code></em>,
292 <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> *table_tags</code></em>);</pre>
293 <p>Retrieves table tags for a face, if possible.</p>
294 <div class="refsect3">
295 <a name="hb-face-get-table-tags.parameters"></a><h4>Parameters</h4>
296 <div class="informaltable"><table class="informaltable" width="100%" border="0">
298 <col width="150px" class="parameters_name">
299 <col class="parameters_description">
300 <col width="200px" class="parameters_annotations">
303 <td class="parameter_name"><p>face</p></td>
304 <td class="parameter_description"><p>a face.</p></td>
305 <td class="parameter_annotations"> </td>
309 <div class="refsect3">
310 <a name="hb-face-get-table-tags.returns"></a><h4>Returns</h4>
311 <p> total number of tables, or 0 if not possible to list.</p>
313 <p class="since">Since: <a class="link" href="api-index-1-6-0.html#api-index-1.6.0">1.6.0</a></p>
316 <div class="refsect2">
317 <a name="hb-face-get-glyph-count"></a><h3>hb_face_get_glyph_count ()</h3>
318 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
319 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>
320 <div class="refsect3">
321 <a name="hb-face-get-glyph-count.parameters"></a><h4>Parameters</h4>
322 <div class="informaltable"><table class="informaltable" width="100%" border="0">
324 <col width="150px" class="parameters_name">
325 <col class="parameters_description">
326 <col width="200px" class="parameters_annotations">
329 <td class="parameter_name"><p>face</p></td>
330 <td class="parameter_description"><p>a face.</p></td>
331 <td class="parameter_annotations"> </td>
335 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
338 <div class="refsect2">
339 <a name="hb-face-get-index"></a><h3>hb_face_get_index ()</h3>
340 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
341 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>
342 <div class="refsect3">
343 <a name="hb-face-get-index.parameters"></a><h4>Parameters</h4>
344 <div class="informaltable"><table class="informaltable" width="100%" border="0">
346 <col width="150px" class="parameters_name">
347 <col class="parameters_description">
348 <col width="200px" class="parameters_annotations">
351 <td class="parameter_name"><p>face</p></td>
352 <td class="parameter_description"><p>a face.</p></td>
353 <td class="parameter_annotations"> </td>
357 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
360 <div class="refsect2">
361 <a name="hb-face-get-upem"></a><h3>hb_face_get_upem ()</h3>
362 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
363 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>
364 <div class="refsect3">
365 <a name="hb-face-get-upem.parameters"></a><h4>Parameters</h4>
366 <div class="informaltable"><table class="informaltable" 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 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
382 <div class="refsect2">
383 <a name="hb-face-get-user-data"></a><h3>hb_face_get_user_data ()</h3>
384 <pre class="programlisting"><span class="returnvalue">void</span> *
385 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>,
386 <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>
387 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
388 <div class="refsect3">
389 <a name="hb-face-get-user-data.parameters"></a><h4>Parameters</h4>
390 <div class="informaltable"><table class="informaltable" width="100%" border="0">
392 <col width="150px" class="parameters_name">
393 <col class="parameters_description">
394 <col width="200px" class="parameters_annotations">
397 <td class="parameter_name"><p>face</p></td>
398 <td class="parameter_description"><p>a face.</p></td>
399 <td class="parameter_annotations"> </td>
403 <div class="refsect3">
404 <a name="hb-face-get-user-data.returns"></a><h4>Returns</h4>
406 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
408 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
411 <div class="refsect2">
412 <a name="hb-face-is-immutable"></a><h3>hb_face_is_immutable ()</h3>
413 <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>
414 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>
415 <div class="refsect3">
416 <a name="hb-face-is-immutable.parameters"></a><h4>Parameters</h4>
417 <div class="informaltable"><table class="informaltable" width="100%" border="0">
419 <col width="150px" class="parameters_name">
420 <col class="parameters_description">
421 <col width="200px" class="parameters_annotations">
424 <td class="parameter_name"><p>face</p></td>
425 <td class="parameter_description"><p>a face.</p></td>
426 <td class="parameter_annotations"> </td>
430 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
433 <div class="refsect2">
434 <a name="hb-face-make-immutable"></a><h3>hb_face_make_immutable ()</h3>
435 <pre class="programlisting"><span class="returnvalue">void</span>
436 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>
437 <div class="refsect3">
438 <a name="hb-face-make-immutable.parameters"></a><h4>Parameters</h4>
439 <div class="informaltable"><table class="informaltable" width="100%" border="0">
441 <col width="150px" class="parameters_name">
442 <col class="parameters_description">
443 <col width="200px" class="parameters_annotations">
446 <td class="parameter_name"><p>face</p></td>
447 <td class="parameter_description"><p>a face.</p></td>
448 <td class="parameter_annotations"> </td>
452 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
455 <div class="refsect2">
456 <a name="hb-face-reference"></a><h3>hb_face_reference ()</h3>
457 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
458 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>
459 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
460 <div class="refsect3">
461 <a name="hb-face-reference.parameters"></a><h4>Parameters</h4>
462 <div class="informaltable"><table class="informaltable" width="100%" border="0">
464 <col width="150px" class="parameters_name">
465 <col class="parameters_description">
466 <col width="200px" class="parameters_annotations">
469 <td class="parameter_name"><p>face</p></td>
470 <td class="parameter_description"><p>a face.</p></td>
471 <td class="parameter_annotations"> </td>
475 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
478 <div class="refsect2">
479 <a name="hb-face-reference-blob"></a><h3>hb_face_reference_blob ()</h3>
480 <pre class="programlisting"><a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
481 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>
482 <div class="refsect3">
483 <a name="hb-face-reference-blob.parameters"></a><h4>Parameters</h4>
484 <div class="informaltable"><table class="informaltable" width="100%" border="0">
486 <col width="150px" class="parameters_name">
487 <col class="parameters_description">
488 <col width="200px" class="parameters_annotations">
491 <td class="parameter_name"><p>face</p></td>
492 <td class="parameter_description"><p>a face.</p></td>
493 <td class="parameter_annotations"> </td>
497 <div class="refsect3">
498 <a name="hb-face-reference-blob.returns"></a><h4>Returns</h4>
500 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
502 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
505 <div class="refsect2">
506 <a name="hb-face-reference-table"></a><h3>hb_face_reference_table ()</h3>
507 <pre class="programlisting"><a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
508 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>,
509 <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>
510 <div class="refsect3">
511 <a name="hb-face-reference-table.parameters"></a><h4>Parameters</h4>
512 <div class="informaltable"><table class="informaltable" width="100%" border="0">
514 <col width="150px" class="parameters_name">
515 <col class="parameters_description">
516 <col width="200px" class="parameters_annotations">
519 <td class="parameter_name"><p>face</p></td>
520 <td class="parameter_description"><p>a face.</p></td>
521 <td class="parameter_annotations"> </td>
525 <div class="refsect3">
526 <a name="hb-face-reference-table.returns"></a><h4>Returns</h4>
528 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
530 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
533 <div class="refsect2">
534 <a name="hb-face-set-glyph-count"></a><h3>hb_face_set_glyph_count ()</h3>
535 <pre class="programlisting"><span class="returnvalue">void</span>
536 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>,
537 <em class="parameter"><code>unsigned <span class="type">int</span> glyph_count</code></em>);</pre>
538 <div class="refsect3">
539 <a name="hb-face-set-glyph-count.parameters"></a><h4>Parameters</h4>
540 <div class="informaltable"><table class="informaltable" width="100%" border="0">
542 <col width="150px" class="parameters_name">
543 <col class="parameters_description">
544 <col width="200px" class="parameters_annotations">
547 <td class="parameter_name"><p>face</p></td>
548 <td class="parameter_description"><p>a face.</p></td>
549 <td class="parameter_annotations"> </td>
553 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
556 <div class="refsect2">
557 <a name="hb-face-set-index"></a><h3>hb_face_set_index ()</h3>
558 <pre class="programlisting"><span class="returnvalue">void</span>
559 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>,
560 <em class="parameter"><code>unsigned <span class="type">int</span> index</code></em>);</pre>
561 <div class="refsect3">
562 <a name="hb-face-set-index.parameters"></a><h4>Parameters</h4>
563 <div class="informaltable"><table class="informaltable" width="100%" border="0">
565 <col width="150px" class="parameters_name">
566 <col class="parameters_description">
567 <col width="200px" class="parameters_annotations">
570 <td class="parameter_name"><p>face</p></td>
571 <td class="parameter_description"><p>a face.</p></td>
572 <td class="parameter_annotations"> </td>
576 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
579 <div class="refsect2">
580 <a name="hb-face-set-upem"></a><h3>hb_face_set_upem ()</h3>
581 <pre class="programlisting"><span class="returnvalue">void</span>
582 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>,
583 <em class="parameter"><code>unsigned <span class="type">int</span> upem</code></em>);</pre>
584 <div class="refsect3">
585 <a name="hb-face-set-upem.parameters"></a><h4>Parameters</h4>
586 <div class="informaltable"><table class="informaltable" width="100%" border="0">
588 <col width="150px" class="parameters_name">
589 <col class="parameters_description">
590 <col width="200px" class="parameters_annotations">
593 <td class="parameter_name"><p>face</p></td>
594 <td class="parameter_description"><p>a face.</p></td>
595 <td class="parameter_annotations"> </td>
599 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
602 <div class="refsect2">
603 <a name="hb-face-set-user-data"></a><h3>hb_face_set_user_data ()</h3>
604 <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>
605 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>,
606 <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>,
607 <em class="parameter"><code><span class="type">void</span> *data</code></em>,
608 <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>,
609 <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>
610 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
611 <div class="refsect3">
612 <a name="hb-face-set-user-data.parameters"></a><h4>Parameters</h4>
613 <div class="informaltable"><table class="informaltable" width="100%" border="0">
615 <col width="150px" class="parameters_name">
616 <col class="parameters_description">
617 <col width="200px" class="parameters_annotations">
620 <td class="parameter_name"><p>face</p></td>
621 <td class="parameter_description"><p>a face.</p></td>
622 <td class="parameter_annotations"> </td>
626 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
629 <div class="refsect1">
630 <a name="harfbuzz-hb-face.other_details"></a><h2>Types and Values</h2>
631 <div class="refsect2">
632 <a name="hb-face-t"></a><h3>hb_face_t</h3>
633 <pre class="programlisting">typedef struct hb_face_t hb_face_t;
639 <hr>Generated by GTK-Doc V1.27.1</div>