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