Skip to main content
4 min read

Fonts

GDN bundles 40 bitmap fonts tuned for tiny panels. Pass one by name to c.text(...):

c.text("BIG", 2, 2, font="16x24", color="green")
c.text("TINY", 2, 26, font="4x5", color="white")
c.text("HERO", 2, 2, font="10x16_outline", color="#FFE8A8") # self-outlined
Uppercase only

Most of these fonts contain only capital letters and digits. Lowercase letters are silently skipped, so call .upper() on text that comes from an input.

The outline faces

10x15_outline and 10x16_outline carry a border inside the glyphs — every letter arrives already outlined, in the color you pass. Use them for a hero on a filled or tinted background without a c.text_stroke call. 10x15 is the matching solid face. Which font plays which role on the panel is in the design guidelines.

Every bundled font, rendered (specimen text ABC XYZ 0123), smallest to largest — click a card to copy the font name:

List them any time with gdn fonts.