Imported Upstream version 2.12.1
[platform/upstream/fontconfig.git] / doc / FcDirScan.3
1 .\" auto-generated by docbook2man-spec from docbook-utils package
2 .TH "FcDirScan" "3" "05 8月 2016" "Fontconfig 2.12.1" ""
3 .SH NAME
4 FcDirScan \- scan a font directory without caching it
5 .SH SYNOPSIS
6 .nf
7 \fB#include <fontconfig/fontconfig.h>
8 .sp
9 FcBool FcDirScan (FcFontSet *\fIset\fB, FcStrSet *\fIdirs\fB, FcFileCache *\fIcache\fB, FcBlanks *\fIblanks\fB, const FcChar8 *\fIdir\fB, FcBool \fIforce\fB);
10 .fi\fR
11 .SH "DESCRIPTION"
12 .PP
13 If \fIcache\fR is not zero or if \fIforce\fR
14 is FcFalse, this function currently returns FcFalse. Otherwise, it scans an
15 entire directory and adds all fonts found to \fIset\fR\&.
16 Any subdirectories found are added to \fIdirs\fR\&. Calling
17 this function does not create any cache files. Use FcDirCacheRead() if
18 caching is desired.