Color emojis 🦀
#7298 and a discussion on discord made me realize that adding custom color emoji support would be quite trivial now, so I made this prototype:
https://github.com/user-attachments/assets/8407ab60-dcde-4769-b0a4-e102f386fae1
It currently only works with dark mode, we probably need some flag on the Glyph that it has color data and should not be affected with any tint. Also this won't work for loading fonts with color emojis, for that we need #5784 or ab_glyph needs texture data support. It's more for loading custom emojis like on discord and slack (which would be perfectly fine for my usecase)
Preview available at https://egui-pr-preview.github.io/pr/7333-lucascolor-emojis Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.
Neat! I think this is a cool feature to add, but in order to properly ship it we need to store a Map<char, ColorImage> somewhere (in Fonts?) so that we can repopulate the texture atlas when it is flushed.
We also need to figure out the tint problem.
exciting!