Skip to content

Conversation

@dinocosta
Copy link
Member

  • 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
- 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.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 11, 2025
@dinocosta
Copy link
Member Author

Here's some before and after screenshots ▼

Category Before After
Blame UI blame_ui_before blame_view_after
Hover Popover hover_popover_before hover_popover_after
Markdown Preview markdown_preview_before markdown_preview_after
@dinocosta dinocosta self-assigned this Dec 12, 2025
@dinocosta dinocosta merged commit 12073e1 into main Dec 12, 2025
23 checks passed
@dinocosta dinocosta deleted the 44209-font-features-fix branch December 12, 2025 09:55
nrbnlulu pushed a commit to nrbnlulu/zed that referenced this pull request Dec 14, 2025
…own Preview (zed-industries#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 zed-industries#44209

Release Notes:

- Fixed wrong font features in Blame UI, Hover Popover and Markdown
Preview
CherryWorm pushed a commit to CherryWorm/zed that referenced this pull request Dec 16, 2025
…own Preview (zed-industries#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 zed-industries#44209

Release Notes:

- Fixed wrong font features in Blame UI, Hover Popover and Markdown
Preview
someone13574 pushed a commit to someone13574/zed that referenced this pull request Dec 16, 2025
…own Preview (zed-industries#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 zed-industries#44209

Release Notes:

- Fixed wrong font features in Blame UI, Hover Popover and Markdown
Preview
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

2 participants