[Fontconfig] mmaping FcInit

Patrick Lam plam at MIT.EDU
Mon Mar 21 17:01:20 EST 2005


I've been hacking on fontconfig a bit to make it possible to mmap the 
FcInit and related data structures.  There is some discussion at


In short, I think that one would need to replace pointers with array 
indices; to do otherwise seems to be asking for trouble.  I've started a 
patch that does this; my current patch is available at


I'm also willing to replace FcPatternIndex with a void * datatype that 
would be cast to ints when needed; this would avoid breaking current 
APIs but is less aesthetically pleasing.

Does this seem to be a promising approach, and is something like this 
commitable when complete?


More information about the Fontconfig mailing list