Search by

Surface bitmap faces: the GFXFont registry, the classic 5x7, make:font, and the Fonts alias.

Package info

github.com/venusian-surface/fonts

pkg:composer/venusian-surface/fonts

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.8.1 2026-09-18 17:33 UTC

This package is auto-updated.

Last update: 2026-09-18 17:41:41 UTC


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.