diff options
author | Patrick Lam <plam@MIT.EDU> | 2005-08-30 05:55:13 +0000 |
---|---|---|
committer | Patrick Lam <plam@MIT.EDU> | 2005-08-30 05:55:13 +0000 |
commit | eb0cf67144258acbee0a5bf369b6dfb950fcebb9 (patch) | |
tree | 6d756c9a39f8765c0088617cc3c00ce32841781e /fc-cache/fc-cache.c | |
parent | 2dbe759762c3b7b779dbe52ef0d6ca50e51d4bf1 (diff) |
src/fcint.c
The global cache now uses the same mmap-based cache infrastructure as the
per-directory caches. Furthermore, the global cache is automatically
updated (if possible) whenever fontconfig is used. Rip out remnants of
the old cache infrastructure.
Diffstat (limited to 'fc-cache/fc-cache.c')
-rw-r--r-- | fc-cache/fc-cache.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index d2809ee2..507902f3 100644 --- a/fc-cache/fc-cache.c +++ b/fc-cache/fc-cache.c @@ -191,7 +191,6 @@ scanDirs (FcStrList *list, FcConfig *config, char *program, FcBool force, FcBool ret++; continue; } -#if 0 // put this back later after fixing DirCacheValid if (!force && FcDirCacheValid (dir)) { if (verbose) @@ -199,7 +198,6 @@ scanDirs (FcStrList *list, FcConfig *config, char *program, FcBool force, FcBool set->nfont, nsubdirs(subdirs)); } else -#endif { if (verbose) printf ("caching, %d fonts, %d dirs\n", @@ -271,7 +269,6 @@ main (int argc, char **argv) if (systemOnly) FcConfigEnableHome (FcFalse); - FcCacheForce (FcTrue); /* need to use FcInitLoadConfig when we use dirs */ FcInit (); config = FcConfigGetCurrent (); |