Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

gpui_windows: Keep DirectWrite's default ligatures when no font features are set (#62338)

Vlad Gaevskyac6818fb2de7
diff --git a/crates/gpui_windows/src/direct_write.rs b/crates/gpui_windows/src/direct_write.rs
index 5a761cce191..dfe98a76be1 100644
--- a/crates/gpui_windows/src/direct_write.rs
+++ b/crates/gpui_windows/src/direct_write.rs
@@ -1787,9 +1787,6 @@ fn apply_font_features(
features: &FontFeatures,
) -> Result<()> {
let tag_values = features.tag_value_list();
- if tag_values.is_empty() {
- return Ok(());
- }
// All of these features are enabled by default by DirectWrite.
// If you want to (and can) peek into the source of DirectWrite