Skip to content

Commit

Permalink
Merge pull request #437 from googlefonts/vtt-fix
Browse files Browse the repository at this point in the history
save fonts after running vttLib
  • Loading branch information
m4rc1e authored Nov 9, 2021
2 parents f7d1fb9 + 0af2dcb commit e97eb83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/gftools/builder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ def build_vtt(self, font_dir):
gasp_tbl.gaspRange = {8: 10, 65535: 15}
gasp_tbl.version = 1
font['gasp'] = gasp_tbl
font.save(font.reader.file.name)

def move_webfont(self, filename):
wf_filename = filename.replace(".ttf", ".woff2")
Expand Down

0 comments on commit e97eb83

Please sign in to comment.