# feat\(web\): groundwork for configurable terminal fonts · stienswout/t3code

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

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

Visibility: public

Requested revision: 6a31d5e12a861740b700802c86b5822e3a5d37f6

Requested commit: 6a31d5e12a861740b700802c86b5822e3a5d37f6

Commit: 6a31d5e12a861740b700802c86b5822e3a5d37f6

Tree: 25e47cea41c18538f65b2eda992c4c0eae1535d1

Author: Wout Stiens

Committer: Wout Stiens

## Message

```
feat(web): groundwork for configurable terminal fonts

The surface now takes an optional font (family and size) and exposes an
async setFont that reloads faces, re-measures cell metrics, resizes the
Ghostty grid, and repaints — nothing is user-facing yet; the drawer
keeps the defaults. A custom text face always keeps the Nerd Font glyph
fallbacks appended so prompt symbols stay covered, and requested sizes
clamp to a sane range.

Per review direction the default text stack is unified to SF Mono with
the bundled JetBrains Mono webfont as the everywhere-else fallback,
dropping the platform faces the bundled font always shadowed.

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

```

## Parents

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

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