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

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Tue Oct 30 04:45:24 UTC 2018


On Tue, 30 Oct 2018 13:16:48 +0900, Akira TAGOH wrote:

> That is to identify font directories and cache files identifically
> even if those are *bind-mounted*.

Do you need to care? Would (apparently) duplicated font files be such a
big deal?

Yes, it would be a minor* waste of time scanning directories multiple
times. But this is controlled by the Fontconfig setup anyway; why not
leave it up to the user/admin to make sure those “shadow” directories
aren’t among the scanned paths?

*I say “minor” because the files would already be in the filesystem
cache from the first scan.


More information about the Fontconfig mailing list