Re: Next steps for a reproducible Fontconfig?
Akira TAGOH <[email protected]> Fri, 8 Feb 2019 14:34:39 +0900
| Newsgroups | gmane.comp.fonts.fontconfig |
|---|---|
| Message-ID | <CACT-Cx1-_TSkxq2SA8nb-Cx+Apen4Dg52G2pS+hw3Lhp3z_6GQ@mail.gmail.com> |
No comments on this (yet) so just opened a merge request here: https://gitlab.freedesktop.org/fontconfig/fontconfig/merge_requests/30 If anyone can review, that would be appreciated. On Thu, Jan 31, 2019 at 7:36 PM Akira TAGOH <[email protected]> wrote: > > I've done implementation for salt: > https://gitlab.freedesktop.org/tagoh/fontconfig/commits/flatpak-rework > > That should works as expected. > For summary to support this on flatpak side, All of flatpaks needs to have: > > <dir salt="something">/usr/share/fonts</dir> > > and more if there are any fonts directories on sandbox where has same > directory names on host. > or may be better having a salt regardless of it to make them > differenciated to host perhaps. I'll leave it to you, Alex. > > No salt should be needed for remap-dir so far. > > Ah, and if you want to manage fonts directories in a single file and > don't want to modify fonts.conf, you can put <reset-dirs/> prior to > re-define own fonts directories with dir elements. > > Please test it. > > On Thu, Jan 31, 2019 at 5:56 PM Alexander Larsson > <[email protected]> wrote: > > > > On Thu, Jan 31, 2019 at 9:54 AM Akira TAGOH <[email protected]> wrote: > > > > > > Also if host dirs are available as is on sandbox like Alex concerned, > > > we could simply have: > > > > > > <dir>/opt/fonts</dir> > > > > Yeah, assuming there is no global default salt that messes this up. > > > > -- > Akira TAGOH -- Akira TAGOH _______________________________________________ Fontconfig mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/fontconfig