Comment 5 for bug 1576303

Revision history for this message
QkiZ (qkiz) wrote :

Workaround for this issue:
(in apps section)
apps:
  some_app:
    command: some_app
    environment:
      XDG_DATA_HOME: $SNAP/usr/share
      FONTCONFIG_PATH: $SNAP/etc/fonts/conf.d
      FONTCONFIG_FILE: $SNAP/etc/fonts/fonts.conf

Of course this only works in devmode. After switching to strict mode program in snap ends with error that it can't reach /etc/fonts/fonts.conf file. I think should be resolved by adding interface.