[Fontconfig] Next steps for a reproducible Fontconfig?

Akira TAGOH akira at tagoh.org
Tue Mar 26 06:15:39 UTC 2019


Hi Alex,

Have you tried new implementation yet? I believe it should be
reflected our discussion though, I want to see some comment from you
because flatpak is only customer for salt thing so far. if it works, I
can commit it to master and make a release for them.

TIA,

On Fri, Feb 8, 2019 at 2:34 PM Akira TAGOH <akira at tagoh.org> wrote:
>
> 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 <akira at tagoh.org> 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
> > <alexander.larsson at gmail.com> wrote:
> > >
> > > On Thu, Jan 31, 2019 at 9:54 AM Akira TAGOH <akira at tagoh.org> 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



-- 
Akira TAGOH


More information about the Fontconfig mailing list