Blob Blame History Raw
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDirScan" "3" "30 8月 2018" "Fontconfig 2.13.1" ""
.SH NAME
FcDirScan \- scan a font directory without caching it
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcDirScan (FcFontSet *\fIset\fB, FcStrSet *\fIdirs\fB, FcFileCache *\fIcache\fB, FcBlanks *\fIblanks\fB, const FcChar8 *\fIdir\fB, FcBool \fIforce\fB);
.fi\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.