Home
last modified time | relevance | path

Searched refs:font1 (Results 1 – 4 of 4) sorted by relevance

/external/harfbuzz_ng/test/api/
Dtest-font.c268 hb_font_t *font1; in test_fontfuncs_subclassing() local
278 font1 = hb_font_create (face); in test_fontfuncs_subclassing()
280 hb_font_set_scale (font1, 10, 10); in test_fontfuncs_subclassing()
286 hb_font_set_funcs (font1, ffuncs1, NULL, NULL); in test_fontfuncs_subclassing()
290 g_assert (hb_font_get_glyph_contour_point_for_origin (font1, 1, 2, HB_DIRECTION_LTR, &x, &y)); in test_fontfuncs_subclassing()
293 g_assert (hb_font_get_glyph_contour_point_for_origin (font1, 2, 5, HB_DIRECTION_LTR, &x, &y)); in test_fontfuncs_subclassing()
296 g_assert (!hb_font_get_glyph_contour_point_for_origin (font1, 3, 7, HB_DIRECTION_RTL, &x, &y)); in test_fontfuncs_subclassing()
299 x = hb_font_get_glyph_h_advance (font1, 1); in test_fontfuncs_subclassing()
301 x = hb_font_get_glyph_h_advance (font1, 2); in test_fontfuncs_subclassing()
307 font2 = hb_font_create_sub_font (font1); in test_fontfuncs_subclassing()
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_font.py67 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())
72 self.assertNotEqual(font1, 0)
73 self.assertNotIn(font1, [0])
/external/python/cpython3/Lib/tkinter/test/test_tkinter/
Dtest_font.py67 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())
72 self.assertNotEqual(font1, 0)
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_configdialog.py135 font1 = fontlist.get(1)
137 self.assertEqual(select_font, font1)
138 self.assertIn(d.font_name.get(), font1.lower())