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

Keith Packard keithp at keithp.com
Tue Oct 30 22:00:32 UTC 2018


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20181030/70bc86b0/attachment.sig>


More information about the Fontconfig mailing list