# fix\(web\): refuse proportional faces in the terminal grid · stienswout/t3code

[View on GitCafe](https://git.cafe/stienswout/t3code/commit/2977bae3ba52c83f62e76052d6f8359cd0475da9)

Repository: [stienswout/t3code](https://git.cafe/stienswout/t3code)

Visibility: public

Requested revision: 2977bae3ba52c83f62e76052d6f8359cd0475da9

Requested commit: 2977bae3ba52c83f62e76052d6f8359cd0475da9

Commit: 2977bae3ba52c83f62e76052d6f8359cd0475da9

Tree: 283ecb6341376b1173d6eea35111b385cbec4e8a

Author: Wout Stiens

Committer: Wout Stiens

## Message

```
fix(web): refuse proportional faces in the terminal grid

A proportional family draws each glyph on its own advance while the cursor
and selection sit on the grid's single cell width, so the text drifts left
of its cells and the cursor strands to the right - the ragged gaps and
misplaced cursor seen with Helvetica Neue.

The renderer now measures the requested family and falls back to the default
when it is not monospace, so a value stored before the picker was restricted
cannot leave the terminal in that state. Unmeasurable environments and
absent faces are treated as monospace, leaving the normal fallback chain in
charge.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

```

## Parents

- [ed70fa4c8f005438d5b6cbdd75c765e9a33d5f33](https://git.cafe/stienswout/t3code/commit/ed70fa4c8f005438d5b6cbdd75c765e9a33d5f33?format=markdown)

[Source at this commit](https://git.cafe/stienswout/t3code/tree/2977bae3ba52c83f62e76052d6f8359cd0475da9?format=markdown)
