# gpui: List only available font families in suggestions \(\#64095\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5b4a2153a087055a7f9cb3464f188f1cab9fd678

Requested commit: 5b4a2153a087055a7f9cb3464f188f1cab9fd678

Commit: 5b4a2153a087055a7f9cb3464f188f1cab9fd678

Tree: 1e601e32ce3a6363be0a267f0bfffbc50d3fff25

Author: Lukas Wirth

Committer: GitHub

## Message

```
gpui: List only available font families in suggestions (#64095)

## Summary

Make GPUI's font suggestions reflect the platform text system's actual
font inventory, including fonts loaded by the application, rather than
appending hardcoded fallback candidates.

The appended names could be unavailable on the current platform.

The downside of this is that virtual aliases such as `.SystemUIFont`,
`.ZedMono`, and `.ZedSans` are no longer injected into suggestions;
existing settings using those aliases still resolve as before, they just
won't be shown in the settings UI anymore.

Release Notes:

- Fixed font suggestions listing unavailable fallback fonts and internal
font aliases.
```

## Parents

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

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