kopia lustrzana https://github.com/peterhinch/micropython-font-to-py
Fix and document font_test.py.
rodzic
d187b8da02
commit
5975b35883
|
@ -274,11 +274,12 @@ index optimised for sparse values and a binary search algorithm.
|
||||||
# Appendix 3: font_test.py
|
# Appendix 3: font_test.py
|
||||||
|
|
||||||
This enables a Python font file to be described and rendered at the command
|
This enables a Python font file to be described and rendered at the command
|
||||||
prompt. It provides a useful way of checking unknown font files.
|
prompt. It provides a useful way of checking unknown font files. Compatibility
|
||||||
|
with files created by old versions of `font_to_py` is not guaranteed.
|
||||||
|
|
||||||
It runs under Python 3.2 or above. If you created a font `myfont.py` the
|
It runs under Python 3.2 or above. Given a font `myfont.py` the following will
|
||||||
following will render the supplied string (assuming that `font_test.py` has
|
render the supplied string (assuming that `font_test.py` has executable
|
||||||
executable privilege):
|
privilege):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./font_test myfont Hello
|
./font_test myfont Hello
|
||||||
|
|
Ładowanie…
Reference in New Issue