Text that always draws — a built-in face, a glyph atlas, measured metrics, wrapping and alignment, with no font file and no GL context
loft install text2d
use text2d;
| Guide | getting started with text2d |
|---|---|
| Version | 0.4.6 — published 2026-10-06 |
| Categories | Text · Graphics and 3D |
| Requires | loft >=2026.10.0 |
| Compatibility | API: drop-in for 0.4.0 and later · stored data: drop-in for 0.4.0 and later |
| Download | 30 kB |
| Public API | 28 items, with their documentation |
| Dependencies | graphics |
| Used by | no other registry package — you would be the first |
| Source | read it here — the libraries are written in loft |
| Repository | https://github.com/loft-lang/loft-libs-graphics/tree/main/text2d |
A drop-in floor is the oldest release of this package the current one still replaces without a source change. Not declared means exactly that — the package has made no promise, which is the honest state for one published before the compatibility contract existed.