[Fontconfig] [PATCH] Do not remove UUID file when a scanned directory is empty

Akira TAGOH akira at tagoh.org
Thu Nov 1 11:01:52 UTC 2018


Thanks. I don't still have a time to try it out. I'll let you know
once I do. of course you can submit a MR for that prior to that.
For just quick comment, we shouldn't remove public APIs at this point.
also good to update document about <dir>.

I'm wondering if <dir> elements could be moved into the separate file
so one who wants to have own fonts directory list instead of the
default one (like this case) can replace it easily instead of patching
fonts.conf out?


On Wed, Oct 31, 2018 at 7:00 AM Keith Packard <keithp at keithp.com> wrote:
>
> Akira TAGOH <akira at tagoh.org> writes:
>
> > Hmm, perhaps. or I suppose flatpak should have a sort of mapping table
> > of directories between host and container. so they could tell them to
> > fontconfig through API if we provide it and fontconfig can assigns
> > dirs against it.
>
> I implemented this today; you stick the mapping right into the font
> configuration by associating a 'map' attribute with each '<dir>'
> element:
>
>         <dir map="/usr/share/fonts">/run/host/fonts</dir>
>
> This is all pushed to my fontconfig tree on freedesktop.org:
>
>         https://gitlab.freedesktop.org/keithp/fontconfig
>
> --
> -keith



-- 
Akira TAGOH


More information about the Fontconfig mailing list