[Fontconfig] [PATCH] Make the cache filenames determinstic
keithp at keithp.com
Tue Oct 30 06:02:10 UTC 2018
Behdad Esfahbod <behdad at behdad.org> writes:
> I don't like the new mechanism either, but I think it was added to resolve
> bind-mounted font dirs, which are not covered by your two cases above.
> IIUC any flatpak app binds the fonts dir in a new unique directory. Would
> be desirable to reuse the system caches.
Agreed. I'd like to suggest that the flatpak environment should be
taught how to map font directory names that it sees to cache file names
generated externally; then the existing md5(pathname) approach to cache
file generation will 'just work'
Presumably each flatpak has to get a custom font configuration to point
it back at the external fonts; having that include a mapping to the
external names seems like a pretty simple change to me.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 832 bytes
Desc: not available
More information about the Fontconfig