[Fontconfig] Re: [patch]: mmapping FontConfig data structures

Behdad Esfahbod behdad at cs.toronto.edu
Sat Jun 11 02:49:47 EST 2005

On Fri, 10 Jun 2005, Patrick Lam wrote:

> Behdad Esfahbod wrote:
> > How is fc-mmap supposed to be called BTW?  Why not dump the cache
> > in the library if it doesn't exist?
> Just run fc-mmap/fc-mmap (it has a few options, but you don't need any
> to successfully run.)  What do you mean by the library?

I mean, in a realworld scenario, the user is not supposed to run
fc-mmap manually, right?  Neither the admin should be required to
do that.  So my feeling is that although having fc-mmap around is
good, but there should be a configuration option in the
fonts.conf, that allow automatically creation of the cache.  Then
whenever the library is used (by an arbitrary application) and it
cannot find the mmapable cache, it tries to build it right then
and there.   There can be mechanisms to prevent it from trying
everytime, if for some reason, creation keeps failing though.


More information about the Fontconfig mailing list