Lines Matching refs:font2

269   hb_font_t *font2;  in test_fontfuncs_subclassing()  local
307 font2 = hb_font_create_sub_font (font1); in test_fontfuncs_subclassing()
308 font3 = hb_font_create_sub_font (font2); in test_fontfuncs_subclassing()
310 g_assert (!hb_font_is_immutable (font2)); in test_fontfuncs_subclassing()
314 g_assert (hb_font_is_immutable (font2)); in test_fontfuncs_subclassing()
316 hb_font_destroy (font2); in test_fontfuncs_subclassing()
319 font2 = hb_font_create_sub_font (font1); in test_fontfuncs_subclassing()
325 hb_font_set_funcs (font2, ffuncs2, NULL, NULL); in test_fontfuncs_subclassing()
329 g_assert (hb_font_get_glyph_contour_point_for_origin (font2, 1, 2, HB_DIRECTION_LTR, &x, &y)); in test_fontfuncs_subclassing()
332 g_assert (hb_font_get_glyph_contour_point_for_origin (font2, 2, 5, HB_DIRECTION_RTL, &x, &y)); in test_fontfuncs_subclassing()
335 g_assert (!hb_font_get_glyph_contour_point_for_origin (font2, 3, 7, HB_DIRECTION_LTR, &x, &y)); in test_fontfuncs_subclassing()
338 x = hb_font_get_glyph_h_advance (font2, 1); in test_fontfuncs_subclassing()
340 x = hb_font_get_glyph_h_advance (font2, 2); in test_fontfuncs_subclassing()
344 font3 = hb_font_create_sub_font (font2); in test_fontfuncs_subclassing()
364 hb_font_destroy (font2); in test_fontfuncs_subclassing()
402 hb_font_t *font2; in test_fontfuncs_parallels() local
420 font2 = hb_font_create_sub_font (font1); in test_fontfuncs_parallels()
424 hb_font_set_funcs (font2, ffuncs2, NULL, NULL); in test_fontfuncs_parallels()
428 hb_font_get_nominal_glyph (font2, 0x0020u, &glyph); in test_fontfuncs_parallels()
430 hb_font_destroy (font2); in test_fontfuncs_parallels()