atlas/tools/unused/allCharacters.py
Hans5958 0cd0896629 Move unused scripts to the unused folder
Just realised theere is shrinkFont and allCharacters. Is it even worth it to recompile for every new character?
2022-04-19 09:05:25 +07:00

20 lines
286 B
Python

outfile = open('allCharacters.txt', 'w')
chars = set()
with open('./web/_js/atlas.js') as f:
while True:
c = f.read(1)
if not c:
chars = list(chars)
chars = sorted(chars)
string = ""
for i in chars:
string += i
outfile.write(string)
break
chars.add(c)