Thank you very much for this library!
In the explanation of Font to Python, the example is missing a call to "Python" OR "python3" so I wasted a few hours until I realized that I need to call Python first.
Also, the extension file name needs to have the extension ".txt"
$ font_to_py.py FreeSans.ttf 23 myfont.py
$ font_to_py.py -k extended FreeSans.ttf 23 my_extended_font.py
TO:
$ python font_to_py.py FreeSans.ttf 23 myfont.py # OR python3
$ python font_to_py.py -k extended.txt FreeSans.ttf 23 my_extended_font.py
It is also worth emphasizing that it is not mandatory to execute both lines in the example, but one of them is possible
Thank you very much for this library!
In the explanation of Font to Python, the example is missing a call to "Python" OR "python3" so I wasted a few hours until I realized that I need to call Python first.
Also, the extension file name needs to have the extension ".txt"
$ font_to_py.py FreeSans.ttf 23 myfont.py$ font_to_py.py -k extended FreeSans.ttf 23 my_extended_font.pyTO:
$ python font_to_py.py FreeSans.ttf 23 myfont.py# OR python3$ python font_to_py.py -k extended.txt FreeSans.ttf 23 my_extended_font.pyIt is also worth emphasizing that it is not mandatory to execute both lines in the example, but one of them is possible