Imported Upstream version 2.4.0
[platform/upstream/harfbuzz.git] / docs / html / harfbuzz-hb-ot-math.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-ot-math: HarfBuzz Manual</title>
6 <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
7 <link rel="home" href="index.html" title="HarfBuzz Manual">
8 <link rel="up" href="ch10.html" title="OpenType API">
9 <link rel="prev" href="harfbuzz-hb-ot-layout.html" title="hb-ot-layout">
10 <link rel="next" href="harfbuzz-hb-ot-name.html" title="hb-ot-name">
11 <meta name="generator" content="GTK-Doc V1.29 (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-ot-math.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="ch10.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22 <td><a accesskey="p" href="harfbuzz-hb-ot-layout.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23 <td><a accesskey="n" href="harfbuzz-hb-ot-name.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-ot-math"></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-ot-math.top_of_page"></a>hb-ot-math</span></h2>
30 <p>hb-ot-math — OpenType Math information</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-ot-math.functions"></a><h2>Functions</h2>
36 <div class="informaltable"><table class="informaltable" width="100%" border="0">
37 <colgroup>
38 <col width="150px" class="functions_return">
39 <col class="functions_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 <a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-has-data" title="hb_ot_math_has_data ()">hb_ot_math_has_data</a> <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-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
53 </td>
54 <td class="function_name">
55 <a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-get-constant" title="hb_ot_math_get_constant ()">hb_ot_math_get_constant</a> <span class="c_punctuation">()</span>
56 </td>
57 </tr>
58 <tr>
59 <td class="function_type">
60 <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
61 </td>
62 <td class="function_name">
63 <a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-get-glyph-italics-correction" title="hb_ot_math_get_glyph_italics_correction ()">hb_ot_math_get_glyph_italics_correction</a> <span class="c_punctuation">()</span>
64 </td>
65 </tr>
66 <tr>
67 <td class="function_type">
68 <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
69 </td>
70 <td class="function_name">
71 <a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-get-glyph-top-accent-attachment" title="hb_ot_math_get_glyph_top_accent_attachment ()">hb_ot_math_get_glyph_top_accent_attachment</a> <span class="c_punctuation">()</span>
72 </td>
73 </tr>
74 <tr>
75 <td class="function_type">
76 <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
77 </td>
78 <td class="function_name">
79 <a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-get-glyph-kerning" title="hb_ot_math_get_glyph_kerning ()">hb_ot_math_get_glyph_kerning</a> <span class="c_punctuation">()</span>
80 </td>
81 </tr>
82 <tr>
83 <td class="function_type">
84 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
85 </td>
86 <td class="function_name">
87 <a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-is-glyph-extended-shape" title="hb_ot_math_is_glyph_extended_shape ()">hb_ot_math_is_glyph_extended_shape</a> <span class="c_punctuation">()</span>
88 </td>
89 </tr>
90 <tr>
91 <td class="function_type">unsigned <span class="returnvalue">int</span>
92 </td>
93 <td class="function_name">
94 <a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-get-glyph-variants" title="hb_ot_math_get_glyph_variants ()">hb_ot_math_get_glyph_variants</a> <span class="c_punctuation">()</span>
95 </td>
96 </tr>
97 <tr>
98 <td class="function_type">
99 <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="returnvalue">hb_position_t</span></a>
100 </td>
101 <td class="function_name">
102 <a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-get-min-connector-overlap" title="hb_ot_math_get_min_connector_overlap ()">hb_ot_math_get_min_connector_overlap</a> <span class="c_punctuation">()</span>
103 </td>
104 </tr>
105 <tr>
106 <td class="function_type">unsigned <span class="returnvalue">int</span>
107 </td>
108 <td class="function_name">
109 <a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-get-glyph-assembly" title="hb_ot_math_get_glyph_assembly ()">hb_ot_math_get_glyph_assembly</a> <span class="c_punctuation">()</span>
110 </td>
111 </tr>
112 </tbody>
113 </table></div>
114 </div>
115 <div class="refsect1">
116 <a name="harfbuzz-hb-ot-math.other"></a><h2>Types and Values</h2>
117 <div class="informaltable"><table class="informaltable" width="100%" border="0">
118 <colgroup>
119 <col width="150px" class="name">
120 <col class="description">
121 </colgroup>
122 <tbody>
123 <tr>
124 <td class="define_keyword">#define</td>
125 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-math.html#HB-OT-TAG-MATH:CAPS" title="HB_OT_TAG_MATH">HB_OT_TAG_MATH</a></td>
126 </tr>
127 <tr>
128 <td class="define_keyword">#define</td>
129 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-math.html#HB-OT-MATH-SCRIPT:CAPS" title="HB_OT_MATH_SCRIPT">HB_OT_MATH_SCRIPT</a></td>
130 </tr>
131 <tr>
132 <td class="datatype_keyword">enum</td>
133 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-constant-t" title="enum hb_ot_math_constant_t">hb_ot_math_constant_t</a></td>
134 </tr>
135 <tr>
136 <td class="datatype_keyword">enum</td>
137 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-kern-t" title="enum hb_ot_math_kern_t">hb_ot_math_kern_t</a></td>
138 </tr>
139 <tr>
140 <td class="datatype_keyword"> </td>
141 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-glyph-variant-t" title="hb_ot_math_glyph_variant_t">hb_ot_math_glyph_variant_t</a></td>
142 </tr>
143 <tr>
144 <td class="datatype_keyword">enum</td>
145 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-glyph-part-flags-t" title="enum hb_ot_math_glyph_part_flags_t">hb_ot_math_glyph_part_flags_t</a></td>
146 </tr>
147 <tr>
148 <td class="datatype_keyword"> </td>
149 <td class="function_name"><a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-glyph-part-t" title="hb_ot_math_glyph_part_t">hb_ot_math_glyph_part_t</a></td>
150 </tr>
151 </tbody>
152 </table></div>
153 </div>
154 <div class="refsect1">
155 <a name="harfbuzz-hb-ot-math.includes"></a><h2>Includes</h2>
156 <pre class="synopsis">#include &lt;hb-ot.h&gt;
157 </pre>
158 </div>
159 <div class="refsect1">
160 <a name="harfbuzz-hb-ot-math.description"></a><h2>Description</h2>
161 <p>Functions for fetching mathematics layout data from OpenType fonts.</p>
162 </div>
163 <div class="refsect1">
164 <a name="harfbuzz-hb-ot-math.functions_details"></a><h2>Functions</h2>
165 <div class="refsect2">
166 <a name="hb-ot-math-has-data"></a><h3>hb_ot_math_has_data ()</h3>
167 <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>
168 hb_ot_math_has_data (<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>);</pre>
169 <p>This function allows to verify the presence of an OpenType MATH table on the
170 face.</p>
171 <div class="refsect3">
172 <a name="hb-ot-math-has-data.parameters"></a><h4>Parameters</h4>
173 <div class="informaltable"><table class="informaltable" width="100%" border="0">
174 <colgroup>
175 <col width="150px" class="parameters_name">
176 <col class="parameters_description">
177 <col width="200px" class="parameters_annotations">
178 </colgroup>
179 <tbody><tr>
180 <td class="parameter_name"><p>face</p></td>
181 <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 test</p></td>
182 <td class="parameter_annotations"> </td>
183 </tr></tbody>
184 </table></div>
185 </div>
186 <div class="refsect3">
187 <a name="hb-ot-math-has-data.returns"></a><h4>Returns</h4>
188 <p> true if face has a MATH table, false otherwise</p>
189 </div>
190 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
191 </div>
192 <hr>
193 <div class="refsect2">
194 <a name="hb-ot-math-get-constant"></a><h3>hb_ot_math_get_constant ()</h3>
195 <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>
196 hb_ot_math_get_constant (<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>,
197                          <em class="parameter"><code><a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-constant-t" title="enum hb_ot_math_constant_t"><span class="type">hb_ot_math_constant_t</span></a> constant</code></em>);</pre>
198 <p>This function returns the requested math constants as a <a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a>.
199 If the request constant is HB_OT_MATH_CONSTANT_SCRIPT_PERCENT_SCALE_DOWN,
200 HB_OT_MATH_CONSTANT_SCRIPT_SCRIPT_PERCENT_SCALE_DOWN or
201 HB_OT_MATH_CONSTANT_SCRIPT_PERCENT_SCALE_DOWN then the return value is
202 actually an integer between 0 and 100 representing that percentage.</p>
203 <div class="refsect3">
204 <a name="hb-ot-math-get-constant.parameters"></a><h4>Parameters</h4>
205 <div class="informaltable"><table class="informaltable" width="100%" border="0">
206 <colgroup>
207 <col width="150px" class="parameters_name">
208 <col class="parameters_description">
209 <col width="200px" class="parameters_annotations">
210 </colgroup>
211 <tbody>
212 <tr>
213 <td class="parameter_name"><p>font</p></td>
214 <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> from which to retrieve the value</p></td>
215 <td class="parameter_annotations"> </td>
216 </tr>
217 <tr>
218 <td class="parameter_name"><p>constant</p></td>
219 <td class="parameter_description"><p><a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-constant-t" title="enum hb_ot_math_constant_t"><span class="type">hb_ot_math_constant_t</span></a> the constant to retrieve</p></td>
220 <td class="parameter_annotations"> </td>
221 </tr>
222 </tbody>
223 </table></div>
224 </div>
225 <div class="refsect3">
226 <a name="hb-ot-math-get-constant.returns"></a><h4>Returns</h4>
227 <p> the requested constant or 0</p>
228 </div>
229 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
230 </div>
231 <hr>
232 <div class="refsect2">
233 <a name="hb-ot-math-get-glyph-italics-correction"></a><h3>hb_ot_math_get_glyph_italics_correction ()</h3>
234 <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>
235 hb_ot_math_get_glyph_italics_correction
236                                (<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>,
237                                 <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>);</pre>
238 <div class="refsect3">
239 <a name="hb-ot-math-get-glyph-italics-correction.parameters"></a><h4>Parameters</h4>
240 <div class="informaltable"><table class="informaltable" width="100%" border="0">
241 <colgroup>
242 <col width="150px" class="parameters_name">
243 <col class="parameters_description">
244 <col width="200px" class="parameters_annotations">
245 </colgroup>
246 <tbody>
247 <tr>
248 <td class="parameter_name"><p>font</p></td>
249 <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> from which to retrieve the value</p></td>
250 <td class="parameter_annotations"> </td>
251 </tr>
252 <tr>
253 <td class="parameter_name"><p>glyph</p></td>
254 <td class="parameter_description"><p>glyph index from which to retrieve the value</p></td>
255 <td class="parameter_annotations"> </td>
256 </tr>
257 </tbody>
258 </table></div>
259 </div>
260 <div class="refsect3">
261 <a name="hb-ot-math-get-glyph-italics-correction.returns"></a><h4>Returns</h4>
262 <p> the italics correction of the glyph or 0</p>
263 </div>
264 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
265 </div>
266 <hr>
267 <div class="refsect2">
268 <a name="hb-ot-math-get-glyph-top-accent-attachment"></a><h3>hb_ot_math_get_glyph_top_accent_attachment ()</h3>
269 <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>
270 hb_ot_math_get_glyph_top_accent_attachment
271                                (<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>,
272                                 <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>);</pre>
273 <div class="refsect3">
274 <a name="hb-ot-math-get-glyph-top-accent-attachment.parameters"></a><h4>Parameters</h4>
275 <div class="informaltable"><table class="informaltable" width="100%" border="0">
276 <colgroup>
277 <col width="150px" class="parameters_name">
278 <col class="parameters_description">
279 <col width="200px" class="parameters_annotations">
280 </colgroup>
281 <tbody>
282 <tr>
283 <td class="parameter_name"><p>font</p></td>
284 <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> from which to retrieve the value</p></td>
285 <td class="parameter_annotations"> </td>
286 </tr>
287 <tr>
288 <td class="parameter_name"><p>glyph</p></td>
289 <td class="parameter_description"><p>glyph index from which to retrieve the value</p></td>
290 <td class="parameter_annotations"> </td>
291 </tr>
292 </tbody>
293 </table></div>
294 </div>
295 <div class="refsect3">
296 <a name="hb-ot-math-get-glyph-top-accent-attachment.returns"></a><h4>Returns</h4>
297 <p> the top accent attachment of the glyph or 0</p>
298 </div>
299 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
300 </div>
301 <hr>
302 <div class="refsect2">
303 <a name="hb-ot-math-get-glyph-kerning"></a><h3>hb_ot_math_get_glyph_kerning ()</h3>
304 <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>
305 hb_ot_math_get_glyph_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>,
306                               <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>,
307                               <em class="parameter"><code><a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-kern-t" title="enum hb_ot_math_kern_t"><span class="type">hb_ot_math_kern_t</span></a> kern</code></em>,
308                               <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> correction_height</code></em>);</pre>
309 <p>This function tries to retrieve the MathKern table for the specified font,
310 glyph and <a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-kern-t" title="enum hb_ot_math_kern_t"><span class="type">hb_ot_math_kern_t</span></a>. Then it browses the list of heights from the
311 MathKern table to find one value that is greater or equal to specified
312 correction_height. If one is found the corresponding value from the list of
313 kerns is returned and otherwise the last kern value is returned.</p>
314 <div class="refsect3">
315 <a name="hb-ot-math-get-glyph-kerning.parameters"></a><h4>Parameters</h4>
316 <div class="informaltable"><table class="informaltable" width="100%" border="0">
317 <colgroup>
318 <col width="150px" class="parameters_name">
319 <col class="parameters_description">
320 <col width="200px" class="parameters_annotations">
321 </colgroup>
322 <tbody>
323 <tr>
324 <td class="parameter_name"><p>font</p></td>
325 <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> from which to retrieve the value</p></td>
326 <td class="parameter_annotations"> </td>
327 </tr>
328 <tr>
329 <td class="parameter_name"><p>glyph</p></td>
330 <td class="parameter_description"><p>glyph index from which to retrieve the value</p></td>
331 <td class="parameter_annotations"> </td>
332 </tr>
333 <tr>
334 <td class="parameter_name"><p>kern</p></td>
335 <td class="parameter_description"><p>the <a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-kern-t" title="enum hb_ot_math_kern_t"><span class="type">hb_ot_math_kern_t</span></a> from which to retrieve the value</p></td>
336 <td class="parameter_annotations"> </td>
337 </tr>
338 <tr>
339 <td class="parameter_name"><p>correction_height</p></td>
340 <td class="parameter_description"><p>the correction height to use to determine the kerning.</p></td>
341 <td class="parameter_annotations"> </td>
342 </tr>
343 </tbody>
344 </table></div>
345 </div>
346 <div class="refsect3">
347 <a name="hb-ot-math-get-glyph-kerning.returns"></a><h4>Returns</h4>
348 <p> requested kerning or 0</p>
349 </div>
350 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
351 </div>
352 <hr>
353 <div class="refsect2">
354 <a name="hb-ot-math-is-glyph-extended-shape"></a><h3>hb_ot_math_is_glyph_extended_shape ()</h3>
355 <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>
356 hb_ot_math_is_glyph_extended_shape (<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>,
357                                     <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>);</pre>
358 <div class="refsect3">
359 <a name="hb-ot-math-is-glyph-extended-shape.parameters"></a><h4>Parameters</h4>
360 <div class="informaltable"><table class="informaltable" width="100%" border="0">
361 <colgroup>
362 <col width="150px" class="parameters_name">
363 <col class="parameters_description">
364 <col width="200px" class="parameters_annotations">
365 </colgroup>
366 <tbody>
367 <tr>
368 <td class="parameter_name"><p>face</p></td>
369 <td class="parameter_description"><p>a <a class="link" href="harfbuzz-hb-face.html#hb-face-t" title="hb_face_t"><span class="type">hb_face_t</span></a> to test</p></td>
370 <td class="parameter_annotations"> </td>
371 </tr>
372 <tr>
373 <td class="parameter_name"><p>glyph</p></td>
374 <td class="parameter_description"><p>a glyph index to test</p></td>
375 <td class="parameter_annotations"> </td>
376 </tr>
377 </tbody>
378 </table></div>
379 </div>
380 <div class="refsect3">
381 <a name="hb-ot-math-is-glyph-extended-shape.returns"></a><h4>Returns</h4>
382 <p> true if the glyph is an extended shape, false otherwise</p>
383 </div>
384 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
385 </div>
386 <hr>
387 <div class="refsect2">
388 <a name="hb-ot-math-get-glyph-variants"></a><h3>hb_ot_math_get_glyph_variants ()</h3>
389 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
390 hb_ot_math_get_glyph_variants (<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>,
391                                <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>,
392                                <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>,
393                                <em class="parameter"><code>unsigned <span class="type">int</span> start_offset</code></em>,
394                                <em class="parameter"><code>unsigned <span class="type">int</span> *variants_count</code></em>,
395                                <em class="parameter"><code><a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-glyph-variant-t" title="hb_ot_math_glyph_variant_t"><span class="type">hb_ot_math_glyph_variant_t</span></a> *variants</code></em>);</pre>
396 <p>This function tries to retrieve the MathGlyphConstruction for the specified
397 font, glyph and direction. Note that only the value of
398 <a class="link" href="harfbuzz-hb-common.html#HB-DIRECTION-IS-HORIZONTAL:CAPS" title="HB_DIRECTION_IS_HORIZONTAL()"><span class="type">HB_DIRECTION_IS_HORIZONTAL</span></a> is considered. It provides the corresponding list
399 of size variants as an array of hb_ot_math_glyph_variant_t structs.</p>
400 <div class="refsect3">
401 <a name="hb-ot-math-get-glyph-variants.parameters"></a><h4>Parameters</h4>
402 <div class="informaltable"><table class="informaltable" 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>
409 <tr>
410 <td class="parameter_name"><p>font</p></td>
411 <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> from which to retrieve the values</p></td>
412 <td class="parameter_annotations"> </td>
413 </tr>
414 <tr>
415 <td class="parameter_name"><p>glyph</p></td>
416 <td class="parameter_description"><p>index of the glyph to stretch</p></td>
417 <td class="parameter_annotations"> </td>
418 </tr>
419 <tr>
420 <td class="parameter_name"><p>direction</p></td>
421 <td class="parameter_description"><p>direction of the stretching</p></td>
422 <td class="parameter_annotations"> </td>
423 </tr>
424 <tr>
425 <td class="parameter_name"><p>start_offset</p></td>
426 <td class="parameter_description"><p>offset of the first variant to retrieve</p></td>
427 <td class="parameter_annotations"> </td>
428 </tr>
429 <tr>
430 <td class="parameter_name"><p>variants_count</p></td>
431 <td class="parameter_description"><p>maximum number of variants to retrieve after start_offset
432 (IN) and actual number of variants retrieved (OUT)</p></td>
433 <td class="parameter_annotations"> </td>
434 </tr>
435 <tr>
436 <td class="parameter_name"><p>variants</p></td>
437 <td class="parameter_description"><p>array of size at least <em class="parameter"><code>variants_count</code></em>
438 to store the result</p></td>
439 <td class="parameter_annotations"> </td>
440 </tr>
441 </tbody>
442 </table></div>
443 </div>
444 <div class="refsect3">
445 <a name="hb-ot-math-get-glyph-variants.returns"></a><h4>Returns</h4>
446 <p> the total number of size variants available or 0</p>
447 </div>
448 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
449 </div>
450 <hr>
451 <div class="refsect2">
452 <a name="hb-ot-math-get-min-connector-overlap"></a><h3>hb_ot_math_get_min_connector_overlap ()</h3>
453 <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>
454 hb_ot_math_get_min_connector_overlap (<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>,
455                                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>);</pre>
456 <p>This function tries to retrieve the MathVariants table for the specified
457 font and returns the minimum overlap of connecting glyphs to draw a glyph
458 assembly in the specified direction. Note that only the value of
459 <a class="link" href="harfbuzz-hb-common.html#HB-DIRECTION-IS-HORIZONTAL:CAPS" title="HB_DIRECTION_IS_HORIZONTAL()"><span class="type">HB_DIRECTION_IS_HORIZONTAL</span></a> is considered.</p>
460 <div class="refsect3">
461 <a name="hb-ot-math-get-min-connector-overlap.parameters"></a><h4>Parameters</h4>
462 <div class="informaltable"><table class="informaltable" width="100%" border="0">
463 <colgroup>
464 <col width="150px" class="parameters_name">
465 <col class="parameters_description">
466 <col width="200px" class="parameters_annotations">
467 </colgroup>
468 <tbody>
469 <tr>
470 <td class="parameter_name"><p>font</p></td>
471 <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> from which to retrieve the value</p></td>
472 <td class="parameter_annotations"> </td>
473 </tr>
474 <tr>
475 <td class="parameter_name"><p>direction</p></td>
476 <td class="parameter_description"><p>direction of the stretching</p></td>
477 <td class="parameter_annotations"> </td>
478 </tr>
479 </tbody>
480 </table></div>
481 </div>
482 <div class="refsect3">
483 <a name="hb-ot-math-get-min-connector-overlap.returns"></a><h4>Returns</h4>
484 <p> requested min connector overlap or 0</p>
485 </div>
486 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
487 </div>
488 <hr>
489 <div class="refsect2">
490 <a name="hb-ot-math-get-glyph-assembly"></a><h3>hb_ot_math_get_glyph_assembly ()</h3>
491 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
492 hb_ot_math_get_glyph_assembly (<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>,
493                                <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>,
494                                <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-direction-t" title="enum hb_direction_t"><span class="type">hb_direction_t</span></a> direction</code></em>,
495                                <em class="parameter"><code>unsigned <span class="type">int</span> start_offset</code></em>,
496                                <em class="parameter"><code>unsigned <span class="type">int</span> *parts_count</code></em>,
497                                <em class="parameter"><code><a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-glyph-part-t" title="hb_ot_math_glyph_part_t"><span class="type">hb_ot_math_glyph_part_t</span></a> *parts</code></em>,
498                                <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-position-t" title="hb_position_t"><span class="type">hb_position_t</span></a> *italics_correction</code></em>);</pre>
499 <p>This function tries to retrieve the GlyphAssembly for the specified font,
500 glyph and direction. Note that only the value of <a class="link" href="harfbuzz-hb-common.html#HB-DIRECTION-IS-HORIZONTAL:CAPS" title="HB_DIRECTION_IS_HORIZONTAL()"><span class="type">HB_DIRECTION_IS_HORIZONTAL</span></a>
501 is considered. It provides the information necessary to draw the glyph
502 assembly as an array of <a class="link" href="harfbuzz-hb-ot-math.html#hb-ot-math-glyph-part-t" title="hb_ot_math_glyph_part_t"><span class="type">hb_ot_math_glyph_part_t</span></a>.</p>
503 <div class="refsect3">
504 <a name="hb-ot-math-get-glyph-assembly.parameters"></a><h4>Parameters</h4>
505 <div class="informaltable"><table class="informaltable" width="100%" border="0">
506 <colgroup>
507 <col width="150px" class="parameters_name">
508 <col class="parameters_description">
509 <col width="200px" class="parameters_annotations">
510 </colgroup>
511 <tbody>
512 <tr>
513 <td class="parameter_name"><p>font</p></td>
514 <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> from which to retrieve the values</p></td>
515 <td class="parameter_annotations"> </td>
516 </tr>
517 <tr>
518 <td class="parameter_name"><p>glyph</p></td>
519 <td class="parameter_description"><p>index of the glyph to stretch</p></td>
520 <td class="parameter_annotations"> </td>
521 </tr>
522 <tr>
523 <td class="parameter_name"><p>direction</p></td>
524 <td class="parameter_description"><p>direction of the stretching</p></td>
525 <td class="parameter_annotations"> </td>
526 </tr>
527 <tr>
528 <td class="parameter_name"><p>start_offset</p></td>
529 <td class="parameter_description"><p>offset of the first glyph part to retrieve</p></td>
530 <td class="parameter_annotations"> </td>
531 </tr>
532 <tr>
533 <td class="parameter_name"><p>parts_count</p></td>
534 <td class="parameter_description"><p>maximum number of glyph parts to retrieve after start_offset
535 (IN) and actual number of parts retrieved (OUT)</p></td>
536 <td class="parameter_annotations"> </td>
537 </tr>
538 <tr>
539 <td class="parameter_name"><p>parts</p></td>
540 <td class="parameter_description"><p>array of size at least <em class="parameter"><code>parts_count</code></em>
541 to store the result</p></td>
542 <td class="parameter_annotations"> </td>
543 </tr>
544 <tr>
545 <td class="parameter_name"><p>italics_correction</p></td>
546 <td class="parameter_description"><p>italic correction of the glyph assembly</p></td>
547 <td class="parameter_annotations"> </td>
548 </tr>
549 </tbody>
550 </table></div>
551 </div>
552 <div class="refsect3">
553 <a name="hb-ot-math-get-glyph-assembly.returns"></a><h4>Returns</h4>
554 <p> the total number of parts in the glyph assembly</p>
555 </div>
556 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
557 </div>
558 </div>
559 <div class="refsect1">
560 <a name="harfbuzz-hb-ot-math.other_details"></a><h2>Types and Values</h2>
561 <div class="refsect2">
562 <a name="HB-OT-TAG-MATH:CAPS"></a><h3>HB_OT_TAG_MATH</h3>
563 <pre class="programlisting">#define HB_OT_TAG_MATH HB_TAG('M','A','T','H')
564 </pre>
565 </div>
566 <hr>
567 <div class="refsect2">
568 <a name="HB-OT-MATH-SCRIPT:CAPS"></a><h3>HB_OT_MATH_SCRIPT</h3>
569 <pre class="programlisting">#define HB_OT_MATH_SCRIPT HB_TAG('m','a','t','h')
570 </pre>
571 </div>
572 <hr>
573 <div class="refsect2">
574 <a name="hb-ot-math-constant-t"></a><h3>enum hb_ot_math_constant_t</h3>
575 <div class="refsect3">
576 <a name="hb-ot-math-constant-t.members"></a><h4>Members</h4>
577 <div class="informaltable"><table class="informaltable" width="100%" border="0">
578 <colgroup>
579 <col width="300px" class="enum_members_name">
580 <col class="enum_members_description">
581 <col width="200px" class="enum_members_annotations">
582 </colgroup>
583 <tbody>
584 <tr>
585 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-SCRIPT-PERCENT-SCALE-DOWN:CAPS"></a>HB_OT_MATH_CONSTANT_SCRIPT_PERCENT_SCALE_DOWN</p></td>
586 <td> </td>
587 <td> </td>
588 </tr>
589 <tr>
590 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-SCRIPT-SCRIPT-PERCENT-SCALE-DOWN:CAPS"></a>HB_OT_MATH_CONSTANT_SCRIPT_SCRIPT_PERCENT_SCALE_DOWN</p></td>
591 <td> </td>
592 <td> </td>
593 </tr>
594 <tr>
595 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-DELIMITED-SUB-FORMULA-MIN-HEIGHT:CAPS"></a>HB_OT_MATH_CONSTANT_DELIMITED_SUB_FORMULA_MIN_HEIGHT</p></td>
596 <td> </td>
597 <td> </td>
598 </tr>
599 <tr>
600 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-DISPLAY-OPERATOR-MIN-HEIGHT:CAPS"></a>HB_OT_MATH_CONSTANT_DISPLAY_OPERATOR_MIN_HEIGHT</p></td>
601 <td> </td>
602 <td> </td>
603 </tr>
604 <tr>
605 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-MATH-LEADING:CAPS"></a>HB_OT_MATH_CONSTANT_MATH_LEADING</p></td>
606 <td> </td>
607 <td> </td>
608 </tr>
609 <tr>
610 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-AXIS-HEIGHT:CAPS"></a>HB_OT_MATH_CONSTANT_AXIS_HEIGHT</p></td>
611 <td> </td>
612 <td> </td>
613 </tr>
614 <tr>
615 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-ACCENT-BASE-HEIGHT:CAPS"></a>HB_OT_MATH_CONSTANT_ACCENT_BASE_HEIGHT</p></td>
616 <td> </td>
617 <td> </td>
618 </tr>
619 <tr>
620 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-FLATTENED-ACCENT-BASE-HEIGHT:CAPS"></a>HB_OT_MATH_CONSTANT_FLATTENED_ACCENT_BASE_HEIGHT</p></td>
621 <td> </td>
622 <td> </td>
623 </tr>
624 <tr>
625 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-SUBSCRIPT-SHIFT-DOWN:CAPS"></a>HB_OT_MATH_CONSTANT_SUBSCRIPT_SHIFT_DOWN</p></td>
626 <td> </td>
627 <td> </td>
628 </tr>
629 <tr>
630 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-SUBSCRIPT-TOP-MAX:CAPS"></a>HB_OT_MATH_CONSTANT_SUBSCRIPT_TOP_MAX</p></td>
631 <td> </td>
632 <td> </td>
633 </tr>
634 <tr>
635 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-SUBSCRIPT-BASELINE-DROP-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_SUBSCRIPT_BASELINE_DROP_MIN</p></td>
636 <td> </td>
637 <td> </td>
638 </tr>
639 <tr>
640 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-SUPERSCRIPT-SHIFT-UP:CAPS"></a>HB_OT_MATH_CONSTANT_SUPERSCRIPT_SHIFT_UP</p></td>
641 <td> </td>
642 <td> </td>
643 </tr>
644 <tr>
645 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-SUPERSCRIPT-SHIFT-UP-CRAMPED:CAPS"></a>HB_OT_MATH_CONSTANT_SUPERSCRIPT_SHIFT_UP_CRAMPED</p></td>
646 <td> </td>
647 <td> </td>
648 </tr>
649 <tr>
650 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-SUPERSCRIPT-BOTTOM-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_SUPERSCRIPT_BOTTOM_MIN</p></td>
651 <td> </td>
652 <td> </td>
653 </tr>
654 <tr>
655 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-SUPERSCRIPT-BASELINE-DROP-MAX:CAPS"></a>HB_OT_MATH_CONSTANT_SUPERSCRIPT_BASELINE_DROP_MAX</p></td>
656 <td> </td>
657 <td> </td>
658 </tr>
659 <tr>
660 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-SUB-SUPERSCRIPT-GAP-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_SUB_SUPERSCRIPT_GAP_MIN</p></td>
661 <td> </td>
662 <td> </td>
663 </tr>
664 <tr>
665 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-SUPERSCRIPT-BOTTOM-MAX-WITH-SUBSCRIPT:CAPS"></a>HB_OT_MATH_CONSTANT_SUPERSCRIPT_BOTTOM_MAX_WITH_SUBSCRIPT</p></td>
666 <td> </td>
667 <td> </td>
668 </tr>
669 <tr>
670 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-SPACE-AFTER-SCRIPT:CAPS"></a>HB_OT_MATH_CONSTANT_SPACE_AFTER_SCRIPT</p></td>
671 <td> </td>
672 <td> </td>
673 </tr>
674 <tr>
675 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-UPPER-LIMIT-GAP-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_UPPER_LIMIT_GAP_MIN</p></td>
676 <td> </td>
677 <td> </td>
678 </tr>
679 <tr>
680 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-UPPER-LIMIT-BASELINE-RISE-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_UPPER_LIMIT_BASELINE_RISE_MIN</p></td>
681 <td> </td>
682 <td> </td>
683 </tr>
684 <tr>
685 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-LOWER-LIMIT-GAP-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_LOWER_LIMIT_GAP_MIN</p></td>
686 <td> </td>
687 <td> </td>
688 </tr>
689 <tr>
690 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-LOWER-LIMIT-BASELINE-DROP-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_LOWER_LIMIT_BASELINE_DROP_MIN</p></td>
691 <td> </td>
692 <td> </td>
693 </tr>
694 <tr>
695 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-STACK-TOP-SHIFT-UP:CAPS"></a>HB_OT_MATH_CONSTANT_STACK_TOP_SHIFT_UP</p></td>
696 <td> </td>
697 <td> </td>
698 </tr>
699 <tr>
700 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-STACK-TOP-DISPLAY-STYLE-SHIFT-UP:CAPS"></a>HB_OT_MATH_CONSTANT_STACK_TOP_DISPLAY_STYLE_SHIFT_UP</p></td>
701 <td> </td>
702 <td> </td>
703 </tr>
704 <tr>
705 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-STACK-BOTTOM-SHIFT-DOWN:CAPS"></a>HB_OT_MATH_CONSTANT_STACK_BOTTOM_SHIFT_DOWN</p></td>
706 <td> </td>
707 <td> </td>
708 </tr>
709 <tr>
710 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-STACK-BOTTOM-DISPLAY-STYLE-SHIFT-DOWN:CAPS"></a>HB_OT_MATH_CONSTANT_STACK_BOTTOM_DISPLAY_STYLE_SHIFT_DOWN</p></td>
711 <td> </td>
712 <td> </td>
713 </tr>
714 <tr>
715 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-STACK-GAP-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_STACK_GAP_MIN</p></td>
716 <td> </td>
717 <td> </td>
718 </tr>
719 <tr>
720 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-STACK-DISPLAY-STYLE-GAP-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_STACK_DISPLAY_STYLE_GAP_MIN</p></td>
721 <td> </td>
722 <td> </td>
723 </tr>
724 <tr>
725 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-STRETCH-STACK-TOP-SHIFT-UP:CAPS"></a>HB_OT_MATH_CONSTANT_STRETCH_STACK_TOP_SHIFT_UP</p></td>
726 <td> </td>
727 <td> </td>
728 </tr>
729 <tr>
730 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-STRETCH-STACK-BOTTOM-SHIFT-DOWN:CAPS"></a>HB_OT_MATH_CONSTANT_STRETCH_STACK_BOTTOM_SHIFT_DOWN</p></td>
731 <td> </td>
732 <td> </td>
733 </tr>
734 <tr>
735 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-STRETCH-STACK-GAP-ABOVE-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_STRETCH_STACK_GAP_ABOVE_MIN</p></td>
736 <td> </td>
737 <td> </td>
738 </tr>
739 <tr>
740 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-STRETCH-STACK-GAP-BELOW-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_STRETCH_STACK_GAP_BELOW_MIN</p></td>
741 <td> </td>
742 <td> </td>
743 </tr>
744 <tr>
745 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-FRACTION-NUMERATOR-SHIFT-UP:CAPS"></a>HB_OT_MATH_CONSTANT_FRACTION_NUMERATOR_SHIFT_UP</p></td>
746 <td> </td>
747 <td> </td>
748 </tr>
749 <tr>
750 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-FRACTION-NUMERATOR-DISPLAY-STYLE-SHIFT-UP:CAPS"></a>HB_OT_MATH_CONSTANT_FRACTION_NUMERATOR_DISPLAY_STYLE_SHIFT_UP</p></td>
751 <td> </td>
752 <td> </td>
753 </tr>
754 <tr>
755 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-FRACTION-DENOMINATOR-SHIFT-DOWN:CAPS"></a>HB_OT_MATH_CONSTANT_FRACTION_DENOMINATOR_SHIFT_DOWN</p></td>
756 <td> </td>
757 <td> </td>
758 </tr>
759 <tr>
760 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-FRACTION-DENOMINATOR-DISPLAY-STYLE-SHIFT-DOWN:CAPS"></a>HB_OT_MATH_CONSTANT_FRACTION_DENOMINATOR_DISPLAY_STYLE_SHIFT_DOWN</p></td>
761 <td> </td>
762 <td> </td>
763 </tr>
764 <tr>
765 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-FRACTION-NUMERATOR-GAP-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_FRACTION_NUMERATOR_GAP_MIN</p></td>
766 <td> </td>
767 <td> </td>
768 </tr>
769 <tr>
770 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-FRACTION-NUM-DISPLAY-STYLE-GAP-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_FRACTION_NUM_DISPLAY_STYLE_GAP_MIN</p></td>
771 <td> </td>
772 <td> </td>
773 </tr>
774 <tr>
775 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-FRACTION-RULE-THICKNESS:CAPS"></a>HB_OT_MATH_CONSTANT_FRACTION_RULE_THICKNESS</p></td>
776 <td> </td>
777 <td> </td>
778 </tr>
779 <tr>
780 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-FRACTION-DENOMINATOR-GAP-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_FRACTION_DENOMINATOR_GAP_MIN</p></td>
781 <td> </td>
782 <td> </td>
783 </tr>
784 <tr>
785 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-FRACTION-DENOM-DISPLAY-STYLE-GAP-MIN:CAPS"></a>HB_OT_MATH_CONSTANT_FRACTION_DENOM_DISPLAY_STYLE_GAP_MIN</p></td>
786 <td> </td>
787 <td> </td>
788 </tr>
789 <tr>
790 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-SKEWED-FRACTION-HORIZONTAL-GAP:CAPS"></a>HB_OT_MATH_CONSTANT_SKEWED_FRACTION_HORIZONTAL_GAP</p></td>
791 <td> </td>
792 <td> </td>
793 </tr>
794 <tr>
795 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-SKEWED-FRACTION-VERTICAL-GAP:CAPS"></a>HB_OT_MATH_CONSTANT_SKEWED_FRACTION_VERTICAL_GAP</p></td>
796 <td> </td>
797 <td> </td>
798 </tr>
799 <tr>
800 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-OVERBAR-VERTICAL-GAP:CAPS"></a>HB_OT_MATH_CONSTANT_OVERBAR_VERTICAL_GAP</p></td>
801 <td> </td>
802 <td> </td>
803 </tr>
804 <tr>
805 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-OVERBAR-RULE-THICKNESS:CAPS"></a>HB_OT_MATH_CONSTANT_OVERBAR_RULE_THICKNESS</p></td>
806 <td> </td>
807 <td> </td>
808 </tr>
809 <tr>
810 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-OVERBAR-EXTRA-ASCENDER:CAPS"></a>HB_OT_MATH_CONSTANT_OVERBAR_EXTRA_ASCENDER</p></td>
811 <td> </td>
812 <td> </td>
813 </tr>
814 <tr>
815 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-UNDERBAR-VERTICAL-GAP:CAPS"></a>HB_OT_MATH_CONSTANT_UNDERBAR_VERTICAL_GAP</p></td>
816 <td> </td>
817 <td> </td>
818 </tr>
819 <tr>
820 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-UNDERBAR-RULE-THICKNESS:CAPS"></a>HB_OT_MATH_CONSTANT_UNDERBAR_RULE_THICKNESS</p></td>
821 <td> </td>
822 <td> </td>
823 </tr>
824 <tr>
825 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-UNDERBAR-EXTRA-DESCENDER:CAPS"></a>HB_OT_MATH_CONSTANT_UNDERBAR_EXTRA_DESCENDER</p></td>
826 <td> </td>
827 <td> </td>
828 </tr>
829 <tr>
830 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-RADICAL-VERTICAL-GAP:CAPS"></a>HB_OT_MATH_CONSTANT_RADICAL_VERTICAL_GAP</p></td>
831 <td> </td>
832 <td> </td>
833 </tr>
834 <tr>
835 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-RADICAL-DISPLAY-STYLE-VERTICAL-GAP:CAPS"></a>HB_OT_MATH_CONSTANT_RADICAL_DISPLAY_STYLE_VERTICAL_GAP</p></td>
836 <td> </td>
837 <td> </td>
838 </tr>
839 <tr>
840 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-RADICAL-RULE-THICKNESS:CAPS"></a>HB_OT_MATH_CONSTANT_RADICAL_RULE_THICKNESS</p></td>
841 <td> </td>
842 <td> </td>
843 </tr>
844 <tr>
845 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-RADICAL-EXTRA-ASCENDER:CAPS"></a>HB_OT_MATH_CONSTANT_RADICAL_EXTRA_ASCENDER</p></td>
846 <td> </td>
847 <td> </td>
848 </tr>
849 <tr>
850 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-RADICAL-KERN-BEFORE-DEGREE:CAPS"></a>HB_OT_MATH_CONSTANT_RADICAL_KERN_BEFORE_DEGREE</p></td>
851 <td> </td>
852 <td> </td>
853 </tr>
854 <tr>
855 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-RADICAL-KERN-AFTER-DEGREE:CAPS"></a>HB_OT_MATH_CONSTANT_RADICAL_KERN_AFTER_DEGREE</p></td>
856 <td> </td>
857 <td> </td>
858 </tr>
859 <tr>
860 <td class="enum_member_name"><p><a name="HB-OT-MATH-CONSTANT-RADICAL-DEGREE-BOTTOM-RAISE-PERCENT:CAPS"></a>HB_OT_MATH_CONSTANT_RADICAL_DEGREE_BOTTOM_RAISE_PERCENT</p></td>
861 <td> </td>
862 <td> </td>
863 </tr>
864 </tbody>
865 </table></div>
866 </div>
867 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
868 </div>
869 <hr>
870 <div class="refsect2">
871 <a name="hb-ot-math-kern-t"></a><h3>enum hb_ot_math_kern_t</h3>
872 <div class="refsect3">
873 <a name="hb-ot-math-kern-t.members"></a><h4>Members</h4>
874 <div class="informaltable"><table class="informaltable" width="100%" border="0">
875 <colgroup>
876 <col width="300px" class="enum_members_name">
877 <col class="enum_members_description">
878 <col width="200px" class="enum_members_annotations">
879 </colgroup>
880 <tbody>
881 <tr>
882 <td class="enum_member_name"><p><a name="HB-OT-MATH-KERN-TOP-RIGHT:CAPS"></a>HB_OT_MATH_KERN_TOP_RIGHT</p></td>
883 <td> </td>
884 <td> </td>
885 </tr>
886 <tr>
887 <td class="enum_member_name"><p><a name="HB-OT-MATH-KERN-TOP-LEFT:CAPS"></a>HB_OT_MATH_KERN_TOP_LEFT</p></td>
888 <td> </td>
889 <td> </td>
890 </tr>
891 <tr>
892 <td class="enum_member_name"><p><a name="HB-OT-MATH-KERN-BOTTOM-RIGHT:CAPS"></a>HB_OT_MATH_KERN_BOTTOM_RIGHT</p></td>
893 <td> </td>
894 <td> </td>
895 </tr>
896 <tr>
897 <td class="enum_member_name"><p><a name="HB-OT-MATH-KERN-BOTTOM-LEFT:CAPS"></a>HB_OT_MATH_KERN_BOTTOM_LEFT</p></td>
898 <td> </td>
899 <td> </td>
900 </tr>
901 </tbody>
902 </table></div>
903 </div>
904 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
905 </div>
906 <hr>
907 <div class="refsect2">
908 <a name="hb-ot-math-glyph-variant-t"></a><h3>hb_ot_math_glyph_variant_t</h3>
909 <pre class="programlisting">typedef struct {
910   hb_codepoint_t glyph;
911   hb_position_t advance;
912 } hb_ot_math_glyph_variant_t;
913 </pre>
914 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
915 </div>
916 <hr>
917 <div class="refsect2">
918 <a name="hb-ot-math-glyph-part-flags-t"></a><h3>enum hb_ot_math_glyph_part_flags_t</h3>
919 <div class="refsect3">
920 <a name="hb-ot-math-glyph-part-flags-t.members"></a><h4>Members</h4>
921 <div class="informaltable"><table class="informaltable" width="100%" border="0">
922 <colgroup>
923 <col width="300px" class="enum_members_name">
924 <col class="enum_members_description">
925 <col width="200px" class="enum_members_annotations">
926 </colgroup>
927 <tbody><tr>
928 <td class="enum_member_name"><p><a name="HB-MATH-GLYPH-PART-FLAG-EXTENDER:CAPS"></a>HB_MATH_GLYPH_PART_FLAG_EXTENDER</p></td>
929 <td> </td>
930 <td> </td>
931 </tr></tbody>
932 </table></div>
933 </div>
934 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
935 </div>
936 <hr>
937 <div class="refsect2">
938 <a name="hb-ot-math-glyph-part-t"></a><h3>hb_ot_math_glyph_part_t</h3>
939 <pre class="programlisting">typedef struct {
940   hb_codepoint_t glyph;
941   hb_position_t start_connector_length;
942   hb_position_t end_connector_length;
943   hb_position_t full_advance;
944   hb_ot_math_glyph_part_flags_t flags;
945 } hb_ot_math_glyph_part_t;
946 </pre>
947 <p class="since">Since: <a class="link" href="api-index-1-3-3.html#api-index-1.3.3">1.3.3</a></p>
948 </div>
949 </div>
950 </div>
951 <div class="footer">
952 <hr>Generated by GTK-Doc V1.29</div>
953 </body>
954 </html>