Lines Matching refs:subfont
160 hb_font_t *subfont; in _test_fontfuncs_nil() local
178 subfont = hb_font_create_sub_font (font); in _test_fontfuncs_nil()
179 g_assert (subfont); in _test_fontfuncs_nil()
185 _test_font_nil_funcs (subfont); in _test_fontfuncs_nil()
187 hb_font_destroy (subfont); in _test_fontfuncs_nil()
467 hb_font_t *subfont; in test_font_properties() local
481 subfont = hb_font_create_sub_font (font); in test_font_properties()
482 g_assert (hb_font_get_parent (subfont) == font); in test_font_properties()
483 hb_font_set_parent(subfont, NULL); in test_font_properties()
484 g_assert (hb_font_get_parent (subfont) == hb_font_get_empty()); in test_font_properties()
485 hb_font_set_parent(subfont, font); in test_font_properties()
486 g_assert (hb_font_get_parent (subfont) == font); in test_font_properties()
487 hb_font_set_parent(subfont, NULL); in test_font_properties()
488 hb_font_make_immutable (subfont); in test_font_properties()
489 g_assert (hb_font_get_parent (subfont) == hb_font_get_empty()); in test_font_properties()
490 hb_font_set_parent(subfont, font); in test_font_properties()
491 g_assert (hb_font_get_parent (subfont) == hb_font_get_empty()); in test_font_properties()
492 hb_font_destroy (subfont); in test_font_properties()
565 subfont = hb_font_create_sub_font (font); in test_font_properties()
568 g_assert (hb_font_get_parent (subfont) == font); in test_font_properties()
569 g_assert (hb_font_get_face (subfont) == face); in test_font_properties()
573 hb_font_get_scale (subfont, &x_scale, &y_scale); in test_font_properties()
576 hb_font_set_scale (subfont, 10, 12); in test_font_properties()
578 hb_font_get_scale (subfont, &x_scale, &y_scale); in test_font_properties()
588 hb_font_get_ppem (subfont, &x_ppem, &y_ppem); in test_font_properties()
591 hb_font_set_ppem (subfont, 10, 12); in test_font_properties()
593 hb_font_get_ppem (subfont, &x_ppem, &y_ppem); in test_font_properties()
601 hb_font_destroy (subfont); in test_font_properties()