Ok, doing $ FC_DEBUG=1024 LC_CTYPE=ja_JP.UTF-8 fc-match -s sans-serif | less
gives a clue, it seems to read first the /snap/gnome-42-2204/current/etc/fonts/conf.d configurations but then the /etc/fonts/conf.d ones. Confirmed by moving /etc/fonts/conf.avail/65-droid-sans-fallback.conf away on the system which makes the snap use NotoSansCJK-Regular.ttc it manages to read /etc/fonts/65-droid-sans-fallback.conf (which points to /etc/fonts/conf.avail/) but not /etc/fonts/conf.d/70-fonts-noto- cjk.conf (which points to /usr/share/fontconfig/conf.avail) so the first one end up winning. The fix is probably to make fontconfig use /snap/gnome-42-2204/current/etc/fonts/ only in the snap In the firefox case the desktop wrapper sets FONTCONFIG_FILE=/var/snap/firefox/common/fontconfig/fonts.conf which has <include ignore_missing="yes">/etc/fonts/fonts.conf</include> but without that line it still seems to read configs from /etc... -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to language-selector in Ubuntu. https://bugs.launchpad.net/bugs/2025651 Title: default Japanese font in snap apps is ugly Status in Snappy: New Status in language-selector package in Ubuntu: New Bug description: Japanese fonts in snap packages such as Firefox use glyphs from Chinese fonts. non-snap packages are fine. This is derived from the following ticket: https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/2017076 How to reproduce: 1. Install lunar or mantic with Japanese language pack 2. Enable Japanese locale 3. Start Firefox 4. Type or Copy "刃" to address field and type enter 5. Check glyph of "刃" Expected result: The following Japanese glyph is displayed: https://glyphwiki.org/wiki/u5203 Actual result: The following Chinese? glyph is displayed: https://glyphwiki.org/wiki/zihai-018904 Others: * Ubuntu 22.04 LTS not affected, works fine. * Fixed if you remove fonts-droid-fallback package. To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/2025651/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp