Lines Matching refs:suffix
45 def get_file_list(folder, suffix, prefix=''): argument
49 if p.startswith(prefix) and p.endswith(suffix):
53 def temp_path(self, suffix): argument
57 "tmp%d%s" % (self.num_tempfiles, suffix))
63 def compile_font(self, path, suffix, temp_dir): argument
65 savepath = os.path.join(temp_dir, ttx_filename.replace('.ttx', suffix))
76 suffix = '.ttf'
82 self.compile_font(path, suffix, self.tempdir)
84 ttf_paths = self.get_file_list(self.tempdir, suffix)
89 suffix = '.otf'
95 self.compile_font(path, suffix, self.tempdir)
97 otf_paths = self.get_file_list(self.tempdir, suffix)