# Fix the fonts panic and completions in the settings \(\#4205\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 92c4c847305d60a88740586d3d6d343145144030

Requested commit: 92c4c847305d60a88740586d3d6d343145144030

Commit: 92c4c847305d60a88740586d3d6d343145144030

Tree: bc418f25b558384754a7c3f0bcf2c7adcc1418d6

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Fix the fonts panic and completions in the settings (#4205)

* Do not add fonts' `font_family` into the font completion list, if
there's no corresponding attribute in the font data
* Remove `font_style_name` and `font_name` attribute from the completion
options, since those bring `-Italic`, `-Bold` variants that are not
family names (which we use to load the fonts, so they are useless)

Release Notes:

- Improved font family names completion in the settings 
```

## Parents

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

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

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