FcDirScan

Name

FcDirScan -- scan a font directory

Synopsis

#include <fontconfig.h>
	

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

Description

Scans an entire directory and adds all fonts found to set. If force is FcTrue, then the directory and all files within it are scanned even if information is present in the per-directory cache file or cache. Any subdirectories found are added to dirs. See the manual for FcFileScan for a description of how fontconfig selects which fonts to include.

Version

Fontconfig version 2.4.92