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

Keith Packard keithp at keithp.com
Thu Nov 1 18:15:21 UTC 2018

Akira TAGOH <akira at tagoh.org> writes:

> 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>.

Right, I've stubbed out FcDirCacheCreateUUID to do nothing and updated
the docs in 'v2' of this patch. Thanks for this preliminary review.

> 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?

We might consider creating a new element that resets the directory list
to empty?


would remove all system-specified font directories and add ~/.fonts.

-------------- 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/20181101/176fc328/attachment.sig>

More information about the Fontconfig mailing list