]> git.wh0rd.org - fontconfig.git/commit
#ifdef out old cache stuff, replace with first version of new mmapping
authorPatrick Lam <plam@MIT.EDU>
Mon, 25 Jul 2005 04:10:09 +0000 (04:10 +0000)
committerPatrick Lam <plam@MIT.EDU>
Mon, 25 Jul 2005 04:10:09 +0000 (04:10 +0000)
commit212c9f437e959fbdc5fe344c67b8c1cf8ca63edb
treea5a82c8017ff6461dd8bdb4bb3e218af91b22ee6
parente1b9d091c661b0e1d1e9f73c5c55ad53959c55c7
#ifdef out old cache stuff, replace with first version of new mmapping
    cache. Add *Read and *Write procedures which mmap in and write out the
    fontconfig data structures to disk. Currently, create cache in /tmp,
    with different sections for each architecture (as returned by uname's
    .machine field. Run the fc-cache binary to create a new cache file;
    fontconfig then uses this cache file on subsequent runs, saving lots of
    memory. Also fixes a few bugs and leaks.
13 files changed:
fc-cache/fc-cache.c
fc-lang/fc-lang.c
src/fccache.c
src/fccfg.c
src/fccharset.c
src/fcdir.c
src/fcfs.c
src/fcinit.c
src/fcint.h
src/fclang.c
src/fcmatrix.c
src/fcpat.c
src/fcstr.c