.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "FcDirScan" "3" "2022/03/31" "Fontconfig 2.14.0" "" .SH NAME FcDirScan \- scan a font directory without caching it .SH SYNOPSIS .sp \fB#include .sp FcBool FcDirScan (FcFontSet *\fIset\fB, FcStrSet *\fIdirs\fB, FcFileCache *\fIcache\fB, FcBlanks *\fIblanks\fB, const FcChar8 *\fIdir\fB, FcBool \fIforce\fB); \fR .SH "DESCRIPTION" .PP If \fIcache\fR is not zero or if \fIforce\fR is FcFalse, this function currently returns FcFalse. Otherwise, it scans an entire directory and adds all fonts found to \fIset\fR\&. Any subdirectories found are added to \fIdirs\fR\&. Calling this function does not create any cache files. Use FcDirCacheRead() if caching is desired.