# Fix missing buffer font features in Blame UI, Hover Popover and Markdown Preview \(\#44657\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 12073e10f8dea478a58a4d166d720ca363bd162a

Requested commit: 12073e10f8dea478a58a4d166d720ca363bd162a

Commit: 12073e10f8dea478a58a4d166d720ca363bd162a

Tree: 6a4d99d7232637d040c443e3b507ce82222dd103

Author: Dino

Committer: GitHub

## Message

```
Fix missing buffer font features in Blame UI, Hover Popover and Markdown Preview (#44657)

- Fix missing font features in 
  `git_ui::blame_ui::GitBlameRenderer.render_blame_entry`
- Fix missing buffer font features in
`markdown_preview::markdown_renderer`
- Update the way that the markdown style is built for hover popovers so
  that, for code blocks, the buffer font features are used.
- Introduce `gpui::Styled.font_features` to allow callers to also set
  the font's features, similar to how `gpui::Styled.font_family` already
  exists.

Relates to #44209

Release Notes:

- Fixed wrong font features in Blame UI, Hover Popover and Markdown
Preview
```

## Parents

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

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