caprine
caprine copied to clipboard
Corrupted/missing font in add file dialog
Steps to reproduce:
- Open chat with anyone
- Click on add files button
- Try to read text labels in the dialog window...

Found on Xubuntu 19.10. Caprine installed via Snappy.
Caprine 2.44.0 Electron 8.0.0 linux 5.3.0-40-generic Locale: pl
I second this. Font is also missing on "About caprine" or "No internet connection" (or so) dialogues. .deb package doesn't have this issue, so it seems to be Snap issue.
Same here via Snap on Fedora 32. Can someone please fix this very annoying issue? I tried to find solution on github of electron, etc, but non worked. Please... @sindresorhus
@jokey35 try out this solution https://askubuntu.com/a/1228809. It's written for Chromium but seems to work on other apps too. Just change the path to Caprines path.
@dusansimic All commands finished successfully, but no change at all :( There might be a font type which is not installed but used in Caprine.
Same issue with Caprine SNAP under Solus. The above method of deleting the fontcache for Caprine doesn't seem to have any positive effect. Is Caprine hard-coded to use a specific font that doesn't ship within the SNAP environment or something?
This might be worth a shot. Alongside removing local and snaps fontcache, you could remove the global fontcache and then regenerate it.
sudo rm /var/cache/fontconfig/*
rm ~/.cache/fontconfig/*
fc-cache -r
rm -rf ~/snap/chromium/common/.cache/fontconfig/
I do not know if this will work since I don't use Snaps and don't recommend them in general. They have been a source of many problems in the past. If you're running a Debian based distro, you'll be better off running deb package. It doesn't have auto updating since it's not installed via package repository but it will at least work.
Regarding the question about hardcoded fonts. No, none of the fonts are hardcoded in Caprine. We use a font stack that has at least one font for each OS/Distro and if there is not a font for a specific distro, the generic sans-serif font is used which means that the systems sans serif font will be displayed. Caprine is not the cause of this issue, snap is.