Incorrect glyph information for emojis on Windows 11
ecton opened this issue · comments
I'm going off of very limited information, apologies in advance. I have a user showing that a UI built with my library is rendering black and white glyphs for emoji rather than the colored versions they expect.
Here's what I see on Windows 11:
This is the same behavior I see on Linux and Mac as well -- the emoji looks great! However, this is the screen recording the user who reported "emojis are not properly displayed":
I'm not sure what questions to ask the user to provide to help diagnose this issue they're seeing. From my understanding of how the API works, this could be one of two issues:
- Cosmic Text is selecting and caching a glyph using
SwashContent::Mask
rather thanSwashContent::Color
. This could be because the font data is parsed incorrectly, or a incorrectly defined font was selected? - Cosmic Text is selecting a black and white emoji font.
Has anyone encountered this type of issue before, and if so, what can I have the user provide me to help track it down?
(P.S. Thank you for this amazing library!)