Open ferdnyc opened 5 months ago
Interestingly, "Fallback" appears to function... well, ''differently'', if I select a non-emoji font, like Symbola, which does contain some Emoji characters. Then, activating Fallback does replace only the missing glyphs with their emoji presentations:
But that's actually kind of super weird, and I'm not sure it's how fallback is really supposed to work.
(Unicode TR51 defines ''fallback'' presentations for Emoji, but they're something different than font-fallback. One of the definitions they give for an emoji fallback presentation involves displaying a composed emoji as the individual emoji that make up the sequence, instead of the product of their composition.
For example, the :rainbow_flag: emoji is formed by composing the :white_flag: emoji and the :rainbow: emoji together using a Zero-Width Joiner. In implementations where :rainbow_flag: is unavailable, the fallback presentation would be to display :white_flag::rainbow:.)
Describe the bug When browsing in the
emoji-picker
window using a non-default emoji font, in most cases activating the "Fallback" checkbox will replace ALL emoji with the ones from the default emoji font, not only the missing glyphs.To Reproduce Steps to reproduce the behavior:
Expected behavior Only the missing glyphs not present in the Twemoji font will be filled in with glyphs from the default Noto Color Emoji font.
Screenshots or videos
'food' category in Twemoji with fallback off
'food' category in Twemoji with fallback enabled
'food' category in Noto Color Emoji with fallback off
emoji-picker version?
emoji-picker-2.25.3-1.fc39.noarch
from Fedora repoibus version? Not applicable, but
ibus-1.5.29-1.fc39.x86_64
from Fedora repoDistribution and version? Fedora 39
Desktop and version? GNOME Shell 45.5
Xorg or Wayland? Wayland
Additional context
For some reason, this doesn't happen in the "regional" category — and only in the "regional" category.
'regional' category in Twemoji with fallback off
'regional' category in Twemoji with fallback on
'regional' category in Noto Color Emoji (falback off)