# gpui: Fix TextStyle default font_family crash on Windows, use \`Segoe UI\` for Windows \(\#14040\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 15662f105e74064b50b4c2c86f5dcd2bf7a2e087

Requested commit: 15662f105e74064b50b4c2c86f5dcd2bf7a2e087

Commit: 15662f105e74064b50b4c2c86f5dcd2bf7a2e087

Tree: d6b71cda4dd91eca043d2bb24c6a575b2dc8d0b4

Author: Jason Lee

Committer: GitHub

## Message

````
gpui: Fix TextStyle default font_family crash on Windows, use `Segoe UI` for Windows (#14040)

Release Notes:

- Fixed default font_family crash on Windows, use `Segoe UI`.

## Crash error message

```
thread 'main' panicked at crates\gpui\src\text_system.rs:150:9:
failed to resolve font 'Helvetica' or any of the fallbacks: 
Zed Plex Mono, Helvetica, Cantarell, Ubuntu, Noto Sans, DejaVu Sans
```
````

## Parents

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

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