From 70d0b36830616a9f94ee0afa8486dc510e9743eb Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Thu, 28 Aug 2014 21:40:06 +0200 Subject: cleanup --- makefont.py | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 makefont.py (limited to 'makefont.py') diff --git a/makefont.py b/makefont.py deleted file mode 100644 index 5d5d419..0000000 --- a/makefont.py +++ /dev/null @@ -1,42 +0,0 @@ -# this is a simple script to convert the binfont.src into binary -# everything but 0 an 1 are ignored - -import binascii - -f=open("binfont.src",'r') -o=open("binfont.bin",'wb') - -b="" -l=0 -while True: - - c=f.read(1) - - if not c: - break - - if c=="0" or c=='_': - l+=1 - b+="0" - - if c=="1" or c=='X': - l+=1 - b+="1" - - if l==8: -# print b - l=0 - o.write(chr(int(b,2))) - b="" - - - - - -print "eof" - - - -o.close() - - -- cgit v1.2.3