feat(microslice): add the glyph lab #239

targeting main from claude/ms-glyphs
Merged opened by topos-backsword.test.pds.did.bot
targeting main from claude/ms-glyphs

A glyph lab microslice: the same eight toolbots drawn six ways — combining marks above, below and stacked; two glyphs in one cell; corner blocks, coloured underlines and small superscripts; three colour channels; a plain fallback; and a mock map beside a guard, a camera and a terminal. 1-5 pick a sheet, 0 the map, Space steps through, and F2 cycles the terminal face; the footer names the face and its size. Build with scripts/microslice.sh glyphs and serve with scripts/microslice-serve.sh.

The mock map at JetBrains Mono 20

The kit gains what the sheets needed: Marks (a glyph squeezed into half a cell, a glyph over the cell's own, a small corner glyph, a corner block, and a coloured bottom rule); a one-cell scratch and glyph cache on every face, so a combining mark cannot paint over its neighbour; a full clear each frame; underlines drawn by the kit, which moves the default X11 face's underline two pixels down to the cell's bottom row; and face names that carry their sizes.

Sub-cell decorations at JetBrains Mono 20

Plain fallback at JetBrains Mono 20

Combining marks are not portable: the bitmap faces draw the base glyph only, the embedded JetBrains subset has no diacritics, IBM Plex and Terminus give a dot and a diaeresis above but no three-dot mark, and a mark below is clipped by the cell. The sheets point to a hybrid grammar (chassis glyph, arm count as a half-width or small corner glyph, threat class as the foreground colour, disposition as the background tint) and a plain fallback (chassis letter, threat colour, disposition tint).

Combining marks at IBM Plex Mono 20: dot and diaeresis above render

Commits 2

fix(microslice): pass marks to the new slices' draws
feat(microslice): add the glyph lab
Sign up or Sign in to add to the discussion.