mirror of
https://github.com/JetBrains/JetBrainsMono.git
synced 2024-08-16 19:50:28 +03:00
Print status during WOFF2 generation
This commit is contained in:
parent
bbac791149
commit
e02c9cac29
@ -5,4 +5,5 @@ from fontTools.ttLib import TTFont
|
|||||||
for filepath in glob.iglob('fonts/variable/*.ttf'):
|
for filepath in glob.iglob('fonts/variable/*.ttf'):
|
||||||
f = TTFont(filepath)
|
f = TTFont(filepath)
|
||||||
f.flavor = 'woff2'
|
f.flavor = 'woff2'
|
||||||
|
print('INFO:fontTools.ttLib.woff2:Building WOFF2 for ' + filepath)
|
||||||
f.save(os.path.splitext(filepath)[0] + '.woff2')
|
f.save(os.path.splitext(filepath)[0] + '.woff2')
|
||||||
|
Loading…
Reference in New Issue
Block a user