# Ensure font features are applied to styled text \(\#44219\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1d0aef6b2229acc81de7708c315472fb0e7c627c

Requested commit: 1d0aef6b2229acc81de7708c315472fb0e7c627c

Commit: 1d0aef6b2229acc81de7708c315472fb0e7c627c

Tree: 27bfaaa9f8bad000107dbeb50e0318f812645d20

Author: Dino

Committer: GitHub

## Message

```
Ensure font features are applied to styled text (#44219)

- Replace `gpui::styled::Styled.font_family()` calls with
`gpui::styled::Styled.font()` when laying out inline diagnostics and
inline blame, to ensure that the font's features are also used, and
not just the font feature.
- Update both `editor::hover_popover::hover_markdown_style` and
`editor::hover_popover::diagnostics_markdown_style` to ensure that
both the UI and Buffer font features are used in both markdown and
diagnostics popover.

Closes #44209 

Release Notes:

- Fixed font feature application for inline git blame, inline
diagnostics, markdown popovers and diagnostics popovers
```

## Parents

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

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