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.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1576303
Title:
Needs fontconfig integration
To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1576303/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs