# Avoid storing \`fonts::Features\` in \`TextStyle\` · gitcafe/zed

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

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

Visibility: public

Requested revision: 786d95b8c82e3281298df311c4be8e6b688e95f8

Requested commit: 786d95b8c82e3281298df311c4be8e6b688e95f8

Commit: 786d95b8c82e3281298df311c4be8e6b688e95f8

Tree: 59a2fe731e70ba4fd5261ee340877711fe25db63

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Avoid storing `fonts::Features` in `TextStyle`

We were only using it for debugging purposes and that was causing
the `Theme` struct to become too big to hold on the stack.

Co-Authored-By: Julia Risley <julia@zed.dev>

```

## Parents

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

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