Re: [PATCH] Make the cache filenames determinstic

"Keith Packard" <[email protected]> Mon, 29 Oct 2018 23:02:10 -0700
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <[email protected]>
Behdad Esfahbod <[email protected]> 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.

-- 
-keith

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

iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAlvX8+MACgkQ2yIaaQAA
ABHY7w/+OmuAJcC9jEbEsK/bQnzPj3lvO5DS8NCs0y1BDtofO080i1S8e2u4BR4s
7XAk3eptNY0k5KJEP5fJC0p+AeNQPnM53W+UeCKaVNP5dyT8l8b0HtdlIpm6JsJA
e61vPkqEzM4l40VUqB5VaMkAuzkNXeY3HlHFIjtKCXnKkbIGaKZZ0cDFj1tcxQVR
CYXabrsmcDPDnHU8PktzF0yN2ehpnv2sTXFWIh4ehLLfKtLUJ3xH8xfhoxyfkxyO
kzR3vZy5RCo/VoBMQ8aJoXgj13QpqXPgCjiG7UlPyd9BDk2AQnW/MSkwjVfyOpAD
g42kuEHvJh+dVIqAqCsiLXYoQfsqbx/aY0YPf9cVgrTBUTeLjk4XfMavmJwZ08z2
5MPESw2ew+TATmqUSwmGwIMkuAoBUb0mBZNQ+uma+3SPzEL57ddvRY+cogoadMeC
bi6p6Nz8/Wiqv4xxy+gfuwCna6uGxSa5S1FwQMCUmKa7by/4HKtC5K7R7D4RKTuf
Ko6LJzQmfIqXzB1RL8LiAtHIIblDSg6h4h0Ph+W52h02A7KQW0FJJduw3eUH20gJ
RTWXQuy7B36dnjZ0tfc5isQTd8lizIAyGpT3zQTx9oJgwbTBClOgqc9/rQaLunWp
7rKUHKGHndb5WFGykzaZwq0+pj8Lzdna/a9h1x547XUszDAbx8I=
=f7ee
-----END PGP SIGNATURE-----