Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix font resolution for UI text so we render with the fallback font (#3893)
Marshall Bowers2da314fb79aa
diff --git a/crates/gpui/src/text_system.rs b/crates/gpui/src/text_system.rsindex 60934b39597..3106a5a9615 100644--- a/crates/gpui/src/text_system.rs+++ b/crates/gpui/src/text_system.rs@@ -288,7 +288,7 @@ impl TextSystem {last_font = Some(run.font.clone());font_runs.push(FontRun {len: run_len_within_line,- font_id: self.platform_text_system.font_id(&run.font)?,+ font_id: self.resolve_font(&run.font),});}