# \`TextStyle::default\(\)\` ask system for known existing font family · gitcafe/zed

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

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

Visibility: public

Requested revision: 31516b7863b04d336253b62c08135b59dfb0056d

Requested commit: 31516b7863b04d336253b62c08135b59dfb0056d

Commit: 31516b7863b04d336253b62c08135b59dfb0056d

Tree: f0340c5158a6cabac366a68b53dc50559441746c

Author: Julia

Committer: Julia

## Message

```
`TextStyle::default()` ask system for known existing font family

Rather than assuming a specific family exists, try a set of specific
names and if they fail, just grab any old font that the system reports
as existing

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

```

## Parents

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

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