Home
last modified time | relevance | path

Searched refs:font2 (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dtest-font.c266 hb_font_t *font2; in test_fontfuncs_subclassing() local
304 font2 = hb_font_create_sub_font (font1); in test_fontfuncs_subclassing()
305 font3 = hb_font_create_sub_font (font2); in test_fontfuncs_subclassing()
307 g_assert (!hb_font_is_immutable (font2)); in test_fontfuncs_subclassing()
311 g_assert (hb_font_is_immutable (font2)); in test_fontfuncs_subclassing()
313 hb_font_destroy (font2); in test_fontfuncs_subclassing()
316 font2 = hb_font_create_sub_font (font1); in test_fontfuncs_subclassing()
319 /* setup font2 to override some funcs */ in test_fontfuncs_subclassing()
322 hb_font_set_funcs (font2, ffuncs2, NULL, NULL); in test_fontfuncs_subclassing()
326 g_assert (hb_font_get_glyph_contour_point_for_origin (font2, in test_fontfuncs_subclassing()
399 hb_font_t *font2; test_fontfuncs_parallels() local
[all...]
H A Dtest-font-scale.c38 hb_font_t *font2 = hb_font_create (face); in test_hb_scale() local
42 hb_font_set_scale (font2, - scale, - scale); in test_hb_scale()
44 g_assert_cmpint (hb_font_get_glyph_h_advance (font1, 1), ==, - hb_font_get_glyph_h_advance (font2, 1)); in test_hb_scale()
47 hb_font_destroy (font2); in test_hb_scale()
/third_party/skia/docs/examples/
H A Dtext_rendering.cpp12 SkFont font2(typeface, 64.0f, 1.5f, 0.0f); in REG_FIDDLE()
14 font2.setEdging(SkFont::Edging::kAntiAlias); in REG_FIDDLE()
21 sk_sp<SkTextBlob> blob2 = SkTextBlob::MakeFromString("Skia", font2); in REG_FIDDLE()
/third_party/python/Lib/tkinter/test/test_tkinter/
H A Dtest_font.py68 font2 = font.Font(root=self.root, name=fontname, exists=True)
69 self.assertIsNot(font1, font2)
70 self.assertEqual(font1, font2)
/third_party/skia/modules/skparagraph/tests/
H A DSkParagraphTest.cpp5105 const char* font2, in UNIX_ONLY_TEST()
5113 text_style.setFontFamilies({SkString(font2)}); in UNIX_ONLY_TEST()

Completed in 14 milliseconds