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

Akira TAGOH <[email protected]> Thu, 1 Nov 2018 20:01:52 +0900
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <CACT-Cx3Ahrf3-M8oXE5Buj4vjx_hJymS6CN_vz5203OcZxEddA@mail.gmail.com>
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 <[email protected]> wrote:
>
> Akira TAGOH <[email protected]> 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
_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig