[BUG]: Emojis not displaying (for Retro Achievements status)
Describe the Bug
In the pause menu, next to the game art, the current Retro Achievements user status is shown. Very often, these will include emojis, e.g., a ❤️ to indicate health, a 🔫 to indicate a used weapon and so on.
However, in the PCSX2 ui, these will be replaced with either one or two question marks (??), making the status generally hard to make sense of.
I have attached a screenshot to show what I’m describing.
If it should be relevant, I’m using the macOS build.
Reproduction Steps
- Play a game with Retro Achievements
- Check that you have a status that includes emojis
- Find that they are missing from the PCSX2 ui
Expected Behavior
Show the emojis using the appropriate font for the system used.
PCSX2 Revision
v2.1.89
Operating System
macOS 14 (Sonoma)
If Linux - Specify Distro
No response
Logs & Dumps
No response
Dear ImGui uses prebaked font atlases and not system fonts, so with this setup it's essentially impossible to include an entire Unicode set of characters, let alone emojis.
Thanks for the explanation, I see where the issue is coming from now. Nevertheless, this does not resolve the issue. Emojis in RA statuses are extremely common and it would be very convenient for them to display correctly. The question marks that are shown now make it seem like the status is just unknown (that was my first impression at least) and is confusing.
I did a little research and found that emojis can be displayed in Dear ImGui, at least ones without modifiers. It also seems to me system fonts will not be used. Regardless, even without system fonts and modifiers, it would still be a massive improvement over the current situation.
see: https://github.com/ocornut/imgui/blob/master/docs/FONTS.md#using-colorful-glyphsemojis