# fix\(web\): cap the size correction for faces with unusual proportions · stienswout/t3code

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

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

Visibility: public

Requested revision: 1a3481aa90cb3c0a76aa9a5b67f401c8f33164da

Requested commit: 1a3481aa90cb3c0a76aa9a5b67f401c8f33164da

Commit: 1a3481aa90cb3c0a76aa9a5b67f401c8f33164da

Tree: 5727273017551d6630a494adfb79fd8c8db7b4f0

Author: Wout Stiens

Committer: Wout Stiens

## Message

```
fix(web): cap the size correction for faces with unusual proportions

Matching x-heights exactly overcorrects: real Courier New sits at ~0.42 em
against DM Sans' 0.51, so an exact match scaled it 21% up and its capitals
and ascenders towered over everything else. The correction is now capped at
6%, and each preview normalizes its own stack rather than a shared default
so it shows the size the app will actually render.

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

```

## Parents

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

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