Fixes to docs and code comment.

pull/28/head
Peter Hinch 2019-09-09 06:51:29 +01:00
rodzic 6f3ed4e66b
commit 229ec1ba4b
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -233,7 +233,7 @@ most of the elements would be null (pointing to the default character).
The code now behaves as follows. If the character set contains no more than 95
characters (including the default) the emitted Python file is as before. This
keeps the code small and efficient for the common (default) case).
keeps the code small and efficient for the common (default) case.
Larger character sets are assumed to be sparse and the emitted code uses an
index optimised for sparse values and a binary search algorithm.

Wyświetl plik

@ -389,7 +389,7 @@ class Font(dict):
# The index only holds the start of data so can't read next_offset but must
# calculate it.
STR01 = """# Code generated by font-to-py.py.
STR01 = """# Code generated by font_to_py.py.
# Font: {}{}
# Cmd: {}
version = '0.3'