Bug 410733 - Setting anti-aliasing or hinting breaks emoji display in GTK applications
Summary: Setting anti-aliasing or hinting breaks emoji display in GTK applications
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fonts (show other bugs)
Version: 5.16.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-08 18:12 UTC by rca
Modified: 2024-07-09 18:54 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rca 2019-08-08 18:12:22 UTC
SUMMARY

Setting any font hinting or anti-aliasing settings via kcm_fonts and pressing "apply" will generate a ~/.config/fontconfig/fonts.conf file that then breaks emoji display in GTK applications.


STEPS TO REPRODUCE
1. Ensure ~/.config/fontconfig/fonts.conf is not present
2. Open a gtk2 application (e.g. claws-mail) or a gtk3 application (e.g. gedit)
3. Type or copy/paste an emoji that you are certain you have the font for
4. Observe that the emoji appears (in color if you have a color emoji font)
5. Close these GTK applications
6. Go to System Settings -> Fonts
7. Enable anti-aliasing, enable hinting to "full", for example. Click apply
9. Restart claws-mail/gedit and look at the same text


OBSERVED RESULT

10. Observe that emoji no longer show. Instead, nothing is displayed in their place


EXPECTED RESULT

10. Observe that emoji are displayed correctly according to the emoji fonts installed

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20190806
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.60.0
Qt Version: 5.13.0
Kernel Version: 5.2.5-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz
Memory: 15.6 GiB of RAM
Comment 1 kde 2022-01-27 16:21:42 UTC
I can confirm this bug still happens - No Emojis in Gtk programs with aliasing on, emojis are there with aliasing off.

Software versions:
Operating System: openSUSE Tumbleweed 20220125
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.1-1-default (64-bit)
Graphics Platform: X11
Comment 2 kde 2022-01-27 16:29:35 UTC
Could this be related to
https://bugzilla.mozilla.org/show_bug.cgi?id=1454152
also something with antialias breaking emojis.