This commit is contained in:
arpruss
2018-07-14 18:19:37 -05:00
parent 9d9a55153a
commit edfa4cb674
5 changed files with 19 additions and 2 deletions

9
makelist.py Normal file
View File

@@ -0,0 +1,9 @@
from sys import argv
import re
fonts = []
with open(argv[1]) as f:
for line in f:
if line.startswith("FONT_"):
fonts.append(line.split()[0])
print("FONTS = [ " + ','.join(fonts) + " ];\n")