xenocara/dist/fontconfig/doc/FcDirScan.3

19 lines
764 B
Groff

.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcDirScan" "3" "24 3月 2014" "Fontconfig 2.11.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.