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

Behdad Esfahbod behdad at cs.toronto.edu
Thu Mar 23 03:26:13 PST 2006


On Thu, 23 Mar 2006, Patrick Lam wrote:

> 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.

Well, when Novell bugzilla says Access Denied, it means you need
to create an account and login!  And man, you have to fill each
and every field in their account creation form.



> 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.
>
> pat

--behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
	-- Dan Bern, "New American Language"


More information about the Fontconfig mailing list