This will probably be a part of larger work related to picking up bits
of /etc from the host.
** Changed in: snapd
Status: New => Confirmed
** Changed in: snapd
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subs
** Package changed: snapcraft (Ubuntu) => snapd (Ubuntu)
** Project changed: snapcraft => snapd
--
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
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
Snapcraft applications should use their own fontconfig files, not from
host system because of compatibility issues. I made a snap for
application that is no longer in repositories. My host OS is 20.04 and
snap base OS is 18.04. This causes incompatibilities between snaps and
system.
--
You receiv
** Changed in: snapcraft (Ubuntu)
Importance: Undecided => Medium
--
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
I also needed to add these variables to package a Racket/Scheme game
that I made several years ago.
I also needed to bundle some fonts with the snap, namely fonts-dejavu.
Without them, instead of letters, only rectangles were displayed. In
case of Java, it didn't even start.
Snapcraft should hand
I confirm that these are needed, at least for Java Swing applications.
They crash without this with a NullPointerException at
sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to U
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: snapcraft (Ubuntu)
Status: New => Confirmed
--
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:
** Also affects: snapcraft
Importance: Undecided
Status: New
--
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 b