[Fontconfig] Format of cache file are different on 32bit and 64bit system.

Patrick Lam plam at MIT.EDU
Wed Mar 22 22:24:05 PST 2006

Zhe Su wrote:
> Hi,
>   Recently I found that format of fonts.cache-2 file are different on
> 32bit and 64bit system. It leads big performance issue for 32bit
> applications on 32bit/64bit mixed system, like x86_64. Because 32bit
> applications must re-create local cache file on startup, almost every
> time.
>   For more information, see https://bugzilla.novell.com/show_bug.cgi?id=160226
>   Is it possible to unify the cache file format for both 32bit and 64bit system?

That bug is not world readable.

I designed the cache format so that it would contain caches for both 
32bit and 64bit systems in the same file.  It may not work; I'll look 
into it tomorrow.

Fundamentally it's impossible to use the same mmapped structures for 
both the 32bit and 64bit architectures, so in principle there should be 
two copies of the data in the cache file.


More information about the Fontconfig mailing list