Skip to content

Commit 67a3267

Browse files
authored
Update build.py
Removing old code that makes Dustin annoyed.
1 parent 1560076 commit 67a3267

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

build.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,6 @@ def compile_variable_and_save(
258258

259259
if vtt_compile:
260260
print(f"[{familyName} {styleName}] Compiling VTT")
261-
262-
tree = ET.ElementTree()
263-
TSICfile = tempfile.NamedTemporaryFile()
264-
varFont.saveXML(TSICfile.name, tables=["TSIC"])
265-
tree = ET.parse(TSICfile.name)
266261
vttLib.compile_instructions(varFont, ship=True)
267262
else:
268263
file_path = (OUTPUT_TTF_DIR / str(file_stem+"_VTT")).with_suffix(".ttf")

0 commit comments

Comments
 (0)