[Fontconfig] Re: Structure of cache files

Matthias Clasen mclasen at redhat.com
Wed Oct 5 23:01:31 EST 2005


On Wed, 2005-10-05 at 09:14 +0200, Josselin Mouette wrote:
> Le jeudi 22 septembre 2005 à 23:00 -0400, Matthias Clasen a écrit :
> > So this means that the file format is not endianness- and
> > platform-independent, but contains enough information to load it on
> > other platforms ?
> 
> In this case, this is a serious violation of the Filesystem Hierarchy
> Standard. The cache files lie in /usr/share, in which case they should
> be strictly platform-independent.
> 
> Would it be possible to generate a system-wide cache and to put it
> somewhere in /var/cache instead?

The important thing is that the same cache file can be used across
platforms. Whether that is done by storing the data in a
platform-independent way, or by storing multiple platform-dependent
copies of the same data in different sections of the file shouldn't make
any difference.




More information about the Fontconfig mailing list