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.

Add `.ZedSans` as a possible fallback font (#40129)

Danilo Lealac8e2f05767e
diff --git a/crates/gpui/src/text_system.rs b/crates/gpui/src/text_system.rs
index d4c6c09ffd9..3de6e639b58 100644
--- a/crates/gpui/src/text_system.rs
+++ b/crates/gpui/src/text_system.rs
@@ -73,6 +73,7 @@ impl TextSystem {
fallback_font_stack: smallvec![
// TODO: Remove this when Linux have implemented setting fallbacks.
font(".ZedMono"),
+ font(".ZedSans"),
font("Helvetica"),
font("Segoe UI"), // Windows
font("Cantarell"), // Gnome