Lines Matching refs:hb_font
37 static hb_font_t *hb_font; variable
72 hb_font = hb_ft_font_create (ft_face, NULL); in openFont()
73 hb_face = hb_face_reference (hb_font_get_face (hb_font)); in openFont()
80 hb_font_destroy (hb_font); in closeFont()
83 hb_font = NULL; in closeFont()
101 hb_font = hb_font_create (hb_face); in test_has_data()
104 hb_font = hb_font_get_empty (); in test_has_data()
105 hb_face = hb_font_get_face (hb_font); in test_has_data()
117 …g_assert_cmpint(hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_DELIMITED_SUB_FORMULA_MIN_HE… in test_get_constant()
121 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_DELIMITED_SUB_FORMULA_MIN_H… in test_get_constant()
122 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_DISPLAY_OPERATOR_MIN_HEIGHT… in test_get_constant()
123 g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_MATH_LEADING)), ==, 300); in test_get_constant()
124 g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_AXIS_HEIGHT)), ==, 400); in test_get_constant()
125 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_ACCENT_BASE_HEIGHT)), ==, 5… in test_get_constant()
126 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_FLATTENED_ACCENT_BASE_HEIGH… in test_get_constant()
127 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_SUBSCRIPT_SHIFT_DOWN)), ==,… in test_get_constant()
128 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_SUBSCRIPT_TOP_MAX)), ==, 80… in test_get_constant()
129 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_SUBSCRIPT_BASELINE_DROP_MIN… in test_get_constant()
130 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_SUPERSCRIPT_SHIFT_UP)), ==,… in test_get_constant()
131 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_SUPERSCRIPT_SHIFT_UP_CRAMPE… in test_get_constant()
132 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_SUPERSCRIPT_BOTTOM_MIN)), =… in test_get_constant()
133 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_SUPERSCRIPT_BASELINE_DROP_M… in test_get_constant()
134 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_SUB_SUPERSCRIPT_GAP_MIN)), … in test_get_constant()
135 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_SUPERSCRIPT_BOTTOM_MAX_WITH… in test_get_constant()
136 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_SPACE_AFTER_SCRIPT)), ==, 3… in test_get_constant()
137 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_UPPER_LIMIT_GAP_MIN)), ==, … in test_get_constant()
138 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_UPPER_LIMIT_BASELINE_RISE_M… in test_get_constant()
139 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_LOWER_LIMIT_GAP_MIN)), ==, … in test_get_constant()
140 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_LOWER_LIMIT_BASELINE_DROP_M… in test_get_constant()
141 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_STACK_TOP_SHIFT_UP)), ==, 2… in test_get_constant()
142 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_STACK_TOP_DISPLAY_STYLE_SHI… in test_get_constant()
143 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_STACK_BOTTOM_SHIFT_DOWN)), … in test_get_constant()
144 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_STACK_BOTTOM_DISPLAY_STYLE_… in test_get_constant()
145 g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_STACK_GAP_MIN)), ==, 2800); in test_get_constant()
146 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_STACK_DISPLAY_STYLE_GAP_MIN… in test_get_constant()
147 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_STRETCH_STACK_TOP_SHIFT_UP)… in test_get_constant()
148 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_STRETCH_STACK_BOTTOM_SHIFT_… in test_get_constant()
149 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_STRETCH_STACK_GAP_ABOVE_MIN… in test_get_constant()
150 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_STRETCH_STACK_GAP_BELOW_MIN… in test_get_constant()
151 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_FRACTION_NUMERATOR_SHIFT_UP… in test_get_constant()
152 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_FRACTION_NUMERATOR_DISPLAY_… in test_get_constant()
153 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_FRACTION_DENOMINATOR_SHIFT_… in test_get_constant()
154 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_FRACTION_DENOMINATOR_DISPLA… in test_get_constant()
155 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_FRACTION_NUMERATOR_GAP_MIN)… in test_get_constant()
156 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_FRACTION_NUM_DISPLAY_STYLE_… in test_get_constant()
157 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_FRACTION_RULE_THICKNESS)), … in test_get_constant()
158 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_FRACTION_DENOMINATOR_GAP_MI… in test_get_constant()
159 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_FRACTION_DENOM_DISPLAY_STYL… in test_get_constant()
160 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_SKEWED_FRACTION_HORIZONTAL_… in test_get_constant()
161 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_SKEWED_FRACTION_VERTICAL_GA… in test_get_constant()
162 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_OVERBAR_VERTICAL_GAP)), ==,… in test_get_constant()
163 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_OVERBAR_RULE_THICKNESS)), =… in test_get_constant()
164 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_OVERBAR_EXTRA_ASCENDER)), =… in test_get_constant()
165 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_UNDERBAR_VERTICAL_GAP)), ==… in test_get_constant()
166 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_UNDERBAR_RULE_THICKNESS)), … in test_get_constant()
167 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_UNDERBAR_EXTRA_DESCENDER)),… in test_get_constant()
168 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_RADICAL_VERTICAL_GAP)), ==,… in test_get_constant()
169 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_RADICAL_DISPLAY_STYLE_VERTI… in test_get_constant()
170 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_RADICAL_RULE_THICKNESS)), =… in test_get_constant()
171 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_RADICAL_EXTRA_ASCENDER)), =… in test_get_constant()
172 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_RADICAL_KERN_BEFORE_DEGREE)… in test_get_constant()
173 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_RADICAL_KERN_AFTER_DEGREE))… in test_get_constant()
174 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_SCRIPT_PERCENT_SCALE_DOWN))… in test_get_constant()
175 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_SCRIPT_SCRIPT_PERCENT_SCALE… in test_get_constant()
176 …g_assert_cmpint((hb_ot_math_get_constant (hb_font, HB_OT_MATH_CONSTANT_RADICAL_DEGREE_BOTTOM_RAISE… in test_get_constant()
189 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction()
190 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathGlyphInfo… in test_get_glyph_italics_correction()
194 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction()
195 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathGlyphInfo… in test_get_glyph_italics_correction()
199 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction()
200 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathItalicsCo… in test_get_glyph_italics_correction()
204 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction()
205 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // Glyph without… in test_get_glyph_italics_correction()
206 g_assert(hb_font_get_glyph_from_name (hb_font, "A", -1, &glyph)); in test_get_glyph_italics_correction()
207 g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 394); in test_get_glyph_italics_correction()
208 g_assert(hb_font_get_glyph_from_name (hb_font, "B", -1, &glyph)); in test_get_glyph_italics_correction()
209 g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 300); in test_get_glyph_italics_correction()
210 g_assert(hb_font_get_glyph_from_name (hb_font, "C", -1, &glyph)); in test_get_glyph_italics_correction()
211 g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 904); in test_get_glyph_italics_correction()
224 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_top_accent_attachment()
225 …g_assert_cmpint(hb_ot_math_get_glyph_top_accent_attachment (hb_font, glyph), ==, 1000); // MathGly… in test_get_glyph_top_accent_attachment()
229 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_top_accent_attachment()
230 …g_assert_cmpint(hb_ot_math_get_glyph_top_accent_attachment (hb_font, glyph), ==, 1000); // MathGly… in test_get_glyph_top_accent_attachment()
234 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_top_accent_attachment()
235 …g_assert_cmpint(hb_ot_math_get_glyph_top_accent_attachment (hb_font, glyph), ==, 1000); // MathTop… in test_get_glyph_top_accent_attachment()
239 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_top_accent_attachment()
240 …g_assert_cmpint(hb_ot_math_get_glyph_top_accent_attachment (hb_font, glyph), ==, 1000); // Glyph w… in test_get_glyph_top_accent_attachment()
241 g_assert(hb_font_get_glyph_from_name (hb_font, "D", -1, &glyph)); in test_get_glyph_top_accent_attachment()
242 g_assert_cmpint(hb_ot_math_get_glyph_top_accent_attachment (hb_font, glyph), ==, 748); in test_get_glyph_top_accent_attachment()
243 g_assert(hb_font_get_glyph_from_name (hb_font, "E", -1, &glyph)); in test_get_glyph_top_accent_attachment()
244 g_assert_cmpint(hb_ot_math_get_glyph_top_accent_attachment (hb_font, glyph), ==, 692); in test_get_glyph_top_accent_attachment()
245 g_assert(hb_font_get_glyph_from_name (hb_font, "F", -1, &glyph)); in test_get_glyph_top_accent_attachment()
246 g_assert_cmpint(hb_ot_math_get_glyph_top_accent_attachment (hb_font, glyph), ==, 636); in test_get_glyph_top_accent_attachment()
259 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_is_glyph_extended_shape()
264 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_is_glyph_extended_shape()
269 g_assert(hb_font_get_glyph_from_name (hb_font, "G", -1, &glyph)); in test_is_glyph_extended_shape()
271 g_assert(hb_font_get_glyph_from_name (hb_font, "H", -1, &glyph)); in test_is_glyph_extended_shape()
285 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_kerning()
286 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_RIGHT, 0), ==, 0… in test_get_glyph_kerning()
287 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_LEFT, 0), ==, 0)… in test_get_glyph_kerning()
288 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_BOTTOM_RIGHT, 0), ==… in test_get_glyph_kerning()
289 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_BOTTOM_LEFT, 0), ==,… in test_get_glyph_kerning()
293 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_kerning()
294 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_RIGHT, 0), ==, 0… in test_get_glyph_kerning()
295 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_LEFT, 0), ==, 0)… in test_get_glyph_kerning()
296 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_BOTTOM_RIGHT, 0), ==… in test_get_glyph_kerning()
297 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_BOTTOM_LEFT, 0), ==,… in test_get_glyph_kerning()
301 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_kerning()
302 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_RIGHT, 0), ==, 0… in test_get_glyph_kerning()
303 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_LEFT, 0), ==, 0)… in test_get_glyph_kerning()
304 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_BOTTOM_RIGHT, 0), ==… in test_get_glyph_kerning()
305 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_BOTTOM_LEFT, 0), ==,… in test_get_glyph_kerning()
309 g_assert(hb_font_get_glyph_from_name (hb_font, "I", -1, &glyph)); in test_get_glyph_kerning()
311 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_RIGHT, 7), ==, 6… in test_get_glyph_kerning()
312 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_RIGHT, 14), ==, … in test_get_glyph_kerning()
313 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_RIGHT, 20), ==, … in test_get_glyph_kerning()
314 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_RIGHT, 23), ==, … in test_get_glyph_kerning()
315 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_RIGHT, 31), ==, … in test_get_glyph_kerning()
316 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_RIGHT, 32), ==, … in test_get_glyph_kerning()
317 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_RIGHT, 86), ==, … in test_get_glyph_kerning()
318 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_RIGHT, 91), ==, … in test_get_glyph_kerning()
319 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_RIGHT, 96), ==, … in test_get_glyph_kerning()
321 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_RIGHT, 39), ==, … in test_get_glyph_kerning()
322 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_TOP_LEFT, 39), ==, 1… in test_get_glyph_kerning()
323 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_BOTTOM_RIGHT, 39), =… in test_get_glyph_kerning()
324 …g_assert_cmpint(hb_ot_math_get_glyph_kerning (hb_font, glyph, HB_OT_MATH_KERN_BOTTOM_LEFT, 39), ==… in test_get_glyph_kerning()
352 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_assembly_italics_correction()
353 …g_assert_cmpint(get_glyph_assembly_italics_correction (hb_font, glyph, TRUE), ==, 0); // MathVaria… in test_get_glyph_assembly_italics_correction()
354 …g_assert_cmpint(get_glyph_assembly_italics_correction (hb_font, glyph, FALSE), ==, 0); // MathVari… in test_get_glyph_assembly_italics_correction()
358 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_assembly_italics_correction()
359 …g_assert_cmpint(get_glyph_assembly_italics_correction (hb_font, glyph, TRUE), ==, 0); // VertGlyph… in test_get_glyph_assembly_italics_correction()
360 …g_assert_cmpint(get_glyph_assembly_italics_correction (hb_font, glyph, FALSE), ==, 0); // VertGlyp… in test_get_glyph_assembly_italics_correction()
364 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_assembly_italics_correction()
365 …g_assert_cmpint(get_glyph_assembly_italics_correction (hb_font, glyph, TRUE), ==, 0); // VertGlyph… in test_get_glyph_assembly_italics_correction()
366 …g_assert_cmpint(get_glyph_assembly_italics_correction (hb_font, glyph, FALSE), ==, 0); // VertGlyp… in test_get_glyph_assembly_italics_correction()
370 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_assembly_italics_correction()
371 …g_assert_cmpint(get_glyph_assembly_italics_correction (hb_font, glyph, TRUE), ==, 0); // HorizGlyp… in test_get_glyph_assembly_italics_correction()
372 …g_assert_cmpint(get_glyph_assembly_italics_correction (hb_font, glyph, FALSE), ==, 0); // HorizGl… in test_get_glyph_assembly_italics_correction()
376 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_assembly_italics_correction()
377 g_assert_cmpint(get_glyph_assembly_italics_correction (hb_font, glyph, TRUE), ==, 0); in test_get_glyph_assembly_italics_correction()
378 g_assert_cmpint(get_glyph_assembly_italics_correction (hb_font, glyph, FALSE), ==, 0); in test_get_glyph_assembly_italics_correction()
382 g_assert(hb_font_get_glyph_from_name (hb_font, "arrowleft", -1, &glyph)); in test_get_glyph_assembly_italics_correction()
383 g_assert_cmpint(get_glyph_assembly_italics_correction (hb_font, glyph, TRUE), ==, 248); in test_get_glyph_assembly_italics_correction()
384 g_assert_cmpint(get_glyph_assembly_italics_correction (hb_font, glyph, FALSE), ==, 0); in test_get_glyph_assembly_italics_correction()
385 g_assert(hb_font_get_glyph_from_name (hb_font, "arrowup", -1, &glyph)); in test_get_glyph_assembly_italics_correction()
386 g_assert_cmpint(get_glyph_assembly_italics_correction (hb_font, glyph, TRUE), ==, 0); in test_get_glyph_assembly_italics_correction()
387 g_assert_cmpint(get_glyph_assembly_italics_correction (hb_font, glyph, FALSE), ==, 662); in test_get_glyph_assembly_italics_correction()
399 …g_assert_cmpint(hb_ot_math_get_min_connector_overlap(hb_font, FALSE), ==, 0); // MathVariants not … in test_get_min_connector_overlap()
400 …g_assert_cmpint(hb_ot_math_get_min_connector_overlap(hb_font, TRUE), ==, 0); // MathVariants not a… in test_get_min_connector_overlap()
404 g_assert_cmpint(hb_ot_math_get_min_connector_overlap(hb_font, HB_DIRECTION_LTR), ==, 108); in test_get_min_connector_overlap()
405 g_assert_cmpint(hb_ot_math_get_min_connector_overlap(hb_font, HB_DIRECTION_TTB), ==, 54); in test_get_min_connector_overlap()
423 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_variants()
424 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL), =… in test_get_glyph_variants()
425 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_BTT, 0, NULL, NULL), =… in test_get_glyph_variants()
429 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_variants()
430 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL), =… in test_get_glyph_variants()
431 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_BTT, 0, NULL, NULL), =… in test_get_glyph_variants()
435 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_variants()
436 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL), =… in test_get_glyph_variants()
437 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_BTT, 0, NULL, NULL), =… in test_get_glyph_variants()
441 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_variants()
442 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL), =… in test_get_glyph_variants()
443 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_BTT, 0, NULL, NULL), =… in test_get_glyph_variants()
447 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_variants()
448 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL), =… in test_get_glyph_variants()
449 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_BTT, 0, NULL, NULL), =… in test_get_glyph_variants()
454 g_assert(hb_font_get_glyph_from_name (hb_font, "arrowleft", -1, &glyph)); in test_get_glyph_variants()
455 g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, in test_get_glyph_variants()
461 g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, in test_get_glyph_variants()
468 g_assert(hb_font_get_glyph_from_name (hb_font, "arrowup", -1, &glyph)); in test_get_glyph_variants()
469 g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, in test_get_glyph_variants()
475 g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, in test_get_glyph_variants()
482 g_assert(hb_font_get_glyph_from_name (hb_font, "arrowleft", -1, &glyph)); in test_get_glyph_variants()
485 hb_ot_math_get_glyph_variants (hb_font, in test_get_glyph_variants()
494 g_assert(hb_font_get_glyph_from_name (hb_font, "uni2190_size2", -1, &glyph)); in test_get_glyph_variants()
497 g_assert(hb_font_get_glyph_from_name (hb_font, "uni2190_size3", -1, &glyph)); in test_get_glyph_variants()
500 g_assert(hb_font_get_glyph_from_name (hb_font, "uni2190_size4", -1, &glyph)); in test_get_glyph_variants()
504 g_assert(hb_font_get_glyph_from_name (hb_font, "arrowup", -1, &glyph)); in test_get_glyph_variants()
508 hb_ot_math_get_glyph_variants (hb_font, in test_get_glyph_variants()
517 g_assert(hb_font_get_glyph_from_name (hb_font, "uni2191_size2", -1, &glyph)); in test_get_glyph_variants()
520 g_assert(hb_font_get_glyph_from_name (hb_font, "uni2191_size3", -1, &glyph)); in test_get_glyph_variants()
523 g_assert(hb_font_get_glyph_from_name (hb_font, "uni2191_size4", -1, &glyph)); in test_get_glyph_variants()
526 g_assert(hb_font_get_glyph_from_name (hb_font, "uni2191_size5", -1, &glyph)); in test_get_glyph_variants()
547 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_assembly()
548 …g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL, NU… in test_get_glyph_assembly()
549 …g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, glyph, HB_DIRECTION_BTT, 0, NULL, NULL, NU… in test_get_glyph_assembly()
553 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_assembly()
554 …g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL, NU… in test_get_glyph_assembly()
555 …g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, glyph, HB_DIRECTION_BTT, 0, NULL, NULL, NU… in test_get_glyph_assembly()
559 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_assembly()
560 …g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL, NU… in test_get_glyph_assembly()
561 …g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, glyph, HB_DIRECTION_BTT, 0, NULL, NULL, NU… in test_get_glyph_assembly()
565 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_assembly()
566 …g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL, NU… in test_get_glyph_assembly()
567 …g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, glyph, HB_DIRECTION_BTT, 0, NULL, NULL, NU… in test_get_glyph_assembly()
571 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_assembly()
572 …g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL, NU… in test_get_glyph_assembly()
573 …g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, glyph, HB_DIRECTION_BTT, 0, NULL, NULL, NU… in test_get_glyph_assembly()
578 g_assert(hb_font_get_glyph_from_name (hb_font, "arrowright", -1, &glyph)); in test_get_glyph_assembly()
579 g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, in test_get_glyph_assembly()
586 g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, in test_get_glyph_assembly()
594 g_assert(hb_font_get_glyph_from_name (hb_font, "arrowdown", -1, &glyph)); in test_get_glyph_assembly()
595 g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, in test_get_glyph_assembly()
602 g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, in test_get_glyph_assembly()
610 g_assert(hb_font_get_glyph_from_name (hb_font, "arrowright", -1, &glyph)); in test_get_glyph_assembly()
613 hb_ot_math_get_glyph_assembly (hb_font, in test_get_glyph_assembly()
623 g_assert(hb_font_get_glyph_from_name (hb_font, "left", -1, &glyph)); in test_get_glyph_assembly()
629 g_assert(hb_font_get_glyph_from_name (hb_font, "horizontal", -1, &glyph)); in test_get_glyph_assembly()
635 g_assert(hb_font_get_glyph_from_name (hb_font, "right", -1, &glyph)); in test_get_glyph_assembly()
642 g_assert(hb_font_get_glyph_from_name (hb_font, "arrowdown", -1, &glyph)); in test_get_glyph_assembly()
646 hb_ot_math_get_glyph_assembly (hb_font, in test_get_glyph_assembly()
656 g_assert(hb_font_get_glyph_from_name (hb_font, "bottom", -1, &glyph)); in test_get_glyph_assembly()
662 g_assert(hb_font_get_glyph_from_name (hb_font, "vertical", -1, &glyph)); in test_get_glyph_assembly()
669 g_assert(hb_font_get_glyph_from_name (hb_font, "center", -1, &glyph)); in test_get_glyph_assembly()
675 g_assert(hb_font_get_glyph_from_name (hb_font, "vertical", -1, &glyph)); in test_get_glyph_assembly()
683 g_assert(hb_font_get_glyph_from_name (hb_font, "top", -1, &glyph)); in test_get_glyph_assembly()