FcCacheDir
3
FcCacheDir
Return directory of cache
#include <fontconfig/fontconfig.h>
const FcChar8 * FcCacheDir
const FcCache *cache
Description
This function returns the directory from which the cache was constructed.
Version
Fontconfig version &version;
FcCacheCopySet
3
FcCacheCopySet
Returns a copy of the fontset from cache
#include <fontconfig/fontconfig.h>
FcFontSet * FcCacheCopySet
const FcCache *cache
Description
The returned fontset contains each of the font patterns from
cache. This fontset may be modified, but the patterns
from the cache are read-only.
Version
Fontconfig version &version;
FcCacheSubdir
3
FcCacheSubdir
Return the i'th subdirectory.
#include <fontconfig/fontconfig.h>
const FcChar8 * FcCacheSubdir
const FcCache *cache
inti
Description
The set of subdirectories stored in a cache file are indexed by this
function, i should range from 0 to
n-1, where n is the return
value from FcCacheNumSubdir.
Version
Fontconfig version &version;
FcCacheNumSubdir
3
FcCacheNumSubdir
Return the number of subdirectories in cache.
#include <fontconfig/fontconfig.h>
int FcCacheNumSubdir
const FcCache *cache
Description
This returns the total number of subdirectories in the cache.
Version
Fontconfig version &version;
FcCacheNumFont
3
FcCacheNumFont
Returns the number of fonts in cache.
#include <fontconfig/fontconfig.h>
int FcCacheNumFont
const FcCache *cache
Description
This returns the number of fonts which would be included in the return from
FcCacheCopySet.
Version
Fontconfig version &version;
FcDirCacheClean
3
FcDirCacheClean
This tries to clean up the cache directory of cache_dir.
This returns FcTrue if the operation is successfully complete. otherwise FcFalse.
#include <fontconfig/fontconfig.h>
FcBool FcDirCacheClean
const FcChar8 *cache_dir
FcBoolverbose
Description
Version
Fontconfig version &version;
FcCacheCreateTagFile
3
FcCacheCreateTagFile
Create CACHEDIR.TAG at cache directory.
#include <fontconfig/fontconfig.h>
void FcCacheCreateTagFile
const FcConfig *config
Description
This tries to create CACHEDIR.TAG file at the cache directory registered
to config.
Version
Fontconfig version &version;