Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
settings: Suggest fonts bundled in Zed (#4102)
Piotr Osiewiczec2b299ecb8f
diff --git a/crates/gpui/src/platform/mac/text_system.rs b/crates/gpui/src/platform/mac/text_system.rsindex 06179e126b6..a77741074f1 100644--- a/crates/gpui/src/platform/mac/text_system.rs+++ b/crates/gpui/src/platform/mac/text_system.rs@@ -87,6 +87,9 @@ impl PlatformTextSystem for MacTextSystem {for descriptor in descriptors.into_iter() {names.insert(descriptor.display_name());}+ if let Ok(fonts_in_memory) = self.0.read().memory_source.all_families() {+ names.extend(fonts_in_memory);+ }names.into_iter().collect()}