venusian-surface / fonts
Surface bitmap faces: the GFXFont registry, the classic 5x7, make:font, and the Fonts alias.
v0.8.1
2026-09-18 17:33 UTC
Requires
- php: ^8.4|^8.5|^8.6
- venusian-surface/contracts: ^0.8.0
- venusian-voyager/console: ^0.8.0
- venusian-voyager/filesystem: ^0.8.0
- venusian-voyager/magic-aliases: ^0.8.0
- venusian-voyager/nuts-and-bolts: ^0.8.0
Requires (Dev)
None
Suggests
- venusian/letterhead: ^0.8.0 - 57 faces: FreeSans, FreeSerif, FreeMono, Montserrat, U8g2, HelvB, Unscii, Logisoso, one-offs.
Provides
None
Conflicts
None
Replaces
None
README
Bitmap faces for Surface. Fonts::face('helvb-12') answers a GFXFont; the
sketch hands it to Drawing2D::text(). Registry only — drawing lives in
surface/drawing, face data in venusian/letterhead.
$hud = Fonts::face('helvb-12'); // registry, once $mono = Fonts::face(); // classic 5x7 $g->text('HELLO', 0.0, 0.0, Color::hex('#fff'), $hud);
config/fonts.php: default slug (FONT_FACE), faces map
slug => ['class', 'enabled']. php computer make:font Name scaffolds a
face under app/Fonts; --from=FreeSans9pt7b.h imports an Adafruit header.