Home
last modified time | relevance | path

Searched refs:font2 (Results 1 – 7 of 7) sorted by relevance

/external/harfbuzz_ng/test/api/
Dtest-font.c269 hb_font_t *font2; in test_fontfuncs_subclassing() local
307 font2 = hb_font_create_sub_font (font1); in test_fontfuncs_subclassing()
308 font3 = hb_font_create_sub_font (font2); in test_fontfuncs_subclassing()
310 g_assert (!hb_font_is_immutable (font2)); in test_fontfuncs_subclassing()
314 g_assert (hb_font_is_immutable (font2)); in test_fontfuncs_subclassing()
316 hb_font_destroy (font2); in test_fontfuncs_subclassing()
319 font2 = hb_font_create_sub_font (font1); in test_fontfuncs_subclassing()
325 hb_font_set_funcs (font2, ffuncs2, NULL, NULL); in test_fontfuncs_subclassing()
329 g_assert (hb_font_get_glyph_contour_point_for_origin (font2, 1, 2, HB_DIRECTION_LTR, &x, &y)); in test_fontfuncs_subclassing()
332 g_assert (hb_font_get_glyph_contour_point_for_origin (font2, 2, 5, HB_DIRECTION_RTL, &x, &y)); in test_fontfuncs_subclassing()
[all …]
/external/fonttools/Tests/mtiLib/
Dmti_test.py207 font2 = TTFont()
208 font2.setGlyphOrder(font.getGlyphOrder())
209 reader = xmlReader.XMLReader(f, font2)
215 font2[tableTag].toXML(writer, font)
/external/fonttools/Tests/cffLib/
DcffLib_test.py60 font2 = TTFont(save_path)
61 topDict2 = font2["CFF "].cff.topDictIndex[0]
/external/python/cpython3/Lib/tkinter/test/test_tkinter/
Dtest_font.py68 font2 = font.Font(root=self.root, name=fontname, exists=True)
69 self.assertIsNot(font1, font2)
70 self.assertEqual(font1, font2)
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_font.py68 font2 = font.Font(root=self.root, name=fontname, exists=True)
69 self.assertIsNot(font1, font2)
70 self.assertEqual(font1, font2)
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateApproximateWidths.java240 public void drawString(Graphics2D g, Font font2, String mainString, in drawString() argument
242 g.setFont(font2); in drawString()
257 …System.out.println(font2.getSize() + "\t" + string + " " + Integer.toHexString(string.codePointAt(… in drawString()
/external/fonttools/Tests/feaLib/
Dbuilder_test.py503 font2 = self.build(features, tables=set())
504 assert "GSUB" not in font2