Home
last modified time | relevance | path

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

/external/fonttools/Tests/ttLib/tables/
D_h_m_t_x_test.py24 def makeFont(self, numGlyphs, numberOfMetrics): member in HmtxTableTest
37 font = self.makeFont(numGlyphs=3, numberOfMetrics=3)
48 font = self.makeFont(numGlyphs=4, numberOfMetrics=2)
63 font = self.makeFont(numGlyphs=1, numberOfMetrics=1)
71 font = self.makeFont(numGlyphs=1, numberOfMetrics=1)
82 font = self.makeFont(numGlyphs=1, numberOfMetrics=2)
94 font = self.makeFont(numGlyphs=1, numberOfMetrics=1)
130 font = self.makeFont(numGlyphs=3, numberOfMetrics=4)
147 font = self.makeFont(numGlyphs=4, numberOfMetrics=1)
161 font = self.makeFont(numGlyphs=1, numberOfMetrics=1)
[all …]
D_g_v_a_r_test.py148 def makeFont(self, variations): member in GVARTableTest
163 font, gvar = self.makeFont(GVAR_VARIATIONS)
167 font, gvar = self.makeFont({})
172 font, gvar = self.makeFont({".notdef": [], "space": [], "I": []})
177 font, gvar = self.makeFont({})
182 font, gvar = self.makeFont({})
188 font, gvar = self.makeFont({})
197 font, gvar = self.makeFont(GVAR_VARIATIONS)
D_c_v_a_r_test.py70 def makeFont(self): member in CVARTableTest
80 font, cvar = self.makeFont()
85 font, cvar = self.makeFont()
90 font, cvar = self.makeFont()
97 font, cvar = self.makeFont()
104 font, cvar = self.makeFont()
112 font, cvar = self.makeFont()
D_a_v_a_r_test.py33 self.assertEqual(TEST_DATA, avar.compile(self.makeFont(["wdth", "wght"])))
37 avar.decompile(TEST_DATA, self.makeFont(["wdth", "wght"]))
45 font = self.makeFont(["wdth", "wght"])
52 avar.toXML(writer, self.makeFont(["opsz"]))
78 def makeFont(axisTags): member in AxisVariationTableTest
DotConverters_test.py110 def makeFont(self): member in NameIDTest
117 font = self.makeFont()
123 self.converter.write(writer, self.makeFont(), {}, 0x123)
128 self.converter.xmlWrite(writer, self.makeFont(), 291,
138 self.converter.xmlWrite(writer, self.makeFont(), 666,
150 self.converter.xmlWrite(writer, self.makeFont(), 0,
/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()