From 9a463308096aab5b19ce2dabca334d27f4d43f22 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 efac0087387e394e0e43859ea1dabdeb087d6b34..23f8328a997269907312f3aa22952f970528ccef 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