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

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-04-12 14:05:01 -06:00 committed by GitHub
parent ad8dd1771a
commit ba9c5929af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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