Bugzilla – Bug 1223434
/etc/fonts/conf.d/21-emoji-rendering.conf makes emoji rendering in Firefox worse
Last modified: 2024-04-30 09:58:31 UTC
Created attachment 874523 [details] With 21.conf vs without 21.conf I've noticed that emoji look weird in Firefox, as shown in the upper side of the attachment (look at those spooky triangle eyes!). After deleting /etc/fonts/conf.d/21-emoji-rendering.conf, emoji got rendered properly, as shown in the lower side of the attachment. Other applications, such as Konsole and Chromium, don't have this problem. /etc/fonts/conf.d/21-emoji-rendering.conf says that emoji fonts don't need hinting. It seems not to be the case. My fontconfig file in home directory hasn't specified hinting or hintstyle. System info: Operating System: openSUSE Tumbleweed 20240423 KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Kernel Version: 6.8.7-1-default (64-bit) Graphics Platform: Wayland Other files in /etc/fonts/conf.d: 09-autohint-if-no-hinting.conf 10-hinting-slight.conf 10-rendering-options.conf 10-scale-bitmap-fonts.conf 10-sub-pixel-none.conf 10-yes-antialias.conf 11-base-rendering.conf 11-lcdfilter-default.conf 12-tt-monospace-rendering.conf 13-selective-rendering.conf 13-selective-rendering-ipa.conf 20-unhint-small-vera.conf 22-noto-cjk-rendering.conf 30-metric-aliases.conf 31-metric-aliases-bw.conf 32-emoji-reject.conf 32-symbol-substitution.conf 40-nonlatin.conf 45-generic.conf 45-latin.conf 48-spacing.conf 49-family-default.conf 49-family-default-emoji.conf 49-sansserif.conf 55-local.conf 56-user.conf 58-family-prefer-local.conf 59-family-prefer-lang-specific-cjk.conf 59-family-prefer-lang-specific.conf 59-family-prefer-lang-specific-noto.conf 60-family-prefer.conf 60-generic.conf 61-latin.conf 61-stix.conf 61-wine-aliases.conf 65-fonts-persian.conf 65-nonlatin.conf 69-unifont.conf 70-reject.conf 80-delicious.conf 90-synthetic.conf README
I can confirm on GNOME as well. It seems like it's not about hinting, but antialias. If I comment out ``` <edit name="antialias" mode="assign"> <bool>false</bool> </edit> ``` emojis are 'pretty' again. Not sure, if this is a Firefox-issue or a font-config issue, though. This seems related to: https://github.com/openSUSE/fonts-config/issues/12 Marguerite, could you maybe take a look please?