527089e3f9c2db703026b6f93c1cafea9af6765b
[platform/upstream/harfbuzz.git] / docs / html / harfbuzz-hb-face.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>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">
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="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>
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-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>
25 </tr></table>
26 <div class="refentry">
27 <a name="harfbuzz-hb-face"></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-face.top_of_page"></a>hb-face</span></h2>
31 <p>hb-face</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-face.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 <a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
46 </td>
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>
49 </td>
50 </tr>
51 <tr>
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> *
54 </td>
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>
57 </td>
58 </tr>
59 <tr>
60 <td class="function_type">
61 <span class="returnvalue">void</span>
62 </td>
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>
65 </td>
66 </tr>
67 <tr>
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> *
70 </td>
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>
73 </td>
74 </tr>
75 <tr>
76 <td class="function_type">unsigned <span class="returnvalue">int</span>
77 </td>
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>
80 </td>
81 </tr>
82 <tr>
83 <td class="function_type">unsigned <span class="returnvalue">int</span>
84 </td>
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>
87 </td>
88 </tr>
89 <tr>
90 <td class="function_type">unsigned <span class="returnvalue">int</span>
91 </td>
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>
94 </td>
95 </tr>
96 <tr>
97 <td class="function_type">
98 <span class="returnvalue">void</span> *
99 </td>
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>
102 </td>
103 </tr>
104 <tr>
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>
107 </td>
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>
110 </td>
111 </tr>
112 <tr>
113 <td class="function_type">
114 <span class="returnvalue">void</span>
115 </td>
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>
118 </td>
119 </tr>
120 <tr>
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> *
123 </td>
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>
126 </td>
127 </tr>
128 <tr>
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> *
131 </td>
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>
134 </td>
135 </tr>
136 <tr>
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> *
139 </td>
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>
142 </td>
143 </tr>
144 <tr>
145 <td class="function_type">
146 <span class="returnvalue">void</span>
147 </td>
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>
150 </td>
151 </tr>
152 <tr>
153 <td class="function_type">
154 <span class="returnvalue">void</span>
155 </td>
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>
158 </td>
159 </tr>
160 <tr>
161 <td class="function_type">
162 <span class="returnvalue">void</span>
163 </td>
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>
166 </td>
167 </tr>
168 <tr>
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>
171 </td>
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>
174 </td>
175 </tr>
176 </tbody>
177 </table></div>
178 </div>
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">
182 <colgroup>
183 <col width="150px" class="name">
184 <col class="description">
185 </colgroup>
186 <tbody><tr>
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>
189 </tr></tbody>
190 </table></div>
191 </div>
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
196 </pre>
197 </div>
198 <div class="refsect1">
199 <a name="harfbuzz-hb-face.description"></a><h2>Description</h2>
200 </div>
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>
208 </div>
209 <hr>
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">
219 <colgroup>
220 <col width="150px" class="parameters_name">
221 <col class="parameters_description">
222 <col width="200px" class="parameters_annotations">
223 </colgroup>
224 <tbody><tr>
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>
228 </tr></tbody>
229 </table></div>
230 </div>
231 <div class="refsect3">
232 <a name="id-1.3.3.7.8.3.5"></a><h4>Returns</h4>
233 <p> (transfer full)</p>
234 <p></p>
235 </div>
236 <p class="since">Since 0.9.2</p>
237 </div>
238 <hr>
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">
246 <colgroup>
247 <col width="150px" class="parameters_name">
248 <col class="parameters_description">
249 <col width="200px" class="parameters_annotations">
250 </colgroup>
251 <tbody><tr>
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>
255 </tr></tbody>
256 </table></div>
257 </div>
258 <p class="since">Since 0.9.2</p>
259 </div>
260 <hr>
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>
268 <p></p>
269 </div>
270 <p class="since">Since 0.9.2</p>
271 </div>
272 <hr>
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">
280 <colgroup>
281 <col width="150px" class="parameters_name">
282 <col class="parameters_description">
283 <col width="200px" class="parameters_annotations">
284 </colgroup>
285 <tbody><tr>
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>
289 </tr></tbody>
290 </table></div>
291 </div>
292 <div class="refsect3">
293 <a name="id-1.3.3.7.8.6.5"></a><h4>Returns</h4>
294 <p></p>
295 </div>
296 <p class="since">Since 0.9.7</p>
297 </div>
298 <hr>
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">
306 <colgroup>
307 <col width="150px" class="parameters_name">
308 <col class="parameters_description">
309 <col width="200px" class="parameters_annotations">
310 </colgroup>
311 <tbody><tr>
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>
315 </tr></tbody>
316 </table></div>
317 </div>
318 <div class="refsect3">
319 <a name="id-1.3.3.7.8.7.5"></a><h4>Returns</h4>
320 <p></p>
321 </div>
322 <p class="since">Since 0.9.2</p>
323 </div>
324 <hr>
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">
332 <colgroup>
333 <col width="150px" class="parameters_name">
334 <col class="parameters_description">
335 <col width="200px" class="parameters_annotations">
336 </colgroup>
337 <tbody><tr>
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>
341 </tr></tbody>
342 </table></div>
343 </div>
344 <div class="refsect3">
345 <a name="id-1.3.3.7.8.8.5"></a><h4>Returns</h4>
346 <p></p>
347 </div>
348 <p class="since">Since 0.9.2</p>
349 </div>
350 <hr>
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">
359 <colgroup>
360 <col width="150px" class="parameters_name">
361 <col class="parameters_description">
362 <col width="200px" class="parameters_annotations">
363 </colgroup>
364 <tbody><tr>
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>
368 </tr></tbody>
369 </table></div>
370 </div>
371 <div class="refsect3">
372 <a name="id-1.3.3.7.8.9.5"></a><h4>Returns</h4>
373 <p>. </p>
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>
375 </div>
376 <p class="since">Since 0.9.2</p>
377 </div>
378 <hr>
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">
386 <colgroup>
387 <col width="150px" class="parameters_name">
388 <col class="parameters_description">
389 <col width="200px" class="parameters_annotations">
390 </colgroup>
391 <tbody><tr>
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>
395 </tr></tbody>
396 </table></div>
397 </div>
398 <div class="refsect3">
399 <a name="id-1.3.3.7.8.10.5"></a><h4>Returns</h4>
400 <p></p>
401 </div>
402 <p class="since">Since 0.9.2</p>
403 </div>
404 <hr>
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">
412 <colgroup>
413 <col width="150px" class="parameters_name">
414 <col class="parameters_description">
415 <col width="200px" class="parameters_annotations">
416 </colgroup>
417 <tbody><tr>
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>
421 </tr></tbody>
422 </table></div>
423 </div>
424 <p class="since">Since 0.9.2</p>
425 </div>
426 <hr>
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">
434 <colgroup>
435 <col width="150px" class="parameters_name">
436 <col class="parameters_description">
437 <col width="200px" class="parameters_annotations">
438 </colgroup>
439 <tbody><tr>
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>
443 </tr></tbody>
444 </table></div>
445 </div>
446 <div class="refsect3">
447 <a name="id-1.3.3.7.8.12.5"></a><h4>Returns</h4>
448 <p></p>
449 </div>
450 <p class="since">Since 0.9.2</p>
451 </div>
452 <hr>
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">
460 <colgroup>
461 <col width="150px" class="parameters_name">
462 <col class="parameters_description">
463 <col width="200px" class="parameters_annotations">
464 </colgroup>
465 <tbody><tr>
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>
469 </tr></tbody>
470 </table></div>
471 </div>
472 <div class="refsect3">
473 <a name="id-1.3.3.7.8.13.5"></a><h4>Returns</h4>
474 <p>. </p>
475 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
476 </div>
477 <p class="since">Since 0.9.2</p>
478 </div>
479 <hr>
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">
488 <colgroup>
489 <col width="150px" class="parameters_name">
490 <col class="parameters_description">
491 <col width="200px" class="parameters_annotations">
492 </colgroup>
493 <tbody><tr>
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>
497 </tr></tbody>
498 </table></div>
499 </div>
500 <div class="refsect3">
501 <a name="id-1.3.3.7.8.14.5"></a><h4>Returns</h4>
502 <p>. </p>
503 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
504 </div>
505 <p class="since">Since 0.9.2</p>
506 </div>
507 <hr>
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">
516 <colgroup>
517 <col width="150px" class="parameters_name">
518 <col class="parameters_description">
519 <col width="200px" class="parameters_annotations">
520 </colgroup>
521 <tbody><tr>
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>
525 </tr></tbody>
526 </table></div>
527 </div>
528 <p class="since">Since 0.9.7</p>
529 </div>
530 <hr>
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">
539 <colgroup>
540 <col width="150px" class="parameters_name">
541 <col class="parameters_description">
542 <col width="200px" class="parameters_annotations">
543 </colgroup>
544 <tbody><tr>
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>
548 </tr></tbody>
549 </table></div>
550 </div>
551 <p class="since">Since 0.9.2</p>
552 </div>
553 <hr>
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">
562 <colgroup>
563 <col width="150px" class="parameters_name">
564 <col class="parameters_description">
565 <col width="200px" class="parameters_annotations">
566 </colgroup>
567 <tbody><tr>
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>
571 </tr></tbody>
572 </table></div>
573 </div>
574 <p class="since">Since 0.9.2</p>
575 </div>
576 <hr>
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">
588 <colgroup>
589 <col width="150px" class="parameters_name">
590 <col class="parameters_description">
591 <col width="200px" class="parameters_annotations">
592 </colgroup>
593 <tbody><tr>
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>
597 </tr></tbody>
598 </table></div>
599 </div>
600 <div class="refsect3">
601 <a name="id-1.3.3.7.8.18.5"></a><h4>Returns</h4>
602 <p></p>
603 </div>
604 <p class="since">Since 0.9.2</p>
605 </div>
606 </div>
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;
612 </pre>
613 </div>
614 </div>
615 </div>
616 <div class="footer">
617 <hr>
618           Generated by GTK-Doc V1.20</div>
619 </body>
620 </html>