Lines Matching refs:font1

268   hb_font_t *font1;  in test_fontfuncs_subclassing()  local
278 font1 = hb_font_create (face); in test_fontfuncs_subclassing()
280 hb_font_set_scale (font1, 10, 10); in test_fontfuncs_subclassing()
286 hb_font_set_funcs (font1, ffuncs1, NULL, NULL); in test_fontfuncs_subclassing()
290 g_assert (hb_font_get_glyph_contour_point_for_origin (font1, 1, 2, HB_DIRECTION_LTR, &x, &y)); in test_fontfuncs_subclassing()
293 g_assert (hb_font_get_glyph_contour_point_for_origin (font1, 2, 5, HB_DIRECTION_LTR, &x, &y)); in test_fontfuncs_subclassing()
296 g_assert (!hb_font_get_glyph_contour_point_for_origin (font1, 3, 7, HB_DIRECTION_RTL, &x, &y)); in test_fontfuncs_subclassing()
299 x = hb_font_get_glyph_h_advance (font1, 1); in test_fontfuncs_subclassing()
301 x = hb_font_get_glyph_h_advance (font1, 2); in test_fontfuncs_subclassing()
307 font2 = hb_font_create_sub_font (font1); in test_fontfuncs_subclassing()
309 g_assert (!hb_font_is_immutable (font1)); in test_fontfuncs_subclassing()
313 g_assert (hb_font_is_immutable (font1)); in test_fontfuncs_subclassing()
319 font2 = hb_font_create_sub_font (font1); in test_fontfuncs_subclassing()
320 hb_font_destroy (font1); in test_fontfuncs_subclassing()
401 hb_font_t *font1; in test_fontfuncs_parallels() local
412 font1 = hb_font_create_sub_font (font0); in test_fontfuncs_parallels()
416 hb_font_set_funcs (font1, ffuncs1, NULL, NULL); in test_fontfuncs_parallels()
420 font2 = hb_font_create_sub_font (font1); in test_fontfuncs_parallels()
421 hb_font_destroy (font1); in test_fontfuncs_parallels()