From 347f6544aa58f21af715b458430cca97a5b16152 Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Tue, 14 Jul 2026 17:40:54 +0100 Subject: [PATCH] =?UTF-8?q?docs(agent):=20file=20#122=20=E2=80=94=20a=20cr?= =?UTF-8?q?isper=20fastfetch=20logo,=20with=20the=20trap=20named=20up=20fr?= =?UTF-8?q?ont?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bernardo 2026-07-14: the fastfetch logo should be crisper, with straight lines. Filed with the cause rather than the wish. modules/home/fastfetch.nix converts the vector mark with `chafa --symbols block --size 20x10`, and that symbol class is the chunkiness: restricted to full/half blocks, a 20x10 grid carries ~20x20 pixels of detail, so every diagonal staircases. chafa 1.18.2 ships sextant (2x3 subcells), quad and wedge — verified present today, so the cheap lever exists. Named the trap that decides the approach, because trying it first is what prevents a wasted round: sextants are Unicode 13 Symbols for Legacy Computing, and if the shipped terminal font lacks them the logo renders as tofu — strictly worse than chunky. So font coverage in the real Ghostty gets checked before a symbol class is chosen, and if it is missing, hand-authored box-drawing art is the honest alternative (and the only way to get genuinely straight lines; any image→symbol converter approximates). Also recorded that the three logo surfaces are different renderers — fastfetch, the ISO splash, the Waybar glyph font — so this item touches one of them, while a change to the shared logo.svg would hit all three and should be split. Visual change, so THEME-DESIGN and the honesty rule apply: pass needs screenshots viewed under two themes, no tofu, accent tracking intact, and the fastfetch row grid still aligned. V0: nix flake check --no-build passes. Backlog only. Co-Authored-By: Claude Opus 4.8 --- agent/BACKLOG.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/agent/BACKLOG.md b/agent/BACKLOG.md index 319c471..cc39ba4 100644 --- a/agent/BACKLOG.md +++ b/agent/BACKLOG.md @@ -126,6 +126,52 @@ pre-existing ISO-pinning gap. ## NEXT +### 122. A crisper Nomarchy logo in fastfetch + +Bernardo 2026-07-14: the ASCII/block logo fastfetch prints should be **crisper, +with straight lines** — a "high resolution" ASCII logo rather than the chunky +mark it renders today. + +Where it comes from (`modules/home/fastfetch.nix:12-17`): the vendored vector +mark is rasterised at 220px (`rsvg-convert`), recoloured to `theme.colors.accent` +with `magick`, and converted at build time by +`chafa --format symbols --symbols block --size 20x10 --colors full`. **That +`--symbols block` is the cause**: it restricts chafa to full/half blocks, so a +20×10 grid carries roughly 20×20 pixels of detail and every diagonal turns into +a staircase. + +Cheap levers, in the order worth trying (chafa 1.18.2 ships them all — verified +2026-07-14): `--symbols sextant` (2×3 subcells per character — 6× the detail of +block, and the usual answer to exactly this), `quad`/`wedge` for 2×2, and a +larger `--size` with a matching `rsvg-convert -w`. `braille` is 2×4 but reads as +dots, not lines — probably wrong for a logo that wants straight edges. + +**The trap that decides the whole approach, and must be checked FIRST:** +sextants and friends are Unicode 13 *Symbols for Legacy Computing* (U+1FB00–). +If the shipped terminal font lacks them, the logo renders as **tofu boxes** — +strictly worse than chunky. Verify coverage in the real terminal (Ghostty) with +the fonts the distro actually ships (`nerd-fonts-jetbrains-mono` et al.) before +committing to a symbol class; if coverage is missing or partial, the honest +answer may be a **hand-authored** logo in box-drawing glyphs (`─ │ ┌ ┐ └ ┘ ━ ┃` ++ block elements), which is the only way to get *genuinely* straight lines — +any image→symbol converter approximates. That would trade the automatic +accent-recolouring for hand-tuned art, so keep the recolour path +(`file-raw` + a build-time colorize) either way. + +Do **not** conflate the three logo surfaces — they are different renderers and +a change here touches only the first: fastfetch (this item), the ISO boot splash +(`hosts/live.nix` `isoSplash`, rsvg→magick), and the Waybar menu glyph +(`Nomarchy.ttf` U+F000, `modules/nixos/branding/`). The vector source +(`modules/nixos/branding/logo.svg`) is shared, so a change to *it* hits all +three — if the SVG is what needs work, say so and split the item. + +This is a **visual change**, so `agent/THEME-DESIGN.md` and the honesty rule +apply: no "it probably looks fine". Pass = the logo reads crisply in a real +terminal at the shipped font, **screenshots captured and viewed under at least +two themes** (one generated palette, one whole-swap), no tofu, it still tracks +the accent on a theme switch, and the fastfetch layout still lines up (the logo +column and the module list share a row grid — changing `--size` moves it). + ### 120. A netinstall ISO, next to the fat offline one Bernardo 2026-07-14, after seeing the measured size: **keep the current ISO