implements PLN-0065 pixel font assessment

This commit is contained in:
2026-05-15 17:58:15 +01:00
parent 1393eeb54f
commit c16c5a426c
2 changed files with 22 additions and 7 deletions
@@ -2,7 +2,7 @@
id: PLN-0065
ticket: prometeu-hub-ui-direction
title: Pixel Operator Font Integration
status: open
status: done
created: 2026-05-15
ref_decisions: [DEC-0028]
tags: [hub, ui, shell, system-apps, lifecycle, design-system]
@@ -69,11 +69,11 @@ Use pixel-style typography for the Hub/Home and fake Shell app labels while keep
## Acceptance Criteria
- [ ] Pixel Operator asset location and format are verified.
- [ ] Hub text rendering uses Pixel Operator when the existing rendering path supports it.
- [ ] If deferred, the reason is recorded and `PLN-0064` remains executable.
- [ ] No broad font/text toolkit is introduced.
- [ ] Text remains legible at 270p.
- [x] Pixel Operator asset location and format are verified.
- [x] Hub text rendering uses Pixel Operator when the existing rendering path supports it.
- [x] If deferred, the reason is recorded and `PLN-0064` remains executable.
- [x] No broad font/text toolkit is introduced.
- [x] Text remains legible at 270p.
## Tests
@@ -86,3 +86,18 @@ Use pixel-style typography for the Hub/Home and fake Shell app labels while keep
- `assets/pixel_operator*`
- `crates/console/prometeu-system/src/programs/prometeu_hub/`
- Existing HAL/GFX/asset modules if they already host font or glyph rendering
## Execution Notes
The asset is present under `assets/pixel-operator/` as TrueType files, including:
- `PixelOperator.ttf`
- `PixelOperator8.ttf`
- `PixelOperatorMono.ttf`
- `PixelOperatorMono8.ttf`
The included license is CC0 1.0 Universal.
The current runtime text path does not have a TTF loader, font manager, glyph rasterizer, or asset-backed font registration path. Hub/System UI currently reaches text through `GfxBridge::draw_text`, backed by the built-in 3x5 bitmap glyph path in `crates/console/prometeu-drivers/src/gfx.rs`.
Because `DEC-0028` explicitly forbids expanding this wave into a broad toolkit and this plan forbids introducing a general font manager/text engine, Pixel Operator rendering is deferred. `PLN-0064` remains executable and tested with the existing bitmap text path, which is already pixel-style and legible at 270p.