mmaping FcInit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

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

http://bugzilla.gnome.org/show_bug.cgi?id=169345

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

http://plam.csail.mit.edu/~plam/tmp/fontconfig-strings-to-indices.diff

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?

Thanks,
pat

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux