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

"Keith Packard" <[email protected]> Thu, 01 Nov 2018 11:15:21 -0700
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <[email protected]>
Akira TAGOH <[email protected]> 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?

        <reset-dirs/>
        <dir>~/.fonts</dir>

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

-- 
-keith

_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAlvbQrkACgkQ2yIaaQAA
ABGZTxAAn9/pGrIxF9CSFKvcwGbSgrClCbWPSV0oYF6TJsjLj2zMktWpvvSkHeL9
1EGoCwKREHtS4Pr3ctjxldUqDiaWhT66GMAgw09Q3IpW2PfDnSqHn7Ssvm9rXGDj
T2W72uvANmj/s55AqpCo66S6h6O9pk0z4D8QnzCGAo/oV0F1mezbXatDna+OAvJE
QX2Kx8bw4JB3hF3smiaZMDmrWdz2O0PkzdehwWU5jXUE61tOUgYEcyDurG7ruuDf
iV7O6SG3H91DBJMqg5UeOLAvsABEnsBHuxdP5827AIqzqZH1OxGrv4686yeeSbjm
V2c1msWKRxbrbkaAQG7/1EeTC8UmQEIHkAEjdKnbmO3fF9RjI4gJ5OVTSaHudyEh
wNQUuSMFI6c4QVh6nocKm3teCxVdJuTwWsS5uZmSU1D+i+Qk7eQ2NeCdyUyKYx+o
7VFqtuy/Tha8ECr/+O3OBjfaGbHkpMRTlm9QpEBX+n+ierRmlYYD5aqz8ZsjDvyA
Y4TaJp1qgy2KmhniQb8oGgN/iUdiXObmIvq7YoCoYHWvc9E+0tQK06G9zd72Ar/4
4B+L41w4Jv212hEkqzZZHgjBJosSq01av2yj4XUbiCZVf+tzAjQWTJH1NQAqHQtm
d8Z9d59f8UuPsrYUdr7QWo8RAGYln28caubamVVa1Mq/tobr5kc=
=ZvHM
-----END PGP SIGNATURE-----