Skip to content

Commit

Permalink
Print status during WOFF2 generation
Browse files Browse the repository at this point in the history
  • Loading branch information
naiyerasif authored Mar 26, 2022
1 parent bbac791 commit e02c9ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/generate_variable_webfonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
for filepath in glob.iglob('fonts/variable/*.ttf'):
f = TTFont(filepath)
f.flavor = 'woff2'
print('INFO:fontTools.ttLib.woff2:Building WOFF2 for ' + filepath)
f.save(os.path.splitext(filepath)[0] + '.woff2')

0 comments on commit e02c9ca

Please sign in to comment.