Fix emojis when rendering with the system ui font (cherry-pick #10491) (#10493)

gcp-cherry-pick-bot[bot] and Conrad Irwin created

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

Release Notes:

- N/A

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

Change summary

crates/gpui/src/platform/mac/text_system.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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"
             })
     }