Imported Upstream version 0.9.40
[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>hb-face: HarfBuzz Manual</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7 <link rel="home" href="index.html" title="HarfBuzz Manual">
8 <link rel="up" href="ch07.html" title="Harfbuzz API">
9 <link rel="prev" href="harfbuzz-hb-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.24.1 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18                   <a href="#harfbuzz-hb-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">    <a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
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 <p><span class="annotation">[Xconstructor]</span></p>
209 <div class="refsect3">
210 <a name="hb-face-create.returns"></a><h4>Returns</h4>
211 <p>. </p>
212 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
213 </div>
214 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
215 </div>
216 <hr>
217 <div class="refsect2">
218 <a name="hb-face-create-for-tables"></a><h3>hb_face_create_for_tables ()</h3>
219 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
220 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>,
221                            <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
222                            <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>
223 <div class="refsect3">
224 <a name="hb-face-create-for-tables.parameters"></a><h4>Parameters</h4>
225 <div class="informaltable"><table width="100%" border="0">
226 <colgroup>
227 <col width="150px" class="parameters_name">
228 <col class="parameters_description">
229 <col width="200px" class="parameters_annotations">
230 </colgroup>
231 <tbody><tr>
232 <td class="parameter_name"><p>reference_table_func</p></td>
233 <td class="parameter_description"><p>. </p></td>
234 <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>
235 </tr></tbody>
236 </table></div>
237 </div>
238 <div class="refsect3">
239 <a name="hb-face-create-for-tables.returns"></a><h4>Returns</h4>
240 <p> (transfer full)</p>
241 </div>
242 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
243 </div>
244 <hr>
245 <div class="refsect2">
246 <a name="hb-face-destroy"></a><h3>hb_face_destroy ()</h3>
247 <pre class="programlisting"><span class="returnvalue">void</span>
248 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>
249 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
250 <div class="refsect3">
251 <a name="hb-face-destroy.parameters"></a><h4>Parameters</h4>
252 <div class="informaltable"><table width="100%" border="0">
253 <colgroup>
254 <col width="150px" class="parameters_name">
255 <col class="parameters_description">
256 <col width="200px" class="parameters_annotations">
257 </colgroup>
258 <tbody><tr>
259 <td class="parameter_name"><p>face</p></td>
260 <td class="parameter_description"><p>a face.</p></td>
261 <td class="parameter_annotations"> </td>
262 </tr></tbody>
263 </table></div>
264 </div>
265 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
266 </div>
267 <hr>
268 <div class="refsect2">
269 <a name="hb-face-get-empty"></a><h3>hb_face_get_empty ()</h3>
270 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
271 hb_face_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
272 <div class="refsect3">
273 <a name="hb-face-get-empty.returns"></a><h4>Returns</h4>
274 <p> (transfer full)</p>
275 </div>
276 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
277 </div>
278 <hr>
279 <div class="refsect2">
280 <a name="hb-face-get-glyph-count"></a><h3>hb_face_get_glyph_count ()</h3>
281 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
282 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>
283 <div class="refsect3">
284 <a name="hb-face-get-glyph-count.parameters"></a><h4>Parameters</h4>
285 <div class="informaltable"><table width="100%" border="0">
286 <colgroup>
287 <col width="150px" class="parameters_name">
288 <col class="parameters_description">
289 <col width="200px" class="parameters_annotations">
290 </colgroup>
291 <tbody><tr>
292 <td class="parameter_name"><p>face</p></td>
293 <td class="parameter_description"><p>a face.</p></td>
294 <td class="parameter_annotations"> </td>
295 </tr></tbody>
296 </table></div>
297 </div>
298 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
299 </div>
300 <hr>
301 <div class="refsect2">
302 <a name="hb-face-get-index"></a><h3>hb_face_get_index ()</h3>
303 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
304 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>
305 <div class="refsect3">
306 <a name="hb-face-get-index.parameters"></a><h4>Parameters</h4>
307 <div class="informaltable"><table width="100%" border="0">
308 <colgroup>
309 <col width="150px" class="parameters_name">
310 <col class="parameters_description">
311 <col width="200px" class="parameters_annotations">
312 </colgroup>
313 <tbody><tr>
314 <td class="parameter_name"><p>face</p></td>
315 <td class="parameter_description"><p>a face.</p></td>
316 <td class="parameter_annotations"> </td>
317 </tr></tbody>
318 </table></div>
319 </div>
320 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
321 </div>
322 <hr>
323 <div class="refsect2">
324 <a name="hb-face-get-upem"></a><h3>hb_face_get_upem ()</h3>
325 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
326 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>
327 <div class="refsect3">
328 <a name="hb-face-get-upem.parameters"></a><h4>Parameters</h4>
329 <div class="informaltable"><table width="100%" border="0">
330 <colgroup>
331 <col width="150px" class="parameters_name">
332 <col class="parameters_description">
333 <col width="200px" class="parameters_annotations">
334 </colgroup>
335 <tbody><tr>
336 <td class="parameter_name"><p>face</p></td>
337 <td class="parameter_description"><p>a face.</p></td>
338 <td class="parameter_annotations"> </td>
339 </tr></tbody>
340 </table></div>
341 </div>
342 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
343 </div>
344 <hr>
345 <div class="refsect2">
346 <a name="hb-face-get-user-data"></a><h3>hb_face_get_user_data ()</h3>
347 <pre class="programlisting"><span class="returnvalue">void</span> *
348 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>,
349                        <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>
350 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
351 <div class="refsect3">
352 <a name="hb-face-get-user-data.parameters"></a><h4>Parameters</h4>
353 <div class="informaltable"><table width="100%" border="0">
354 <colgroup>
355 <col width="150px" class="parameters_name">
356 <col class="parameters_description">
357 <col width="200px" class="parameters_annotations">
358 </colgroup>
359 <tbody><tr>
360 <td class="parameter_name"><p>face</p></td>
361 <td class="parameter_description"><p>a face.</p></td>
362 <td class="parameter_annotations"> </td>
363 </tr></tbody>
364 </table></div>
365 </div>
366 <div class="refsect3">
367 <a name="hb-face-get-user-data.returns"></a><h4>Returns</h4>
368 <p>. </p>
369 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
370 </div>
371 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
372 </div>
373 <hr>
374 <div class="refsect2">
375 <a name="hb-face-is-immutable"></a><h3>hb_face_is_immutable ()</h3>
376 <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>
377 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>
378 <div class="refsect3">
379 <a name="hb-face-is-immutable.parameters"></a><h4>Parameters</h4>
380 <div class="informaltable"><table width="100%" border="0">
381 <colgroup>
382 <col width="150px" class="parameters_name">
383 <col class="parameters_description">
384 <col width="200px" class="parameters_annotations">
385 </colgroup>
386 <tbody><tr>
387 <td class="parameter_name"><p>face</p></td>
388 <td class="parameter_description"><p>a face.</p></td>
389 <td class="parameter_annotations"> </td>
390 </tr></tbody>
391 </table></div>
392 </div>
393 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
394 </div>
395 <hr>
396 <div class="refsect2">
397 <a name="hb-face-make-immutable"></a><h3>hb_face_make_immutable ()</h3>
398 <pre class="programlisting"><span class="returnvalue">void</span>
399 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>
400 <div class="refsect3">
401 <a name="hb-face-make-immutable.parameters"></a><h4>Parameters</h4>
402 <div class="informaltable"><table width="100%" border="0">
403 <colgroup>
404 <col width="150px" class="parameters_name">
405 <col class="parameters_description">
406 <col width="200px" class="parameters_annotations">
407 </colgroup>
408 <tbody><tr>
409 <td class="parameter_name"><p>face</p></td>
410 <td class="parameter_description"><p>a face.</p></td>
411 <td class="parameter_annotations"> </td>
412 </tr></tbody>
413 </table></div>
414 </div>
415 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
416 </div>
417 <hr>
418 <div class="refsect2">
419 <a name="hb-face-reference"></a><h3>hb_face_reference ()</h3>
420 <pre class="programlisting"><a class="link" href="harfbuzz-hb-face.html#hb-face-t"><span class="returnvalue">hb_face_t</span></a> *
421 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>
422 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
423 <div class="refsect3">
424 <a name="hb-face-reference.parameters"></a><h4>Parameters</h4>
425 <div class="informaltable"><table width="100%" border="0">
426 <colgroup>
427 <col width="150px" class="parameters_name">
428 <col class="parameters_description">
429 <col width="200px" class="parameters_annotations">
430 </colgroup>
431 <tbody><tr>
432 <td class="parameter_name"><p>face</p></td>
433 <td class="parameter_description"><p>a face.</p></td>
434 <td class="parameter_annotations"> </td>
435 </tr></tbody>
436 </table></div>
437 </div>
438 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
439 </div>
440 <hr>
441 <div class="refsect2">
442 <a name="hb-face-reference-blob"></a><h3>hb_face_reference_blob ()</h3>
443 <pre class="programlisting"><a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
444 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>
445 <div class="refsect3">
446 <a name="hb-face-reference-blob.parameters"></a><h4>Parameters</h4>
447 <div class="informaltable"><table width="100%" border="0">
448 <colgroup>
449 <col width="150px" class="parameters_name">
450 <col class="parameters_description">
451 <col width="200px" class="parameters_annotations">
452 </colgroup>
453 <tbody><tr>
454 <td class="parameter_name"><p>face</p></td>
455 <td class="parameter_description"><p>a face.</p></td>
456 <td class="parameter_annotations"> </td>
457 </tr></tbody>
458 </table></div>
459 </div>
460 <div class="refsect3">
461 <a name="hb-face-reference-blob.returns"></a><h4>Returns</h4>
462 <p>. </p>
463 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
464 </div>
465 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
466 </div>
467 <hr>
468 <div class="refsect2">
469 <a name="hb-face-reference-table"></a><h3>hb_face_reference_table ()</h3>
470 <pre class="programlisting"><a class="link" href="harfbuzz-hb-blob.html#hb-blob-t"><span class="returnvalue">hb_blob_t</span></a> *
471 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>,
472                          <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>
473 <div class="refsect3">
474 <a name="hb-face-reference-table.parameters"></a><h4>Parameters</h4>
475 <div class="informaltable"><table width="100%" border="0">
476 <colgroup>
477 <col width="150px" class="parameters_name">
478 <col class="parameters_description">
479 <col width="200px" class="parameters_annotations">
480 </colgroup>
481 <tbody><tr>
482 <td class="parameter_name"><p>face</p></td>
483 <td class="parameter_description"><p>a face.</p></td>
484 <td class="parameter_annotations"> </td>
485 </tr></tbody>
486 </table></div>
487 </div>
488 <div class="refsect3">
489 <a name="hb-face-reference-table.returns"></a><h4>Returns</h4>
490 <p>. </p>
491 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
492 </div>
493 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
494 </div>
495 <hr>
496 <div class="refsect2">
497 <a name="hb-face-set-glyph-count"></a><h3>hb_face_set_glyph_count ()</h3>
498 <pre class="programlisting"><span class="returnvalue">void</span>
499 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>,
500                          <em class="parameter"><code>unsigned <span class="type">int</span> glyph_count</code></em>);</pre>
501 <div class="refsect3">
502 <a name="hb-face-set-glyph-count.parameters"></a><h4>Parameters</h4>
503 <div class="informaltable"><table width="100%" border="0">
504 <colgroup>
505 <col width="150px" class="parameters_name">
506 <col class="parameters_description">
507 <col width="200px" class="parameters_annotations">
508 </colgroup>
509 <tbody><tr>
510 <td class="parameter_name"><p>face</p></td>
511 <td class="parameter_description"><p>a face.</p></td>
512 <td class="parameter_annotations"> </td>
513 </tr></tbody>
514 </table></div>
515 </div>
516 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
517 </div>
518 <hr>
519 <div class="refsect2">
520 <a name="hb-face-set-index"></a><h3>hb_face_set_index ()</h3>
521 <pre class="programlisting"><span class="returnvalue">void</span>
522 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>,
523                    <em class="parameter"><code>unsigned <span class="type">int</span> index</code></em>);</pre>
524 <div class="refsect3">
525 <a name="hb-face-set-index.parameters"></a><h4>Parameters</h4>
526 <div class="informaltable"><table width="100%" border="0">
527 <colgroup>
528 <col width="150px" class="parameters_name">
529 <col class="parameters_description">
530 <col width="200px" class="parameters_annotations">
531 </colgroup>
532 <tbody><tr>
533 <td class="parameter_name"><p>face</p></td>
534 <td class="parameter_description"><p>a face.</p></td>
535 <td class="parameter_annotations"> </td>
536 </tr></tbody>
537 </table></div>
538 </div>
539 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
540 </div>
541 <hr>
542 <div class="refsect2">
543 <a name="hb-face-set-upem"></a><h3>hb_face_set_upem ()</h3>
544 <pre class="programlisting"><span class="returnvalue">void</span>
545 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>,
546                   <em class="parameter"><code>unsigned <span class="type">int</span> upem</code></em>);</pre>
547 <div class="refsect3">
548 <a name="hb-face-set-upem.parameters"></a><h4>Parameters</h4>
549 <div class="informaltable"><table width="100%" border="0">
550 <colgroup>
551 <col width="150px" class="parameters_name">
552 <col class="parameters_description">
553 <col width="200px" class="parameters_annotations">
554 </colgroup>
555 <tbody><tr>
556 <td class="parameter_name"><p>face</p></td>
557 <td class="parameter_description"><p>a face.</p></td>
558 <td class="parameter_annotations"> </td>
559 </tr></tbody>
560 </table></div>
561 </div>
562 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
563 </div>
564 <hr>
565 <div class="refsect2">
566 <a name="hb-face-set-user-data"></a><h3>hb_face_set_user_data ()</h3>
567 <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>
568 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>,
569                        <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>,
570                        <em class="parameter"><code><span class="type">void</span> *data</code></em>,
571                        <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>,
572                        <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>
573 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
574 <div class="refsect3">
575 <a name="hb-face-set-user-data.parameters"></a><h4>Parameters</h4>
576 <div class="informaltable"><table width="100%" border="0">
577 <colgroup>
578 <col width="150px" class="parameters_name">
579 <col class="parameters_description">
580 <col width="200px" class="parameters_annotations">
581 </colgroup>
582 <tbody><tr>
583 <td class="parameter_name"><p>face</p></td>
584 <td class="parameter_description"><p>a face.</p></td>
585 <td class="parameter_annotations"> </td>
586 </tr></tbody>
587 </table></div>
588 </div>
589 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
590 </div>
591 </div>
592 <div class="refsect1">
593 <a name="harfbuzz-hb-face.other_details"></a><h2>Types and Values</h2>
594 <div class="refsect2">
595 <a name="hb-face-t"></a><h3>hb_face_t</h3>
596 <pre class="programlisting">typedef struct hb_face_t hb_face_t;
597 </pre>
598 </div>
599 </div>
600 </div>
601 <div class="footer">
602 <hr>Generated by GTK-Doc V1.24.1</div>
603 </body>
604 </html>