Skip to content

"python" and "txt" #68

@sgbmzm

Description

@sgbmzm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions