diff options
| author | user <user@clank> | 2026-08-30 20:24:53 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-30 20:24:53 +0200 |
| commit | 65567cfbbc301e047cf1f84fdad305e28f199a4f (patch) | |
| tree | 3bda3bab1e5992cf6e977fc712d4791cdfb1536c /include/expr.h | |
| parent | web: the magnet scroll goes (diff) | |
| download | slosh-65567cfbbc301e047cf1f84fdad305e28f199a4f.tar.gz slosh-65567cfbbc301e047cf1f84fdad305e28f199a4f.tar.xz slosh-65567cfbbc301e047cf1f84fdad305e28f199a4f.zip | |
web: the logo becomes geometry -- fonts cannot break rects
Android reports arrived of the logo rendering shattered, and the cause
is the ascii itself: the default monospace there has no block glyphs,
so every ▀▄█ falls back to whatever font volunteers, each with its own
metrics, and the grid comes apart. No font stack fixes a missing
glyph, and shipping a font is against the house rules.
So the logo stops being text: web/gen-logo-mask turns logo.txt into an
SVG of merged rects, inlined into site.css as a data URI and used as a
CSS mask on an empty element. The animated background layers show
through the mask exactly as they showed through background-clip: text,
so every effect survives -- gradient slide, shine, hue, glow -- and
two old hacks retire with the fonts: the letter-spacing pinstripe fix,
and (after one round of seams at fractional mask scales) a vertical
overlap baked into the rects. Same 318x84 box, same placement math,
and a hero that reads as role=img with a label instead of seven rows
of block glyphs.
Diffstat (limited to 'include/expr.h')
0 files changed, 0 insertions, 0 deletions
