Searched refs:font1 (Results 1 - 7 of 7) sorted by relevance
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
H A D | test-font.c | 265 hb_font_t *font1; in test_fontfuncs_subclassing() local 275 font1 = hb_font_create (face); in test_fontfuncs_subclassing() 277 hb_font_set_scale (font1, 10, 10); in test_fontfuncs_subclassing() 279 /* setup font1 */ in test_fontfuncs_subclassing() 283 hb_font_set_funcs (font1, ffuncs1, NULL, NULL); in test_fontfuncs_subclassing() 287 g_assert (hb_font_get_glyph_contour_point_for_origin (font1, 1, 2, HB_DIRECTION_LTR, &x, &y)); in test_fontfuncs_subclassing() 290 g_assert (hb_font_get_glyph_contour_point_for_origin (font1, 2, 5, HB_DIRECTION_LTR, &x, &y)); in test_fontfuncs_subclassing() 293 g_assert (!hb_font_get_glyph_contour_point_for_origin (font1, 3, 7, HB_DIRECTION_RTL, &x, &y)); in test_fontfuncs_subclassing() 296 x = hb_font_get_glyph_h_advance (font1, 1); in test_fontfuncs_subclassing() 298 x = hb_font_get_glyph_h_advance (font1, in test_fontfuncs_subclassing() 398 hb_font_t *font1; test_fontfuncs_parallels() local [all...] |
H A D | test-font-scale.c | 37 hb_font_t *font1 = hb_font_create (face); in test_hb_scale() local 41 hb_font_set_scale (font1, 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() 46 hb_font_destroy (font1); in test_hb_scale()
|
/third_party/python/Lib/tkinter/test/test_tkinter/ |
H A D | test_font.py | 67 font1 = font.Font(root=self.root, name=fontname, exists=True) 69 self.assertIsNot(font1, font2) 70 self.assertEqual(font1, font2) 71 self.assertNotEqual(font1, font1.copy()) 73 self.assertNotEqual(font1, 0) 74 self.assertEqual(font1, ALWAYS_EQ) 79 self.assertEqual(str(font1), str(font3)) 80 self.assertNotEqual(font1, font3)
|
/third_party/skia/docs/examples/ |
H A D | text_rendering.cpp | 11 SkFont font1(typeface, 64.0f, 1.0f, 0.0f); in REG_FIDDLE() 13 font1.setEdging(SkFont::Edging::kAntiAlias); in REG_FIDDLE() 20 sk_sp<SkTextBlob> blob1 = SkTextBlob::MakeFromString("Skia", font1); in REG_FIDDLE()
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_configdialog.py | 189 font1 = fontlist.get(1) 191 self.assertEqual(select_font, font1) 192 self.assertIn(d.font_name.get(), font1.lower())
|
/third_party/skia/modules/skparagraph/src/ |
H A D | TextLine.cpp | 98 bool IsRSFontEquals(const RSFont& font0, const RSFont& font1) { in IsRSFontEquals() argument 100 auto f1 = const_cast<RSFont&>(font1); in IsRSFontEquals()
|
/third_party/skia/modules/skparagraph/tests/ |
H A D | SkParagraphTest.cpp | 5104 const char* font1, in UNIX_ONLY_TEST() 5109 text_style.setFontFamilies({SkString(font1)}); in UNIX_ONLY_TEST()
|
Completed in 19 milliseconds