Fix and document font_test.py.

pull/28/head
Peter Hinch 2020-02-14 11:03:09 +00:00
rodzic d187b8da02
commit 5975b35883
1 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -274,11 +274,12 @@ index optimised for sparse values and a binary search algorithm.
# Appendix 3: font_test.py
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
following will render the supplied string (assuming that `font_test.py` has
executable privilege):
It runs under Python 3.2 or above. Given a font `myfont.py` the following will
render the supplied string (assuming that `font_test.py` has executable
privilege):
```bash
./font_test myfont Hello