Split fonts into several files (loading several fonts at once does surge the PyBoard memory)
Moved fonts.py to /fonts/arial_14.py (named Arial_14 )
Update the import statement in lcd.py to import Arial_14 from fonts.arial_14
Added /fonts/vera_14.py (named Vera_14)
Added /fonts/veram_14.py (named VeraMono_14)
Added /fonts/heydi_20.py (named Heydings_20) NOT COMPATIBLE YET SEE NOTE
Example of use:
from fonts.vera_14 import Vera_14
from lcd import *
l = LCD( rate = 21000000 )
l.fillMonocolor( WHITE )
l.charsTest( color=BLACK, bgcolor=WHITE, font=Vera_14 )
About Heydings_20 rendering
This font is a Winding alike, so it is bigger that other font.
This font makes 20 x 20 pixels. So I did encode the values on 24bits (a multiple of byte).
Apparently the **rendering routine does not support such sizing***. This results in a weird display.
However, the bit coding looks right, see the sample here under
c = Heydings_20['69']
for value in c:
print( bin( value ) )
Example of use:
About Heydings_20 rendering
This font is a Winding alike, so it is bigger that other font. This font makes 20 x 20 pixels. So I did encode the values on 24bits (a multiple of byte). Apparently the **rendering routine does not support such sizing***. This results in a weird display. However, the bit coding looks right, see the sample here under
which produce the following results