FcDirCacheRead(3) FcDirCacheRead(3)

FcDirCacheRead - read or construct a directory cache

#include <fontconfig/fontconfig.h>

FcCache * FcDirCacheRead (const FcChar8 *dir, FcBool force, FcConfig *config);

This returns a cache for dir. If force is FcFalse, then an existing, valid cache file will be used. Otherwise, a new cache will be created by scanning the directory and that returned.

01 January 2024 Fontconfig 2.15.0