$ python2 font_export.py fonts/all_caps_3x5.font test
$ python font_export.py fonts/all_caps_3x5.font test
Traceback (most recent call last):
File "/home/akos/repos/modm/tools/font_creator/font_export.py", line 229, in <module>
font = read_font_file(filename)
File "/home/akos/repos/modm/tools/font_creator/font_export.py", line 157, in read_font_file
char.data[offset + index] |= 1 << (char_line_index % 8)
TypeError: list indices must be integers or slices, not float
After
$ python2 font_export.py fonts/all_caps_3x5.font test
$ python font_export.py fonts/all_caps_3x5.font test
Script was not working with Python 3
Before
After