Lines Matching refs:suffix

42     def get_file_list(folder, suffix, prefix=''):  argument
46 if p.startswith(prefix) and p.endswith(suffix):
50 def temp_path(self, suffix): argument
54 "tmp%d%s" % (self.num_tempfiles, suffix))
73 path = self.temp_path(suffix=".ttx")
83 def check_ttx_dump(self, font, expected_ttx, tables, suffix): argument
85 path = self.temp_path(suffix=suffix)
89 def compile_font(self, path, suffix, temp_dir, features=None): argument
91 savepath = os.path.join(temp_dir, ttx_filename.replace('.ttx', suffix))
109 suffix = '.ttf'
117 self.compile_font(path, suffix, self.tempdir)
119 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
125 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
133 suffix = '.ttf'
141 self.compile_font(path, suffix, self.tempdir)
143 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
149 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
166 suffix = '.ttf'
181 self.compile_font(path, suffix, self.tempdir, features[i])
183 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
189 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
195 suffix = '.ttf'
210 self.compile_font(path, suffix, self.tempdir, features[i])
212 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
218 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
224 suffix = '.ttf'
244 self.compile_font(path, suffix, self.tempdir, features[i])
246 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
252 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
258 suffix = '.ttf'
279 self.compile_font(path, suffix, self.tempdir, features[i])
281 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
287 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
293 suffix = '.ttf'
308 self.compile_font(path, suffix, self.tempdir, features[i])
310 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
316 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
322 suffix = '.ttf'
342 self.compile_font(path, suffix, self.tempdir, features[i])
344 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
350 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
356 suffix = '.ttf'
377 self.compile_font(path, suffix, self.tempdir, features[i])
379 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
385 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
391 suffix = '.ttf'
406 self.compile_font(path, suffix, self.tempdir, features[i])
408 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
414 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
420 suffix = '.ttf'
440 self.compile_font(path, suffix, self.tempdir, features[i])
442 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
448 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
454 suffix = '.ttf'
475 self.compile_font(path, suffix, self.tempdir, features[i])
477 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
483 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
489 suffix = '.ttf'
504 self.compile_font(path, suffix, self.tempdir, features[i])
506 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
512 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
518 suffix = '.ttf'
538 self.compile_font(path, suffix, self.tempdir, features[i])
540 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
546 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
552 suffix = '.ttf'
568 self.compile_font(path, suffix, self.tempdir, features[i])
570 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
576 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
582 suffix = '.ttf'
604 self.compile_font(path, suffix, self.tempdir, features[i])
606 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
612 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
618 suffix = '.ttf'
635 self.compile_font(path, suffix, self.tempdir, features[i])
637 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
643 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
649 suffix = '.ttf'
673 self.compile_font(path, suffix, self.tempdir, features[i])
675 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
681 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
687 suffix = '.ttf'
703 self.compile_font(path, suffix, self.tempdir, features[i])
705 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
711 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
717 suffix = '.ttf'
739 self.compile_font(path, suffix, self.tempdir, features[i])
741 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
747 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
753 suffix = '.ttf'
777 self.compile_font(path, suffix, self.tempdir, features[i])
779 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
785 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
791 suffix = '.ttf'
829 self.compile_font(path, suffix, self.tempdir, features[i])
831 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
837 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
843 suffix = '.ttf'
853 self.compile_font(path, suffix, ttf_dir)
855 finder = lambda s: s.replace(ufo_dir, ttf_dir).replace('.ufo', suffix)
858 varfont_path = os.path.join(self.tempdir, varfont_name + suffix)
866 instfont_path = os.path.splitext(varfont_path)[0] + '-instance' + suffix