# fix\(web\): polish pass on font settings · stienswout/t3code

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

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

Visibility: public

Requested revision: 61df9652bb67adc4dbeb9746c8abb868c319d40d

Requested commit: 61df9652bb67adc4dbeb9746c8abb868c319d40d

Commit: 61df9652bb67adc4dbeb9746c8abb868c319d40d

Tree: a077319ea6b7469e75911443ad6f97cc65fa7ebc

Author: Wout Stiens

Committer: Wout Stiens

## Message

```
fix(web): polish pass on font settings

- Quote custom terminal families before they reach the canvas font string:
  a non-ident name ("3270 Nerd Font", "M+ 1m") made the whole string
  invalid CSS, so the assignment silently kept the previous font.
- Point the DM Sans catalog entry at the registered "DM Sans Variable"
  family; the bundled webfont never registers plain "DM Sans", so the
  option rendered in the serif fallback and only applied by coincidence.
- Cap the custom input at the schema's 200-character limit.
- Cover fontOptionCategories and non-ident quoting with tests.

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

```

## Parents

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

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