25641468fc42cedd45b1f540f35def2984e070be
[platform/upstream/harfbuzz.git] / docs / html / harfbuzz-hb-deprecated.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-deprecated: 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="core-api.html" title="Core API">
9 <link rel="prev" href="harfbuzz-hb-common.html" title="hb-common">
10 <link rel="next" href="harfbuzz-hb-face.html" title="hb-face">
11 <meta name="generator" content="GTK-Doc V1.32 (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-deprecated.description" class="shortcut">Description</a></span>
19 </td>
20 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21 <td><a accesskey="u" href="core-api.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22 <td><a accesskey="p" href="harfbuzz-hb-common.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23 <td><a accesskey="n" href="harfbuzz-hb-face.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24 </tr></table>
25 <div class="refentry">
26 <a name="harfbuzz-hb-deprecated"></a><div class="titlepage"></div>
27 <div class="refnamediv"><table width="100%"><tr>
28 <td valign="top">
29 <h2><span class="refentrytitle"><a name="harfbuzz-hb-deprecated.top_of_page"></a>hb-deprecated</span></h2>
30 <p>hb-deprecated — Deprecated API</p>
31 </td>
32 <td class="gallery_image" valign="top" align="right"></td>
33 </tr></table></div>
34 <div class="refsect1">
35 <a name="harfbuzz-hb-deprecated.functions"></a><h2>Functions</h2>
36 <div class="informaltable"><table class="informaltable" width="100%" border="0">
37 <colgroup>
38 <col width="150px" class="functions_proto_type">
39 <col class="functions_proto_name">
40 </colgroup>
41 <tbody>
42 <tr>
43 <td class="function_type">
44 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
45 </td>
46 <td class="function_name">
47 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-deprecated.html#hb-font-get-glyph-func-t" title="hb_font_get_glyph_func_t ()">*hb_font_get_glyph_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
48 </td>
49 </tr>
50 <tr>
51 <td class="function_type">
52 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
53 </td>
54 <td class="function_name">
55 <a class="link" href="harfbuzz-hb-deprecated.html#hb-ot-layout-table-find-script" title="hb_ot_layout_table_find_script ()">hb_ot_layout_table_find_script</a> <span class="c_punctuation">()</span>
56 </td>
57 </tr>
58 <tr>
59 <td class="function_type">unsigned <span class="returnvalue">int</span>
60 </td>
61 <td class="function_name">
62 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-deprecated.html#hb-unicode-eastasian-width-func-t" title="hb_unicode_eastasian_width_func_t ()">*hb_unicode_eastasian_width_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
63 </td>
64 </tr>
65 <tr>
66 <td class="function_type">unsigned <span class="returnvalue">int</span>
67 </td>
68 <td class="function_name">
69 <a class="link" href="harfbuzz-hb-deprecated.html#hb-unicode-eastasian-width" title="hb_unicode_eastasian_width ()">hb_unicode_eastasian_width</a> <span class="c_punctuation">()</span>
70 </td>
71 </tr>
72 <tr>
73 <td class="function_type">
74 <span class="returnvalue">void</span>
75 </td>
76 <td class="function_name">
77 <a class="link" href="harfbuzz-hb-deprecated.html#hb-unicode-funcs-set-eastasian-width-func" title="hb_unicode_funcs_set_eastasian_width_func ()">hb_unicode_funcs_set_eastasian_width_func</a> <span class="c_punctuation">()</span>
78 </td>
79 </tr>
80 <tr>
81 <td class="function_type">unsigned <span class="returnvalue">int</span>
82 </td>
83 <td class="function_name">
84 <span class="c_punctuation">(</span><a class="link" href="harfbuzz-hb-deprecated.html#hb-unicode-decompose-compatibility-func-t" title="hb_unicode_decompose_compatibility_func_t ()">*hb_unicode_decompose_compatibility_func_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
85 </td>
86 </tr>
87 <tr>
88 <td class="function_type">unsigned <span class="returnvalue">int</span>
89 </td>
90 <td class="function_name">
91 <a class="link" href="harfbuzz-hb-deprecated.html#hb-unicode-decompose-compatibility" title="hb_unicode_decompose_compatibility ()">hb_unicode_decompose_compatibility</a> <span class="c_punctuation">()</span>
92 </td>
93 </tr>
94 <tr>
95 <td class="function_type">
96 <span class="returnvalue">void</span>
97 </td>
98 <td class="function_name">
99 <a class="link" href="harfbuzz-hb-deprecated.html#hb-unicode-funcs-set-decompose-compatibility-func" title="hb_unicode_funcs_set_decompose_compatibility_func ()">hb_unicode_funcs_set_decompose_compatibility_func</a> <span class="c_punctuation">()</span>
100 </td>
101 </tr>
102 <tr>
103 <td class="function_type">
104 <span class="returnvalue">void</span>
105 </td>
106 <td class="function_name">
107 <a class="link" href="harfbuzz-hb-deprecated.html#hb-font-funcs-set-glyph-v-kerning-func" title="hb_font_funcs_set_glyph_v_kerning_func ()">hb_font_funcs_set_glyph_v_kerning_func</a> <span class="c_punctuation">()</span>
108 </td>
109 </tr>
110 <tr>
111 <td class="function_type">
112 <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
113 </td>
114 <td class="function_name">
115 <a class="link" href="harfbuzz-hb-deprecated.html#hb-font-get-glyph-v-kerning" title="hb_font_get_glyph_v_kerning ()">hb_font_get_glyph_v_kerning</a> <span class="c_punctuation">()</span>
116 </td>
117 </tr>
118 </tbody>
119 </table></div>
120 </div>
121 <div class="refsect1">
122 <a name="harfbuzz-hb-deprecated.other"></a><h2>Types and Values</h2>
123 <div class="informaltable"><table class="informaltable" width="100%" border="0">
124 <colgroup>
125 <col width="150px" class="other_proto_type">
126 <col class="other_proto_name">
127 </colgroup>
128 <tbody>
129 <tr>
130 <td class="define_keyword">#define</td>
131 <td class="function_name"><a class="link" href="harfbuzz-hb-deprecated.html#HB-BUFFER-FLAGS-DEFAULT:CAPS" title="HB_BUFFER_FLAGS_DEFAULT">HB_BUFFER_FLAGS_DEFAULT</a></td>
132 </tr>
133 <tr>
134 <td class="define_keyword">#define</td>
135 <td class="function_name"><a class="link" href="harfbuzz-hb-deprecated.html#HB-BUFFER-SERIALIZE-FLAGS-DEFAULT:CAPS" title="HB_BUFFER_SERIALIZE_FLAGS_DEFAULT">HB_BUFFER_SERIALIZE_FLAGS_DEFAULT</a></td>
136 </tr>
137 <tr>
138 <td class="define_keyword">#define</td>
139 <td class="function_name"><a class="link" href="harfbuzz-hb-deprecated.html#HB-SCRIPT-CANADIAN-ABORIGINAL:CAPS" title="HB_SCRIPT_CANADIAN_ABORIGINAL">HB_SCRIPT_CANADIAN_ABORIGINAL</a></td>
140 </tr>
141 <tr>
142 <td class="define_keyword">#define</td>
143 <td class="function_name"><a class="link" href="harfbuzz-hb-deprecated.html#HB-MATH-GLYPH-PART-FLAG-EXTENDER:CAPS" title="HB_MATH_GLYPH_PART_FLAG_EXTENDER">HB_MATH_GLYPH_PART_FLAG_EXTENDER</a></td>
144 </tr>
145 <tr>
146 <td class="define_keyword">#define</td>
147 <td class="function_name"><a class="link" href="harfbuzz-hb-deprecated.html#HB-OT-MATH-SCRIPT:CAPS" title="HB_OT_MATH_SCRIPT">HB_OT_MATH_SCRIPT</a></td>
148 </tr>
149 <tr>
150 <td class="define_keyword">#define</td>
151 <td class="function_name"><a class="link" href="harfbuzz-hb-deprecated.html#HB-OT-VAR-NO-AXIS-INDEX:CAPS" title="HB_OT_VAR_NO_AXIS_INDEX">HB_OT_VAR_NO_AXIS_INDEX</a></td>
152 </tr>
153 <tr>
154 <td class="datatype_keyword"> </td>
155 <td class="function_name"><a class="link" href="harfbuzz-hb-deprecated.html#hb-ot-var-axis-t" title="hb_ot_var_axis_t">hb_ot_var_axis_t</a></td>
156 </tr>
157 <tr>
158 <td class="define_keyword">#define</td>
159 <td class="function_name"><a class="link" href="harfbuzz-hb-deprecated.html#HB-UNICODE-MAX-DECOMPOSITION-LEN:CAPS" title="HB_UNICODE_MAX_DECOMPOSITION_LEN">HB_UNICODE_MAX_DECOMPOSITION_LEN</a></td>
160 </tr>
161 <tr>
162 <td class="typedef_keyword">typedef</td>
163 <td class="function_name"><a class="link" href="harfbuzz-hb-deprecated.html#hb-font-get-glyph-v-kerning-func-t" title="hb_font_get_glyph_v_kerning_func_t">hb_font_get_glyph_v_kerning_func_t</a></td>
164 </tr>
165 </tbody>
166 </table></div>
167 </div>
168 <div class="refsect1">
169 <a name="harfbuzz-hb-deprecated.includes"></a><h2>Includes</h2>
170 <pre class="synopsis">#include &lt;hb.h&gt;
171 </pre>
172 </div>
173 <div class="refsect1">
174 <a name="harfbuzz-hb-deprecated.description"></a><h2>Description</h2>
175 <p>These API have been deprecated in favor of newer API, or because they
176 were deemed unnecessary.</p>
177 </div>
178 <div class="refsect1">
179 <a name="harfbuzz-hb-deprecated.functions_details"></a><h2>Functions</h2>
180 <div class="refsect2">
181 <a name="hb-font-get-glyph-func-t"></a><h3>hb_font_get_glyph_func_t ()</h3>
182 <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>
183 <span class="c_punctuation">(</span>*hb_font_get_glyph_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t" title="hb_font_t"><span class="type">hb_font_t</span></a> *font</code></em>,
184                              <em class="parameter"><code><span class="type">void</span> *font_data</code></em>,
185                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> unicode</code></em>,
186                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> variation_selector</code></em>,
187                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *glyph</code></em>,
188                              <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
189 <div class="warning"><p><code class="literal">hb_font_get_glyph_func_t</code> has been deprecated since version 1.2.3 and should not be used in newly-written code.</p></div>
190 <p>A virtual method for the <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t" title="hb_font_funcs_t"><span class="type">hb_font_funcs_t</span></a> of an <a class="link" href="harfbuzz-hb-font.html#hb-font-t" title="hb_font_t"><span class="type">hb_font_t</span></a> object.</p>
191 <p>This method should retrieve the glyph ID for a specified Unicode code point
192 font, with an optional variation selector.</p>
193 <div class="refsect3">
194 <a name="hb-font-get-glyph-func-t.parameters"></a><h4>Parameters</h4>
195 <div class="informaltable"><table class="informaltable" width="100%" border="0">
196 <colgroup>
197 <col width="150px" class="parameters_name">
198 <col class="parameters_description">
199 <col width="200px" class="parameters_annotations">
200 </colgroup>
201 <tbody>
202 <tr>
203 <td class="parameter_name"><p>font</p></td>
204 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-font.html#hb-font-t" title="hb_font_t"><span class="type">hb_font_t</span></a> to work upon</p></td>
205 <td class="parameter_annotations"> </td>
206 </tr>
207 <tr>
208 <td class="parameter_name"><p>font_data</p></td>
209 <td class="parameter_description"><p><em class="parameter"><code>font</code></em>
210 user data pointer</p></td>
211 <td class="parameter_annotations"> </td>
212 </tr>
213 <tr>
214 <td class="parameter_name"><p>unicode</p></td>
215 <td class="parameter_description"><p>The Unicode code point to query</p></td>
216 <td class="parameter_annotations"> </td>
217 </tr>
218 <tr>
219 <td class="parameter_name"><p>variation_selector</p></td>
220 <td class="parameter_description"><p>The  variation-selector code point to query</p></td>
221 <td class="parameter_annotations"> </td>
222 </tr>
223 <tr>
224 <td class="parameter_name"><p>glyph</p></td>
225 <td class="parameter_description"><p>The glyph ID retrieved. </p></td>
226 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
227 </tr>
228 <tr>
229 <td class="parameter_name"><p>user_data</p></td>
230 <td class="parameter_description"><p>User data pointer passed by the caller</p></td>
231 <td class="parameter_annotations"> </td>
232 </tr>
233 </tbody>
234 </table></div>
235 </div>
236 <div class="refsect3">
237 <a name="hb-font-get-glyph-func-t.returns"></a><h4>Returns</h4>
238 <p> <code class="literal">true</code> if data found, <code class="literal">false</code> otherwise</p>
239 </div>
240 </div>
241 <hr>
242 <div class="refsect2">
243 <a name="hb-ot-layout-table-find-script"></a><h3>hb_ot_layout_table_find_script ()</h3>
244 <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>
245 hb_ot_layout_table_find_script (<em class="parameter"><code><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> *face</code></em>,
246                                 <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_tag</code></em>,
247                                 <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> script_tag</code></em>,
248                                 <em class="parameter"><code>unsigned <span class="type">int</span> *script_index</code></em>);</pre>
249 <p>Fetches the index if a given script tag in the specified face's GSUB table
250 or GPOS table.</p>
251 <div class="refsect3">
252 <a name="hb-ot-layout-table-find-script.parameters"></a><h4>Parameters</h4>
253 <div class="informaltable"><table class="informaltable" width="100%" border="0">
254 <colgroup>
255 <col width="150px" class="parameters_name">
256 <col class="parameters_description">
257 <col width="200px" class="parameters_annotations">
258 </colgroup>
259 <tbody>
260 <tr>
261 <td class="parameter_name"><p>face</p></td>
262 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to work upon</p></td>
263 <td class="parameter_annotations"> </td>
264 </tr>
265 <tr>
266 <td class="parameter_name"><p>table_tag</p></td>
267 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GSUB:CAPS" title="HB_OT_TAG_GSUB"><span class="type">HB_OT_TAG_GSUB</span></a> or <a class="link" href="harfbuzz-hb-ot-layout.html#HB-OT-TAG-GPOS:CAPS" title="HB_OT_TAG_GPOS"><span class="type">HB_OT_TAG_GPOS</span></a></p></td>
268 <td class="parameter_annotations"> </td>
269 </tr>
270 <tr>
271 <td class="parameter_name"><p>script_tag</p></td>
272 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> of the script tag requested</p></td>
273 <td class="parameter_annotations"> </td>
274 </tr>
275 <tr>
276 <td class="parameter_name"><p>script_index</p></td>
277 <td class="parameter_description"><p>The index of the requested script tag. </p></td>
278 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
279 </tr>
280 </tbody>
281 </table></div>
282 </div>
283 <div class="refsect3">
284 <a name="hb-ot-layout-table-find-script.returns"></a><h4>Returns</h4>
285 <p> <code class="literal">true</code> if the script is found, <code class="literal">false</code> otherwise</p>
286 </div>
287 </div>
288 <hr>
289 <div class="refsect2">
290 <a name="hb-unicode-eastasian-width-func-t"></a><h3>hb_unicode_eastasian_width_func_t ()</h3>
291 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
292 <span class="c_punctuation">(</span>*hb_unicode_eastasian_width_func_t<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t" title="hb_unicode_funcs_t"><span class="type">hb_unicode_funcs_t</span></a> *ufuncs</code></em>,
293                                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> unicode</code></em>,
294                                       <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
295 <div class="warning"><p><code class="literal">hb_unicode_eastasian_width_func_t</code> has been deprecated since version 2.0.0 and should not be used in newly-written code.</p></div>
296 <p>A virtual method for the <a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t" title="hb_unicode_funcs_t"><span class="type">hb_unicode_funcs_t</span></a> structure.</p>
297 <div class="refsect3">
298 <a name="hb-unicode-eastasian-width-func-t.parameters"></a><h4>Parameters</h4>
299 <div class="informaltable"><table class="informaltable" width="100%" border="0">
300 <colgroup>
301 <col width="150px" class="parameters_name">
302 <col class="parameters_description">
303 <col width="200px" class="parameters_annotations">
304 </colgroup>
305 <tbody>
306 <tr>
307 <td class="parameter_name"><p>ufuncs</p></td>
308 <td class="parameter_description"><p>A Unicode-functions structure</p></td>
309 <td class="parameter_annotations"> </td>
310 </tr>
311 <tr>
312 <td class="parameter_name"><p>unicode</p></td>
313 <td class="parameter_description"><p>The code point to query</p></td>
314 <td class="parameter_annotations"> </td>
315 </tr>
316 <tr>
317 <td class="parameter_name"><p>user_data</p></td>
318 <td class="parameter_description"><p>User data pointer passed by the caller</p></td>
319 <td class="parameter_annotations"> </td>
320 </tr>
321 </tbody>
322 </table></div>
323 </div>
324 </div>
325 <hr>
326 <div class="refsect2">
327 <a name="hb-unicode-eastasian-width"></a><h3>hb_unicode_eastasian_width ()</h3>
328 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
329 hb_unicode_eastasian_width (<em class="parameter"><code><a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t" title="hb_unicode_funcs_t"><span class="type">hb_unicode_funcs_t</span></a> *ufuncs</code></em>,
330                             <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> unicode</code></em>);</pre>
331 <div class="warning"><p><code class="literal">hb_unicode_eastasian_width</code> has been deprecated since version 2.0.0 and should not be used in newly-written code.</p></div>
332 <p>Don't use. Not used by HarfBuzz.</p>
333 <div class="refsect3">
334 <a name="hb-unicode-eastasian-width.parameters"></a><h4>Parameters</h4>
335 <div class="informaltable"><table class="informaltable" width="100%" border="0">
336 <colgroup>
337 <col width="150px" class="parameters_name">
338 <col class="parameters_description">
339 <col width="200px" class="parameters_annotations">
340 </colgroup>
341 <tbody>
342 <tr>
343 <td class="parameter_name"><p>ufuncs</p></td>
344 <td class="parameter_description"><p>a Unicode-function structure</p></td>
345 <td class="parameter_annotations"> </td>
346 </tr>
347 <tr>
348 <td class="parameter_name"><p>unicode</p></td>
349 <td class="parameter_description"><p>The code point to query</p></td>
350 <td class="parameter_annotations"> </td>
351 </tr>
352 </tbody>
353 </table></div>
354 </div>
355 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
356 </div>
357 <hr>
358 <div class="refsect2">
359 <a name="hb-unicode-funcs-set-eastasian-width-func"></a><h3>hb_unicode_funcs_set_eastasian_width_func ()</h3>
360 <pre class="programlisting"><span class="returnvalue">void</span>
361 hb_unicode_funcs_set_eastasian_width_func
362                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t" title="hb_unicode_funcs_t"><span class="type">hb_unicode_funcs_t</span></a> *ufuncs</code></em>,
363                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-deprecated.html#hb-unicode-eastasian-width-func-t" title="hb_unicode_eastasian_width_func_t ()"><span class="type">hb_unicode_eastasian_width_func_t</span></a> func</code></em>,
364                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
365                                 <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>
366 <div class="warning"><p><code class="literal">hb_unicode_funcs_set_eastasian_width_func</code> has been deprecated since version 2.0.0 and should not be used in newly-written code.</p></div>
367 <p>Sets the implementation function for <a class="link" href="harfbuzz-hb-deprecated.html#hb-unicode-eastasian-width-func-t" title="hb_unicode_eastasian_width_func_t ()"><span class="type">hb_unicode_eastasian_width_func_t</span></a>.</p>
368 <div class="refsect3">
369 <a name="hb-unicode-funcs-set-eastasian-width-func.parameters"></a><h4>Parameters</h4>
370 <div class="informaltable"><table class="informaltable" width="100%" border="0">
371 <colgroup>
372 <col width="150px" class="parameters_name">
373 <col class="parameters_description">
374 <col width="200px" class="parameters_annotations">
375 </colgroup>
376 <tbody>
377 <tr>
378 <td class="parameter_name"><p>ufuncs</p></td>
379 <td class="parameter_description"><p>a Unicode-function structure</p></td>
380 <td class="parameter_annotations"> </td>
381 </tr>
382 <tr>
383 <td class="parameter_name"><p>func</p></td>
384 <td class="parameter_description"><p>The callback function to assign. </p></td>
385 <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>
386 </tr>
387 <tr>
388 <td class="parameter_name"><p>user_data</p></td>
389 <td class="parameter_description"><p>Data to pass to <em class="parameter"><code>func</code></em>
390 </p></td>
391 <td class="parameter_annotations"> </td>
392 </tr>
393 <tr>
394 <td class="parameter_name"><p>destroy</p></td>
395 <td class="parameter_description"><p>The function to call when <em class="parameter"><code>user_data</code></em>
396 is not needed anymore. </p></td>
397 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
398 </tr>
399 </tbody>
400 </table></div>
401 </div>
402 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
403 </div>
404 <hr>
405 <div class="refsect2">
406 <a name="hb-unicode-decompose-compatibility-func-t"></a><h3>hb_unicode_decompose_compatibility_func_t ()</h3>
407 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
408 <span class="c_punctuation">(</span>*hb_unicode_decompose_compatibility_func_t<span class="c_punctuation">)</span>
409                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t" title="hb_unicode_funcs_t"><span class="type">hb_unicode_funcs_t</span></a> *ufuncs</code></em>,
410                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> u</code></em>,
411                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *decomposed</code></em>,
412                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
413 <div class="warning"><p><code class="literal">hb_unicode_decompose_compatibility_func_t</code> has been deprecated since version 2.0.0 and should not be used in newly-written code.</p></div>
414 <p>Fully decompose <em class="parameter"><code>u</code></em>
415  to its Unicode compatibility decomposition. The codepoints of the decomposition will be written to <em class="parameter"><code>decomposed</code></em>
416 .
417 The complete length of the decomposition will be returned.</p>
418 <p>If <em class="parameter"><code>u</code></em>
419  has no compatibility decomposition, zero should be returned.</p>
420 <p>The Unicode standard guarantees that a buffer of length <a class="link" href="harfbuzz-hb-deprecated.html#HB-UNICODE-MAX-DECOMPOSITION-LEN:CAPS" title="HB_UNICODE_MAX_DECOMPOSITION_LEN"><span class="type">HB_UNICODE_MAX_DECOMPOSITION_LEN</span></a> codepoints will always be sufficient for any
421 compatibility decomposition plus an terminating value of 0.  Consequently, <em class="parameter"><code>decompose</code></em>
422  must be allocated by the caller to be at least this length.  Implementations
423 of this function type must ensure that they do not write past the provided array.</p>
424 <div class="refsect3">
425 <a name="hb-unicode-decompose-compatibility-func-t.parameters"></a><h4>Parameters</h4>
426 <div class="informaltable"><table class="informaltable" width="100%" border="0">
427 <colgroup>
428 <col width="150px" class="parameters_name">
429 <col class="parameters_description">
430 <col width="200px" class="parameters_annotations">
431 </colgroup>
432 <tbody>
433 <tr>
434 <td class="parameter_name"><p>ufuncs</p></td>
435 <td class="parameter_description"><p>a Unicode function structure</p></td>
436 <td class="parameter_annotations"> </td>
437 </tr>
438 <tr>
439 <td class="parameter_name"><p>u</p></td>
440 <td class="parameter_description"><p>codepoint to decompose</p></td>
441 <td class="parameter_annotations"> </td>
442 </tr>
443 <tr>
444 <td class="parameter_name"><p>decomposed</p></td>
445 <td class="parameter_description"><p>address of codepoint array (of length <a class="link" href="harfbuzz-hb-deprecated.html#HB-UNICODE-MAX-DECOMPOSITION-LEN:CAPS" title="HB_UNICODE_MAX_DECOMPOSITION_LEN"><span class="type">HB_UNICODE_MAX_DECOMPOSITION_LEN</span></a>) to write decomposition into</p></td>
446 <td class="parameter_annotations"> </td>
447 </tr>
448 <tr>
449 <td class="parameter_name"><p>user_data</p></td>
450 <td class="parameter_description"><p>user data pointer as passed to <a class="link" href="harfbuzz-hb-deprecated.html#hb-unicode-funcs-set-decompose-compatibility-func" title="hb_unicode_funcs_set_decompose_compatibility_func ()"><code class="function">hb_unicode_funcs_set_decompose_compatibility_func()</code></a></p></td>
451 <td class="parameter_annotations"> </td>
452 </tr>
453 </tbody>
454 </table></div>
455 </div>
456 <div class="refsect3">
457 <a name="hb-unicode-decompose-compatibility-func-t.returns"></a><h4>Returns</h4>
458 <p> number of codepoints in the full compatibility decomposition of <em class="parameter"><code>u</code></em>
459 , or 0 if no decomposition available.</p>
460 </div>
461 </div>
462 <hr>
463 <div class="refsect2">
464 <a name="hb-unicode-decompose-compatibility"></a><h3>hb_unicode_decompose_compatibility ()</h3>
465 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
466 hb_unicode_decompose_compatibility (<em class="parameter"><code><a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t" title="hb_unicode_funcs_t"><span class="type">hb_unicode_funcs_t</span></a> *ufuncs</code></em>,
467                                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> u</code></em>,
468                                     <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *decomposed</code></em>);</pre>
469 <div class="warning"><p><code class="literal">hb_unicode_decompose_compatibility</code> has been deprecated since version 2.0.0 and should not be used in newly-written code.</p></div>
470 <p>Fetches the compatibility decomposition of a Unicode
471 code point. Deprecated.</p>
472 <div class="refsect3">
473 <a name="hb-unicode-decompose-compatibility.parameters"></a><h4>Parameters</h4>
474 <div class="informaltable"><table class="informaltable" width="100%" border="0">
475 <colgroup>
476 <col width="150px" class="parameters_name">
477 <col class="parameters_description">
478 <col width="200px" class="parameters_annotations">
479 </colgroup>
480 <tbody>
481 <tr>
482 <td class="parameter_name"><p>ufuncs</p></td>
483 <td class="parameter_description"><p>The Unicode-functions structure</p></td>
484 <td class="parameter_annotations"> </td>
485 </tr>
486 <tr>
487 <td class="parameter_name"><p>u</p></td>
488 <td class="parameter_description"><p>Code point to decompose</p></td>
489 <td class="parameter_annotations"> </td>
490 </tr>
491 <tr>
492 <td class="parameter_name"><p>decomposed</p></td>
493 <td class="parameter_description"><p>Compatibility decomposition of <em class="parameter"><code>u</code></em>
494 . </p></td>
495 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
496 </tr>
497 </tbody>
498 </table></div>
499 </div>
500 <div class="refsect3">
501 <a name="hb-unicode-decompose-compatibility.returns"></a><h4>Returns</h4>
502 <p> length of <em class="parameter"><code>decomposed</code></em>
503 .</p>
504 </div>
505 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
506 </div>
507 <hr>
508 <div class="refsect2">
509 <a name="hb-unicode-funcs-set-decompose-compatibility-func"></a><h3>hb_unicode_funcs_set_decompose_compatibility_func ()</h3>
510 <pre class="programlisting"><span class="returnvalue">void</span>
511 hb_unicode_funcs_set_decompose_compatibility_func
512                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-unicode.html#hb-unicode-funcs-t" title="hb_unicode_funcs_t"><span class="type">hb_unicode_funcs_t</span></a> *ufuncs</code></em>,
513                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-deprecated.html#hb-unicode-decompose-compatibility-func-t" title="hb_unicode_decompose_compatibility_func_t ()"><span class="type">hb_unicode_decompose_compatibility_func_t</span></a> func</code></em>,
514                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
515                                 <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>
516 <div class="warning"><p><code class="literal">hb_unicode_funcs_set_decompose_compatibility_func</code> has been deprecated since version 2.0.0 and should not be used in newly-written code.</p></div>
517 <p>Sets the implementation function for <a class="link" href="harfbuzz-hb-deprecated.html#hb-unicode-decompose-compatibility-func-t" title="hb_unicode_decompose_compatibility_func_t ()"><span class="type">hb_unicode_decompose_compatibility_func_t</span></a>.</p>
518 <div class="refsect3">
519 <a name="hb-unicode-funcs-set-decompose-compatibility-func.parameters"></a><h4>Parameters</h4>
520 <div class="informaltable"><table class="informaltable" width="100%" border="0">
521 <colgroup>
522 <col width="150px" class="parameters_name">
523 <col class="parameters_description">
524 <col width="200px" class="parameters_annotations">
525 </colgroup>
526 <tbody>
527 <tr>
528 <td class="parameter_name"><p>ufuncs</p></td>
529 <td class="parameter_description"><p>A Unicode-functions structure</p></td>
530 <td class="parameter_annotations"> </td>
531 </tr>
532 <tr>
533 <td class="parameter_name"><p>func</p></td>
534 <td class="parameter_description"><p>The callback function to assign. </p></td>
535 <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>
536 </tr>
537 <tr>
538 <td class="parameter_name"><p>user_data</p></td>
539 <td class="parameter_description"><p>Data to pass to <em class="parameter"><code>func</code></em>
540 </p></td>
541 <td class="parameter_annotations"> </td>
542 </tr>
543 <tr>
544 <td class="parameter_name"><p>destroy</p></td>
545 <td class="parameter_description"><p>The function to call when <em class="parameter"><code>user_data</code></em>
546 is not needed anymore. </p></td>
547 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
548 </tr>
549 </tbody>
550 </table></div>
551 </div>
552 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
553 </div>
554 <hr>
555 <div class="refsect2">
556 <a name="hb-font-funcs-set-glyph-v-kerning-func"></a><h3>hb_font_funcs_set_glyph_v_kerning_func ()</h3>
557 <pre class="programlisting"><span class="returnvalue">void</span>
558 hb_font_funcs_set_glyph_v_kerning_func
559                                (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t" title="hb_font_funcs_t"><span class="type">hb_font_funcs_t</span></a> *ffuncs</code></em>,
560                                 <em class="parameter"><code><a class="link" href="harfbuzz-hb-deprecated.html#hb-font-get-glyph-v-kerning-func-t" title="hb_font_get_glyph_v_kerning_func_t"><span class="type">hb_font_get_glyph_v_kerning_func_t</span></a> func</code></em>,
561                                 <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
562                                 <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>
563 <div class="warning"><p><code class="literal">hb_font_funcs_set_glyph_v_kerning_func</code> has been deprecated since version 2.0.0 and should not be used in newly-written code.</p></div>
564 <p>Sets the implementation function for <a class="link" href="harfbuzz-hb-deprecated.html#hb-font-get-glyph-v-kerning-func-t" title="hb_font_get_glyph_v_kerning_func_t"><span class="type">hb_font_get_glyph_v_kerning_func_t</span></a>.</p>
565 <div class="refsect3">
566 <a name="hb-font-funcs-set-glyph-v-kerning-func.parameters"></a><h4>Parameters</h4>
567 <div class="informaltable"><table class="informaltable" width="100%" border="0">
568 <colgroup>
569 <col width="150px" class="parameters_name">
570 <col class="parameters_description">
571 <col width="200px" class="parameters_annotations">
572 </colgroup>
573 <tbody>
574 <tr>
575 <td class="parameter_name"><p>ffuncs</p></td>
576 <td class="parameter_description"><p>A font-function structure</p></td>
577 <td class="parameter_annotations"> </td>
578 </tr>
579 <tr>
580 <td class="parameter_name"><p>func</p></td>
581 <td class="parameter_description"><p>The callback function to assign. </p></td>
582 <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>
583 </tr>
584 <tr>
585 <td class="parameter_name"><p>user_data</p></td>
586 <td class="parameter_description"><p>Data to pass to <em class="parameter"><code>func</code></em>
587 </p></td>
588 <td class="parameter_annotations"> </td>
589 </tr>
590 <tr>
591 <td class="parameter_name"><p>destroy</p></td>
592 <td class="parameter_description"><p>The function to call when <em class="parameter"><code>user_data</code></em>
593 is not needed anymore. </p></td>
594 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
595 </tr>
596 </tbody>
597 </table></div>
598 </div>
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>
600 </div>
601 <hr>
602 <div class="refsect2">
603 <a name="hb-font-get-glyph-v-kerning"></a><h3>hb_font_get_glyph_v_kerning ()</h3>
604 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
605 hb_font_get_glyph_v_kerning (<em class="parameter"><code><a class="link" href="harfbuzz-hb-font.html#hb-font-t" title="hb_font_t"><span class="type">hb_font_t</span></a> *font</code></em>,
606                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> top_glyph</code></em>,
607                              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> bottom_glyph</code></em>);</pre>
608 <div class="warning"><p><code class="literal">hb_font_get_glyph_v_kerning</code> has been deprecated since version 2.0.0 and should not be used in newly-written code.</p></div>
609 <p>Fetches the kerning-adjustment value for a glyph-pair in
610 the specified font, for vertical text segments.</p>
611 <div class="note">It handles legacy kerning only (as returned by the corresponding
612 <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t" title="hb_font_funcs_t"><span class="type">hb_font_funcs_t</span></a> function).</div>
613 <div class="refsect3">
614 <a name="hb-font-get-glyph-v-kerning.parameters"></a><h4>Parameters</h4>
615 <div class="informaltable"><table class="informaltable" width="100%" border="0">
616 <colgroup>
617 <col width="150px" class="parameters_name">
618 <col class="parameters_description">
619 <col width="200px" class="parameters_annotations">
620 </colgroup>
621 <tbody>
622 <tr>
623 <td class="parameter_name"><p>font</p></td>
624 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-font.html#hb-font-t" title="hb_font_t"><span class="type">hb_font_t</span></a> to work upon</p></td>
625 <td class="parameter_annotations"> </td>
626 </tr>
627 <tr>
628 <td class="parameter_name"><p>top_glyph</p></td>
629 <td class="parameter_description"><p>The glyph ID of the top glyph in the glyph pair</p></td>
630 <td class="parameter_annotations"> </td>
631 </tr>
632 <tr>
633 <td class="parameter_name"><p>bottom_glyph</p></td>
634 <td class="parameter_description"><p>The glyph ID of the bottom glyph in the glyph pair</p></td>
635 <td class="parameter_annotations"> </td>
636 </tr>
637 </tbody>
638 </table></div>
639 </div>
640 <div class="refsect3">
641 <a name="hb-font-get-glyph-v-kerning.returns"></a><h4>Returns</h4>
642 <p> The kerning adjustment value</p>
643 </div>
644 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
645 </div>
646 </div>
647 <div class="refsect1">
648 <a name="harfbuzz-hb-deprecated.other_details"></a><h2>Types and Values</h2>
649 <div class="refsect2">
650 <a name="HB-BUFFER-FLAGS-DEFAULT:CAPS"></a><h3>HB_BUFFER_FLAGS_DEFAULT</h3>
651 <pre class="programlisting">#define HB_BUFFER_FLAGS_DEFAULT                     HB_BUFFER_FLAG_DEFAULT
652 </pre>
653 <div class="warning"><p><code class="literal">HB_BUFFER_FLAGS_DEFAULT</code> has been deprecated since version 0.9.20 and should not be used in newly-written code.</p></div>
654 <p>Use <a class="link" href="harfbuzz-hb-buffer.html#HB-BUFFER-FLAG-DEFAULT:CAPS"><span class="type">HB_BUFFER_FLAG_DEFAULT</span></a> instead.</p>
655 </div>
656 <hr>
657 <div class="refsect2">
658 <a name="HB-BUFFER-SERIALIZE-FLAGS-DEFAULT:CAPS"></a><h3>HB_BUFFER_SERIALIZE_FLAGS_DEFAULT</h3>
659 <pre class="programlisting">#define HB_BUFFER_SERIALIZE_FLAGS_DEFAULT HB_BUFFER_SERIALIZE_FLAG_DEFAULT
660 </pre>
661 <div class="warning"><p><code class="literal">HB_BUFFER_SERIALIZE_FLAGS_DEFAULT</code> has been deprecated since version 0.9.20 and should not be used in newly-written code.</p></div>
662 <p>Use <a class="link" href="harfbuzz-hb-buffer.html#HB-BUFFER-SERIALIZE-FLAG-DEFAULT:CAPS"><span class="type">HB_BUFFER_SERIALIZE_FLAG_DEFAULT</span></a> instead.</p>
663 </div>
664 <hr>
665 <div class="refsect2">
666 <a name="HB-SCRIPT-CANADIAN-ABORIGINAL:CAPS"></a><h3>HB_SCRIPT_CANADIAN_ABORIGINAL</h3>
667 <pre class="programlisting">#define HB_SCRIPT_CANADIAN_ABORIGINAL               HB_SCRIPT_CANADIAN_SYLLABICS
668 </pre>
669 <div class="warning"><p><code class="literal">HB_SCRIPT_CANADIAN_ABORIGINAL</code> has been deprecated since version 0.9.20 and should not be used in newly-written code.</p></div>
670 <p>Use <a class="link" href="harfbuzz-hb-common.html#HB-SCRIPT-CANADIAN-SYLLABICS:CAPS"><span class="type">HB_SCRIPT_CANADIAN_SYLLABICS</span></a> instead:</p>
671 </div>
672 <hr>
673 <div class="refsect2">
674 <a name="HB-MATH-GLYPH-PART-FLAG-EXTENDER:CAPS"></a><h3>HB_MATH_GLYPH_PART_FLAG_EXTENDER</h3>
675 <pre class="programlisting">#define HB_MATH_GLYPH_PART_FLAG_EXTENDER HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER
676 </pre>
677 <div class="warning"><p><code class="literal">HB_MATH_GLYPH_PART_FLAG_EXTENDER</code> has been deprecated since version 2.5.1 and should not be used in newly-written code.</p></div>
678 <p>Use <a class="link" href="harfbuzz-hb-ot-math.html#HB-OT-MATH-GLYPH-PART-FLAG-EXTENDER:CAPS"><span class="type">HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER</span></a> instead.</p>
679 </div>
680 <hr>
681 <div class="refsect2">
682 <a name="HB-OT-MATH-SCRIPT:CAPS"></a><h3>HB_OT_MATH_SCRIPT</h3>
683 <pre class="programlisting">#define HB_OT_MATH_SCRIPT HB_OT_TAG_MATH_SCRIPT
684 </pre>
685 <div class="warning"><p><code class="literal">HB_OT_MATH_SCRIPT</code> has been deprecated since version 3.4.0 and should not be used in newly-written code.</p></div>
686 <p>Use <a class="link" href="harfbuzz-hb-common.html#HB-SCRIPT-MATH:CAPS"><span class="type">HB_SCRIPT_MATH</span></a> or <a class="link" href="harfbuzz-hb-ot-math.html#HB-OT-TAG-MATH-SCRIPT:CAPS" title="HB_OT_TAG_MATH_SCRIPT"><span class="type">HB_OT_TAG_MATH_SCRIPT</span></a> instead.</p>
687 <div class="note">Previous versions of this documentation recommended passing
688 <a class="link" href="harfbuzz-hb-deprecated.html#HB-OT-MATH-SCRIPT:CAPS" title="HB_OT_MATH_SCRIPT"><span class="type">HB_OT_MATH_SCRIPT</span></a> to <a class="link" href="harfbuzz-hb-buffer.html#hb-buffer-set-script" title="hb_buffer_set_script ()"><code class="function">hb_buffer_set_script()</code></a> to enable math shaping, but this
689 usage is no longer supported. Use <a class="link" href="harfbuzz-hb-common.html#HB-SCRIPT-MATH:CAPS"><span class="type">HB_SCRIPT_MATH</span></a> instead.</div>
690 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
691 </div>
692 <hr>
693 <div class="refsect2">
694 <a name="HB-OT-VAR-NO-AXIS-INDEX:CAPS"></a><h3>HB_OT_VAR_NO_AXIS_INDEX</h3>
695 <pre class="programlisting">#define HB_OT_VAR_NO_AXIS_INDEX             0xFFFFFFFFu
696 </pre>
697 <div class="warning"><p><code class="literal">HB_OT_VAR_NO_AXIS_INDEX</code> has been deprecated since version 2.2.0 and should not be used in newly-written code.</p></div>
698 <p>Do not use.</p>
699 <p class="since">Since: <a class="link" href="api-index-1-4-2.html#api-index-1.4.2">1.4.2</a></p>
700 </div>
701 <hr>
702 <div class="refsect2">
703 <a name="hb-ot-var-axis-t"></a><h3>hb_ot_var_axis_t</h3>
704 <pre class="programlisting">typedef struct {
705   hb_tag_t tag;
706   hb_ot_name_id_t name_id;
707   float min_value;
708   float default_value;
709   float max_value;
710 } hb_ot_var_axis_t;
711 </pre>
712 <div class="warning"><p><code class="literal">hb_ot_var_axis_t</code> has been deprecated since version 2.2.0 and should not be used in newly-written code.</p></div>
713 <p>Use <a class="link" href="harfbuzz-hb-ot-var.html#hb-ot-var-axis-info-t" title="hb_ot_var_axis_info_t"><span class="type">hb_ot_var_axis_info_t</span></a> instead.</p>
714 <div class="refsect3">
715 <a name="hb-ot-var-axis-t.members"></a><h4>Members</h4>
716 <div class="informaltable"><table class="informaltable" width="100%" border="0">
717 <colgroup>
718 <col width="300px" class="struct_members_name">
719 <col class="struct_members_description">
720 <col width="200px" class="struct_members_annotations">
721 </colgroup>
722 <tbody>
723 <tr>
724 <td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-common.html#hb-tag-t" title="hb_tag_t"><span class="type">hb_tag_t</span></a> <em class="structfield"><code><a name="hb-ot-var-axis-t.tag"></a>tag</code></em>;</p></td>
725 <td class="struct_member_description"><p>axis tag</p></td>
726 <td class="struct_member_annotations"> </td>
727 </tr>
728 <tr>
729 <td class="struct_member_name"><p><a class="link" href="harfbuzz-hb-ot-name.html#hb-ot-name-id-t" title="hb_ot_name_id_t"><span class="type">hb_ot_name_id_t</span></a> <em class="structfield"><code><a name="hb-ot-var-axis-t.name-id"></a>name_id</code></em>;</p></td>
730 <td class="struct_member_description"><p>axis name identifier</p></td>
731 <td class="struct_member_annotations"> </td>
732 </tr>
733 <tr>
734 <td class="struct_member_name"><p><span class="type">float</span> <em class="structfield"><code><a name="hb-ot-var-axis-t.min-value"></a>min_value</code></em>;</p></td>
735 <td class="struct_member_description"><p>minimum value of the axis</p></td>
736 <td class="struct_member_annotations"> </td>
737 </tr>
738 <tr>
739 <td class="struct_member_name"><p><span class="type">float</span> <em class="structfield"><code><a name="hb-ot-var-axis-t.default-value"></a>default_value</code></em>;</p></td>
740 <td class="struct_member_description"><p>default value of the axis</p></td>
741 <td class="struct_member_annotations"> </td>
742 </tr>
743 <tr>
744 <td class="struct_member_name"><p><span class="type">float</span> <em class="structfield"><code><a name="hb-ot-var-axis-t.max-value"></a>max_value</code></em>;</p></td>
745 <td class="struct_member_description"><p>maximum value of the axis</p></td>
746 <td class="struct_member_annotations"> </td>
747 </tr>
748 </tbody>
749 </table></div>
750 </div>
751 <p class="since">Since: <a class="link" href="api-index-1-4-2.html#api-index-1.4.2">1.4.2</a></p>
752 </div>
753 <hr>
754 <div class="refsect2">
755 <a name="HB-UNICODE-MAX-DECOMPOSITION-LEN:CAPS"></a><h3>HB_UNICODE_MAX_DECOMPOSITION_LEN</h3>
756 <pre class="programlisting">#define HB_UNICODE_MAX_DECOMPOSITION_LEN (18+1) /* codepoints */
757 </pre>
758 <div class="warning"><p><code class="literal">HB_UNICODE_MAX_DECOMPOSITION_LEN</code> has been deprecated since version 2.0.0 and should not be used in newly-written code.</p></div>
759 <p>See Unicode 6.1 for details on the maximum decomposition length.</p>
760 </div>
761 <hr>
762 <div class="refsect2">
763 <a name="hb-font-get-glyph-v-kerning-func-t"></a><h3>hb_font_get_glyph_v_kerning_func_t</h3>
764 <pre class="programlisting">typedef hb_font_get_glyph_kerning_func_t hb_font_get_glyph_v_kerning_func_t;
765 </pre>
766 <div class="warning"><p><code class="literal">hb_font_get_glyph_v_kerning_func_t</code> is deprecated and should not be used in newly-written code.</p></div>
767 <p>A virtual method for the <a class="link" href="harfbuzz-hb-font.html#hb-font-funcs-t" title="hb_font_funcs_t"><span class="type">hb_font_funcs_t</span></a> of an <a class="link" href="harfbuzz-hb-font.html#hb-font-t" title="hb_font_t"><span class="type">hb_font_t</span></a> object.</p>
768 <p>This method should retrieve the kerning-adjustment value for a glyph-pair in
769 the specified font, for vertical text segments.</p>
770 </div>
771 </div>
772 </div>
773 <div class="footer">
774 <hr>Generated by GTK-Doc V1.32</div>
775 </body>
776 </html>