Lines Matching refs:font1
268 hb_font_t *font1;
278 font1 = hb_font_create (face);
280 hb_font_set_scale (font1, 10, 10);
282 /* setup font1 */
286 hb_font_set_funcs (font1, ffuncs1, NULL, NULL);
290 g_assert (hb_font_get_glyph_contour_point_for_origin (font1, 1, 2, HB_DIRECTION_LTR, &x, &y));
293 g_assert (hb_font_get_glyph_contour_point_for_origin (font1, 2, 5, HB_DIRECTION_LTR, &x, &y));
296 g_assert (!hb_font_get_glyph_contour_point_for_origin (font1, 3, 7, HB_DIRECTION_RTL, &x, &y));
299 x = hb_font_get_glyph_h_advance (font1, 1);
301 x = hb_font_get_glyph_h_advance (font1, 2);
307 font2 = hb_font_create_sub_font (font1);
309 g_assert (!hb_font_is_immutable (font1));
313 g_assert (hb_font_is_immutable (font1));
319 font2 = hb_font_create_sub_font (font1);
320 hb_font_destroy (font1);
401 hb_font_t *font1;
411 /* setup sub-font1 */
412 font1 = hb_font_create_sub_font (font0);
416 hb_font_set_funcs (font1, ffuncs1, NULL, NULL);
420 font2 = hb_font_create_sub_font (font1);
421 hb_font_destroy (font1);