1. NAME

FcConfigParseAndLoad - load a configuration file

2. SYNOPSIS

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

3. DESCRIPTION

Walks the configuration in 'file' and constructs the internal representation in 'config'. Any include files referenced from within 'file' will be loaded and parsed. If 'complain' is FcFalse, no warning will be displayed if 'file' does not exist. Error and warning messages will be output to stderr. Returns FcFalse if some error occurred while loading the file, either a parse error, semantic error or allocation failure. Otherwise returns FcTrue.

4. VERSION

Fontconfig version 2.8.0