Handling of Emoji without a Text or Graphical Selector on Linux and macOS #4921
Replies: 2 comments 14 replies
-
That codepoint is U+1F328 which according to Unicode 15 (and 16) is default text presentation. You'll have to add a variation selector to it to force emoji presentation. U+FE0F. This produces a proper color emoji for me on Ghostty. |
Beta Was this translation helpful? Give feedback.
-
I've made an attempt to distill the discussion a bit in case it's helpful, after reviewing the codebase just a bit. I've added a few minor findings from trying out different situations. I unmarked the previous answer one time only just in case it helps to track the discussion. References Section 4 preface: https://www.unicode.org/reports/tr51/tr51-23.html#Presentation_Style
Other Apps
Ghostty on Linux Default emoji with neither text nor graphics selector:
Emoji with text selector:
Emoji with emoji graphic selector:
Emoji with invalid selector:
Ghostty on macOS Default emoji with neither text nor graphics selector:
Emoji with text selector:
Emoji with emoji graphic selector:
Emoji with invalid selector:
My Thoughts
|
Beta Was this translation helpful? Give feedback.
-
Hi,
Here's an example of what the default fallback emoji font looks like on Arch Linux with a
wttr.in
weather emoji:Here's what it looks like when I add a second font-family line for
font-family = Noto Color Emoji
:If it's agreed upon to change this for Linux only (the macOS default fallback font looks great here), I would probably have time to contribute a PR.
Here's the text in the screenshot just in case it's helpful:
Beta Was this translation helpful? Give feedback.
All reactions