tom-james-watson / Emote

Emoji Picker for Linux written in GTK3
https://snapcraft.io/emote
GNU General Public License v3.0
651 stars 36 forks source link

Snap font issue fix #115 #135

Closed dobicinaitis closed 11 months ago

dobicinaitis commented 11 months ago

After seeing @larowlan's comment, I thought that he might be onto something, so I took a look at the Font configuration and customization library code. It appears that FONTCONFIG_PATH should point to the base config directory $SNAP/etc/fonts instead of $SNAP/etc/fonts/config.d.

Changed the path, built a new snap and voilà, the font issue disappeared.

I'm using Ubuntu 23.04 with Gnome 44 and X11. It would be great if someone who previously experienced the tiny font issue could also test this fix.

# uninstall the official snap
snap remove emote

# install the test snap
curl -O --output-dir /tmp https://cdn.dobicinaitis.dev/tmp/emote_4.0.2_amd64_font_fix.snap
snap install --dangerous /tmp/emote_4.0.2_amd64_font_fix.snap

# test ... 🤞

# restore the original version
snap remove emote
snap install emote