Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.

Fonts installed in symbolic linked folder are lost in flatpak #119

Closed
Jehan opened this issue Sep 24, 2018 · 2 comments
Closed

Fonts installed in symbolic linked folder are lost in flatpak #119

Jehan opened this issue Sep 24, 2018 · 2 comments

Comments

@Jehan
Copy link

Jehan commented Sep 24, 2018

Someone noticed that some fonts were missing in GIMP.
For instance on a Fedora, if you install the package texlive-tex-gyre, it would install a bunch of fonts under /usr/share/texlive/texmf-dist/fonts/opentype/public/tex-gyre/ and add a symlink to this folder under /usr/share/fonts/.

Now I can note that the freedesktop runtime adds /etc/fonts/conf.d/50-flatpak.conf and in particular that /run/host/fonts is mapped to /usr/share/fonts/.
Unfortunately while doing so, it doesn't take into account symlinks which are not remapped. Hence any fonts which are installed as symlinks on the host system (such as this Tex Gyre package) are lost in the sandbox.

Of course, special-casing these would work, but this is obviously not very good. A generic solution is needed.
Could something be done about this?
Cf. flathub/org.gimp.GIMP#20

@TingPing
Copy link
Member

This is handled by Flatpak not the runtime: https://github.com/flatpak/flatpak

@Jehan
Copy link
Author

Jehan commented Sep 24, 2018

Ok. New report: flatpak/flatpak#2134

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants