Home
last modified time | relevance | path

Searched refs:makeFont (Results 1 – 9 of 9) sorted by relevance

/external/fonttools/Tests/ttLib/tables/
D_h_m_t_x_test.py27 def makeFont(self, numGlyphs, numberOfMetrics): member in HmtxTableTest
40 font = self.makeFont(numGlyphs=3, numberOfMetrics=3)
51 font = self.makeFont(numGlyphs=4, numberOfMetrics=2)
66 font = self.makeFont(numGlyphs=1, numberOfMetrics=1)
74 font = self.makeFont(numGlyphs=1, numberOfMetrics=1)
85 font = self.makeFont(numGlyphs=1, numberOfMetrics=2)
97 font = self.makeFont(numGlyphs=1, numberOfMetrics=1)
133 font = self.makeFont(numGlyphs=3, numberOfMetrics=4)
150 font = self.makeFont(numGlyphs=4, numberOfMetrics=1)
164 font = self.makeFont(numGlyphs=1, numberOfMetrics=1)
[all …]
D_g_v_a_r_test.py136 def makeFont(self, variations): member in GVARTableTest
151 font, gvar = self.makeFont(GVAR_VARIATIONS)
155 font, gvar = self.makeFont({})
160 font, gvar = self.makeFont({".notdef": [], "space": [], "I": []})
165 font, gvar = self.makeFont({})
170 font, gvar = self.makeFont({})
176 font, gvar = self.makeFont({})
183 font, gvar = self.makeFont(GVAR_VARIATIONS)
D_c_v_a_r_test.py62 def makeFont(self): member in CVARTableTest
72 font, cvar = self.makeFont()
77 font, cvar = self.makeFont()
82 font, cvar = self.makeFont()
89 font, cvar = self.makeFont()
96 font, cvar = self.makeFont()
104 font, cvar = self.makeFont()
D_a_v_a_r_test.py25 self.assertEqual(TEST_DATA, avar.compile(self.makeFont(["wdth", "wght"])))
29 avar.decompile(TEST_DATA, self.makeFont(["wdth", "wght"]))
37 font = self.makeFont(["wdth", "wght"])
44 avar.toXML(writer, self.makeFont(["opsz"]))
68 def makeFont(axisTags): member in AxisVariationTableTest
DotConverters_test.py114 def makeFont(self): member in NameIDTest
121 font = self.makeFont()
127 self.converter.write(writer, self.makeFont(), {}, 0x123)
132 self.converter.xmlWrite(writer, self.makeFont(), 291,
142 self.converter.xmlWrite(writer, self.makeFont(), 666,
154 self.converter.xmlWrite(writer, self.makeFont(), 0,
/external/skia/include/atlastext/
DSkAtlasTextFont.h28 SkFont makeFont() const { return SkFont(fTypeface, fSize); } in makeFont() function
/external/skqp/include/atlastext/
DSkAtlasTextFont.h28 SkFont makeFont() const { return SkFont(fTypeface, fSize); } in makeFont() function
/external/skqp/src/atlastext/
DSkAtlasTextTarget.cpp160 builder.drawGlyphsWithPositions(paint, font.makeFont(), in drawText()
/external/skia/src/atlastext/
DSkAtlasTextTarget.cpp160 builder.drawGlyphsWithPositions(paint, font.makeFont(), in drawText()