DOKK / manpages / debian 11 / libfontconfig-doc / FcDirScan.3.en
FcDirScan(3) FcDirScan(3)

FcDirScan - scan a font directory without caching it

#include <fontconfig/fontconfig.h>

FcBool FcDirScan (FcFontSet *set, FcStrSet *dirs, FcFileCache *cache, FcBlanks *blanks, const FcChar8 *dir, FcBool force);

If cache is not zero or if force is FcFalse, this function currently returns FcFalse. Otherwise, it scans an entire directory and adds all fonts found to set. Any subdirectories found are added to dirs. Calling this function does not create any cache files. Use FcDirCacheRead() if caching is desired.

15 May 2020 Fontconfig 2.13.1