• Home
  • Raw
  • Download

Lines Matching refs:suffix

44     def get_file_list(folder, suffix, prefix=''):  argument
48 if p.startswith(prefix) and p.endswith(suffix):
52 def temp_path(self, suffix): argument
56 "tmp%d%s" % (self.num_tempfiles, suffix))
75 path = self.temp_path(suffix=".ttx")
85 def check_ttx_dump(self, font, expected_ttx, tables, suffix): argument
87 path = self.temp_path(suffix=suffix)
91 def compile_font(self, path, suffix, temp_dir, features=None): argument
93 savepath = os.path.join(temp_dir, ttx_filename.replace('.ttx', suffix))
111 suffix = '.ttf'
119 self.compile_font(path, suffix, self.tempdir)
121 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
127 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
135 suffix = '.ttf'
143 self.compile_font(path, suffix, self.tempdir)
145 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
151 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
168 suffix = '.ttf'
183 self.compile_font(path, suffix, self.tempdir, features[i])
185 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
191 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
197 suffix = '.ttf'
212 self.compile_font(path, suffix, self.tempdir, features[i])
214 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
220 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
226 suffix = '.ttf'
246 self.compile_font(path, suffix, self.tempdir, features[i])
248 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
254 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
260 suffix = '.ttf'
281 self.compile_font(path, suffix, self.tempdir, features[i])
283 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
289 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
295 suffix = '.ttf'
310 self.compile_font(path, suffix, self.tempdir, features[i])
312 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
318 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
324 suffix = '.ttf'
344 self.compile_font(path, suffix, self.tempdir, features[i])
346 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
352 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
358 suffix = '.ttf'
379 self.compile_font(path, suffix, self.tempdir, features[i])
381 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
387 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
393 suffix = '.ttf'
408 self.compile_font(path, suffix, self.tempdir, features[i])
410 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
416 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
422 suffix = '.ttf'
442 self.compile_font(path, suffix, self.tempdir, features[i])
444 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
450 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
456 suffix = '.ttf'
477 self.compile_font(path, suffix, self.tempdir, features[i])
479 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
485 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
491 suffix = '.ttf'
506 self.compile_font(path, suffix, self.tempdir, features[i])
508 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
514 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
520 suffix = '.ttf'
540 self.compile_font(path, suffix, self.tempdir, features[i])
542 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
548 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
554 suffix = '.ttf'
570 self.compile_font(path, suffix, self.tempdir, features[i])
572 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
578 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
584 suffix = '.ttf'
606 self.compile_font(path, suffix, self.tempdir, features[i])
608 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
614 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
620 suffix = '.ttf'
637 self.compile_font(path, suffix, self.tempdir, features[i])
639 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
645 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
651 suffix = '.ttf'
675 self.compile_font(path, suffix, self.tempdir, features[i])
677 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
683 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
689 suffix = '.ttf'
705 self.compile_font(path, suffix, self.tempdir, features[i])
707 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
713 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
719 suffix = '.ttf'
741 self.compile_font(path, suffix, self.tempdir, features[i])
743 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
749 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
755 suffix = '.ttf'
779 self.compile_font(path, suffix, self.tempdir, features[i])
781 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
787 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
793 suffix = '.ttf'
831 self.compile_font(path, suffix, self.tempdir, features[i])
833 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
839 self.check_ttx_dump(instfont, expected_ttx_path, tables, suffix)
845 suffix = '.ttf'
855 self.compile_font(path, suffix, ttf_dir)
857 finder = lambda s: s.replace(ufo_dir, ttf_dir).replace('.ufo', suffix)
860 varfont_path = os.path.join(self.tempdir, varfont_name + suffix)
868 instfont_path = os.path.splitext(varfont_path)[0] + '-instance' + suffix