1. NAME

FcConfigAppFontAddDir - Add fonts from directory to font database

2. SYNOPSIS

 
Sélectionnez
\fB#include <fontconfig.h>
 
 FcBool FcConfigAppFontAddDir(FcConfig *\fIconfig\fB);
 (const FcChar8 *\fIdir\fB);
 \fR.fi

3. DESCRIPTION

Scans the specified directory for fonts, adding each one found to the application-specific set of fonts. Returns FcFalse if the fonts cannot be added (due to allocation failure). Otherwise returns FcTrue. If config is NULL, the current configuration is used.

4. VERSION

Fontconfig version 2.8.0