# Fix font resolution for UI text so we render with the fallback font \(\#3893\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2da314fb79aa098b6053d7309435a69099b06008

Requested commit: 2da314fb79aa098b6053d7309435a69099b06008

Commit: 2da314fb79aa098b6053d7309435a69099b06008

Tree: e17e8647823bc19d0ac56c8700534865c2fa3aeb

Author: Marshall Bowers

Committer: GitHub

## Message

```
Fix font resolution for UI text so we render with the fallback font (#3893)

This PR updates the font resolution for shaped text to use the new
`resolve_font` method on the text system.

This makes it so we use the fallback font if the desired font cannot be
found rather than rendering nothing.

Release Notes:

- Fixed an issue where nothing would render when the font set in
`ui_font_family` was not found.
```

## Parents

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

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