| |
@@ -1,3 +1,6 @@
|
| |
+ <!-- This should be kept in sync with changes to
|
| |
+ https://gitlab.com/freedesktop-sdk/freedesktop-sdk/blob/master/files/fontconfig-flatpak.conf
|
| |
+ from the Freedesktop runtimes. -->
|
| |
<?xml version="1.0"?>
|
| |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
| |
<fontconfig>
|
| |
@@ -9,4 +12,13 @@
|
| |
<include ignore_missing="yes">/app/etc/fonts/local.conf</include>
|
| |
|
| |
<dir>/run/host/fonts</dir>
|
| |
+ <dir>/run/host/user-fonts</dir>
|
| |
+
|
| |
+ <!-- This is duplicated from the general config because we want to write there
|
| |
+ before the /run dirs, in case they are ever writable, like e.g with old
|
| |
+ versions of flatpak. -->
|
| |
+ <cachedir prefix="xdg">fontconfig</cachedir>
|
| |
+
|
| |
+ <cachedir>/run/host/fonts-cache</cachedir>
|
| |
+ <cachedir>/run/host/user-fonts-cache</cachedir>
|
| |
</fontconfig>
|
| |
This should fix https://bugzilla.redhat.com/show_bug.cgi?id=1727591 (or, at least, it should help). The Freedesktop runtime uses this line: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/blob/master/files/fontconfig-flatpak.conf#L14.