# windows: Let the OS decide which font to use as the UI font \(\#10877\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 06d2d9da5fbf7fe2f0dff4d5b4a9de48049729db

Requested commit: 06d2d9da5fbf7fe2f0dff4d5b4a9de48049729db

Commit: 06d2d9da5fbf7fe2f0dff4d5b4a9de48049729db

Tree: 92aaaba97ca8e8ed2bd5b6776a2da80ee40eddf4

Author: 张小白

Committer: GitHub

## Message

```
windows: Let the OS decide which font to use as the UI font (#10877)

On my computer, I get `Yahei UI`, which makes sense since I'm using a
Chinese operating system, and `Yahei UI` includes Chinese codepoints. On
an English operating system, `Segoe UI` should be used instead.

Edit: I also choose to use the UI font selected by the system as the
fallback font, rather than hard-coding the `Arial` font.

Release Notes:

- N/A
```

## Parents

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

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