From ac8e2f05767e4695f1b53c2a88c3ea2ba67de671 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Mon, 13 Oct 2025 15:23:41 -0300 Subject: [PATCH] Add `.ZedSans` as a possible fallback font (#40129) Closes https://github.com/zed-industries/zed/issues/40121 Release Notes: - Fixes a bug where users couldn't return the UI font family to the default value through the UI. --- crates/gpui/src/text_system.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/gpui/src/text_system.rs b/crates/gpui/src/text_system.rs index d4c6c09ffd9e22df2070b170856493fcc25cc4a8..3de6e639b585bbe52e8d215065dceed6308781e3 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