Lines Matching refs:getpath
32 def getpath(testfile): member in SubsetTest
78 _, fontpath = self.compile_font(self.getpath("TestOTF-Regular.ttx"), ".otf")
82 self.expect_ttx(subsetfont, self.getpath("expect_no_notdef_outline_otf.ttx"), ["CFF "])
85 _, fontpath = self.compile_font(self.getpath("TestCID-Regular.ttx"), ".otf")
89 self.expect_ttx(subsetfont, self.getpath("expect_no_notdef_outline_cid.ttx"), ["CFF "])
92 _, fontpath = self.compile_font(self.getpath("TestTTF-Regular.ttx"), ".ttf")
96 … self.expect_ttx(subsetfont, self.getpath("expect_no_notdef_outline_ttf.ttx"), ["glyf", "hmtx"])
99 _, fontpath = self.compile_font(self.getpath("TestANKR.ttx"), ".ttf")
103 self.expect_ttx(subsetfont, self.getpath("expect_ankr.ttx"), ["ankr"])
106 _, fontpath = self.compile_font(self.getpath("TestANKR.ttx"), ".ttf")
112 _, fontpath = self.compile_font(self.getpath("TestBSLN-0.ttx"), ".ttf")
116 self.expect_ttx(subsetfont, self.getpath("expect_bsln_0.ttx"), ["bsln"])
125 _, fontpath = self.compile_font(self.getpath("TestBSLN-1.ttx"), ".ttf")
130 self.expect_ttx(subsetfont, self.getpath("expect_bsln_0.ttx"), ["bsln"])
141 _, fontpath = self.compile_font(self.getpath("TestBSLN-1.ttx"), ".ttf")
146 self.expect_ttx(subsetfont, self.getpath("expect_bsln_1.ttx"), ["bsln"])
152 _, fontpath = self.compile_font(self.getpath("TestBSLN-2.ttx"), ".ttf")
156 self.expect_ttx(subsetfont, self.getpath("expect_bsln_2.ttx"), ["bsln"])
166 _, fontpath = self.compile_font(self.getpath("TestBSLN-3.ttx"), ".ttf")
171 self.expect_ttx(subsetfont, self.getpath("expect_bsln_2.ttx"), ["bsln"])
182 _, fontpath = self.compile_font(self.getpath("TestBSLN-3.ttx"), ".ttf")
187 self.expect_ttx(subsetfont, self.getpath("expect_bsln_3.ttx"), ["bsln"])
190 _, fontpath = self.compile_font(self.getpath("TestCLR-Regular.ttx"), ".ttf")
194 …self.expect_ttx(subsetfont, self.getpath("expect_keep_colr.ttx"), ["GlyphOrder", "hmtx", "glyf", "…
197 _, fontpath = self.compile_font(self.getpath("TestGVAR.ttx"), ".ttf")
201 …self.expect_ttx(subsetfont, self.getpath("expect_keep_gvar.ttx"), ["GlyphOrder", "avar", "fvar", "…
204 _, fontpath = self.compile_font(self.getpath("TestGVAR.ttx"), ".ttf")
208 …self.expect_ttx(subsetfont, self.getpath("expect_keep_gvar_notdef_outline.ttx"), ["GlyphOrder", "a…
211 _, fontpath = self.compile_font(self.getpath("TestLCAR-0.ttx"), ".ttf")
218 _, fontpath = self.compile_font(self.getpath("TestLCAR-0.ttx"), ".ttf")
223 self.expect_ttx(subsetfont, self.getpath("expect_lcar_0.ttx"), ["lcar"])
226 _, fontpath = self.compile_font(self.getpath("TestLCAR-1.ttx"), ".ttf")
231 self.expect_ttx(subsetfont, self.getpath("expect_lcar_1.ttx"), ["lcar"])
234 _, fontpath = self.compile_font(self.getpath("TestMATH-Regular.ttx"), ".ttf")
238 …self.expect_ttx(subsetfont, self.getpath("expect_keep_math.ttx"), ["GlyphOrder", "CFF ", "MATH", "…
245 _, fontpath = self.compile_font(self.getpath("TestOPBD-0.ttx"), ".ttf")
252 _, fontpath = self.compile_font(self.getpath("TestOPBD-0.ttx"), ".ttf")
256 self.expect_ttx(subsetfont, self.getpath("expect_opbd_0.ttx"), ["opbd"])
259 _, fontpath = self.compile_font(self.getpath("TestOPBD-1.ttx"), ".ttf")
263 self.expect_ttx(subsetfont, self.getpath("expect_opbd_1.ttx"), ["opbd"])
268 _, fontpath = self.compile_font(self.getpath("TestPROP.ttx"), ".ttf")
282 _, fontpath = self.compile_font(self.getpath("TestPROP.ttx"), ".ttf")
287 self.expect_ttx(subsetfont, self.getpath("expect_prop_0.ttx"), ["prop"])
293 _, fontpath = self.compile_font(self.getpath("TestPROP.ttx"), ".ttf")
298 self.expect_ttx(subsetfont, self.getpath("expect_prop_1.ttx"), ["prop"])
310 _, fontpath = self.compile_font(self.getpath("google_color.ttx"), ".ttf")
320 _, fontpath = self.compile_font(self.getpath("google_color.ttx"), ".ttf")
328 _, fontpath = self.compile_font(self.getpath("TestTTF-Regular.ttx"), ".ttf")
347 _, fontpath = self.compile_font(self.getpath("TestTTF-Regular.ttx"), ".ttf")
371 self.getpath("TestTTF-Regular_non_BMP_char.ttx"), ".ttf")
383 self.getpath("TestTTF-Regular_non_BMP_char.ttx"), ".ttf")
400 ttxpath = self.getpath("Lobster.subset.ttx")
406 self.expect_ttx(subsetfont, self.getpath(
410 ttxpath = self.getpath("Lobster.subset.ttx")
416 self.expect_ttx(subsetfont, self.getpath(
420 ttxpath = self.getpath("test_hinted_subrs_CFF.ttx")
426 self.expect_ttx(subsetfont, self.getpath(
430 ttxpath = self.getpath("test_hinted_subrs_CFF.ttx")
436 self.expect_ttx(subsetfont, self.getpath(
440 _, fontpath = self.compile_font(self.getpath("TestTTF-Regular.ttx"), ".ttf")
445 self.expect_ttx(subsetfont, self.getpath(
452 _, fontpath = self.compile_font(self.getpath("NotdefWidthCID-Regular.ttx"), ".otf")
456 self.expect_ttx(subsetfont, self.getpath("expect_notdef_width_cid.ttx"), ["CFF "])
459 ttxpath = self.getpath("TestTTF-Regular.ttx")
474 ttxpath = self.getpath("TestOTF-Regular.ttx")
489 _, fontpath = self.compile_font(self.getpath("TestTTF-Regular.ttx"), ".ttf")
521 _, fontpath = self.compile_font(self.getpath("TestOTF-Regular.ttx"), ".otf")
556 fontpath = self.getpath("../../varLib/data/TestCFF2VF.otf")