Skip to main content

Fonts

Draw text in any of the 37 bundled bitmap fonts. Pass a font by name:

c.text("BIG", 2, 2, font="16x24", color="green")
c.text("TINY", 2, 26, font="4x5", color="white")
Fonts are UPPERCASE-only

The bitmap fonts only contain capital letters; lowercase characters are silently skipped (they simply don't draw). If your text comes from an input, call .upper() on it: c.text(name.upper()...).

See the full Fonts reference for every font at its real size, or run gdn fonts to list them.

Next