Fix broken font rendering in snap apps

Issue description

There appear to be font rendering issues in electron apps on some machines. This only affects electron apps that were installed as snap packages and will mess up the user interface partially or completely. Often people will recommend deleting that app’s font cache but that does not really solve the problem.

snap electron app with broken font rendering


How much you’re affected really depends on the system’s fonts library so install the following fonts to resolve the problem:

  • noto-fonts-emojior bdf-unifont
  • ttf-dejavu