Lines Matching refs:font3
270 hb_font_t *font3; in test_fontfuncs_subclassing() local
308 font3 = hb_font_create_sub_font (font2); in test_fontfuncs_subclassing()
311 g_assert (!hb_font_is_immutable (font3)); in test_fontfuncs_subclassing()
312 hb_font_make_immutable (font3); in test_fontfuncs_subclassing()
315 g_assert (hb_font_is_immutable (font3)); in test_fontfuncs_subclassing()
317 hb_font_destroy (font3); in test_fontfuncs_subclassing()
344 font3 = hb_font_create_sub_font (font2); in test_fontfuncs_subclassing()
345 hb_font_set_scale (font3, 20, 30); in test_fontfuncs_subclassing()
348 g_assert (hb_font_get_glyph_contour_point_for_origin (font3, 1, 2, HB_DIRECTION_RTL, &x, &y)); in test_fontfuncs_subclassing()
351 g_assert (hb_font_get_glyph_contour_point_for_origin (font3, 2, 5, HB_DIRECTION_LTR, &x, &y)); in test_fontfuncs_subclassing()
354 g_assert (!hb_font_get_glyph_contour_point_for_origin (font3, 3, 7, HB_DIRECTION_LTR, &x, &y)); in test_fontfuncs_subclassing()
357 x = hb_font_get_glyph_h_advance (font3, 1); in test_fontfuncs_subclassing()
359 x = hb_font_get_glyph_h_advance (font3, 2); in test_fontfuncs_subclassing()
363 hb_font_destroy (font3); in test_fontfuncs_subclassing()