# Fix visual test font regression \(\#46461\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/0d082a394592c4d7f3c8f7ace6a33c94c754aa71)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 0d082a394592c4d7f3c8f7ace6a33c94c754aa71

Requested commit: 0d082a394592c4d7f3c8f7ace6a33c94c754aa71

Commit: 0d082a394592c4d7f3c8f7ace6a33c94c754aa71

Tree: 47301d2d62a4b7e286a01f31c6a073ac04507a34

Author: Richard Feldman

Committer: GitHub

## Message

```
Fix visual test font regression (#46461)

The visual test infrastructure changes in #46324 accidentally switched
from `settings::init(cx)` to `SettingsStore::test(cx)`, which uses
Courier font instead of the real Zed fonts (IBM Plex Sans / Lilex).

This restores the correct font loading:
1. Load embedded fonts with `Assets.load_fonts(cx)`
2. Use `settings::init(cx)` to get the real default settings with proper
fonts

Release Notes:

- N/A
```

## Parents

- [e6467fc47a19b8337196190e6c0b5daaa2197420](https://git.cafe/gitcafe/zed/commit/e6467fc47a19b8337196190e6c0b5daaa2197420?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/0d082a394592c4d7f3c8f7ace6a33c94c754aa71?format=markdown)
