# gpui: Fix SVG renderer not rendering text when system fonts are unavailable \(\#51623\) · gitcafe/zed

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

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

Visibility: public

Requested revision: eaf14d028a6c9cca193f725871116cd05a21c305

Requested commit: eaf14d028a6c9cca193f725871116cd05a21c305

Commit: eaf14d028a6c9cca193f725871116cd05a21c305

Tree: 399aeffd745d63c7448e15cb43127c9fab31bf2d

Author: João Soares

Committer: GitHub

## Message

```
gpui: Fix SVG renderer not rendering text when system fonts are unavailable (#51623)

Closes #51466

 Before you mark this PR as ready for review, make sure that you have:

- [x] Added a solid test coverage and/or screenshots from doing manual
testing

- [x] Done a self-review taking into account security and performance
aspects

- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

 Release Notes:

- Fixed mermaid diagrams not showing text in markdown preview by
bundling fallback fonts and fixing generic font family resolution in the
SVG renderer.
```

## Parents

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

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