fonts — Pixel arrays of fonts for the Kookaberry display
Example Usage:
import fonts
from kooka import display as disp # Create the Kookaberry display object
disp.fill(0) # clear the display
disp.setfont(fonts.mono8x8) # set the font
disp.print('Hello World!') # print a message using the font
Class fonts
Instances
- fonts.mono5x5
- fonts.mono6x7
- fonts.mono8x13
- fonts.mono8x8
- fonts.sans12
These objects give access to pixel maps of font sets for use on the Kookaberry’s display, or any other framebuf display.
The font sizes are as shown in the names of the objects:
mono5x5font size is 5 pixels wide by 5 pixels highmono6x7font size is 6 pixels wide by 7 pixels highmono8x13font size is 8 pixels wide by 13 pixels highmono8x8font size is 8 pixels wide by 8 pixels highsans12font size is sans serif 12 pixels wide by 12 pixels high