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.

Fix emojis when rendering with the system ui font (#10491)

Conrad Irwinba9c5929afcf
diff --git a/crates/gpui/src/platform/mac/text_system.rs b/crates/gpui/src/platform/mac/text_system.rs
index 2892b517da5..64ba6cbd36c 100644
--- a/crates/gpui/src/platform/mac/text_system.rs
+++ b/crates/gpui/src/platform/mac/text_system.rs
@@ -334,7 +334,7 @@ impl MacTextSystemState {
self.postscript_names_by_font_id
.get(&font_id)
.map_or(false, |postscript_name| {
- postscript_name == "AppleColorEmoji"
+ postscript_name == "AppleColorEmoji" || postscript_name == ".AppleColorEmojiUI"
})
}