kopia lustrzana https://github.com/peterhinch/micropython-font-to-py
Fixes to docs and code comment.
rodzic
6f3ed4e66b
commit
229ec1ba4b
|
@ -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
|
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
|
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
|
Larger character sets are assumed to be sparse and the emitted code uses an
|
||||||
index optimised for sparse values and a binary search algorithm.
|
index optimised for sparse values and a binary search algorithm.
|
||||||
|
|
|
@ -389,7 +389,7 @@ class Font(dict):
|
||||||
# The index only holds the start of data so can't read next_offset but must
|
# The index only holds the start of data so can't read next_offset but must
|
||||||
# calculate it.
|
# calculate it.
|
||||||
|
|
||||||
STR01 = """# Code generated by font-to-py.py.
|
STR01 = """# Code generated by font_to_py.py.
|
||||||
# Font: {}{}
|
# Font: {}{}
|
||||||
# Cmd: {}
|
# Cmd: {}
|
||||||
version = '0.3'
|
version = '0.3'
|
||||||
|
|
Ładowanie…
Reference in New Issue