dwww Home | Manual pages | Find package

FcConfigParseAndLoad(3)                                 FcConfigParseAndLoad(3)

NAME
       FcConfigParseAndLoad - load a configuration file

SYNOPSIS
       #include <fontconfig/fontconfig.h>

       FcBool  FcConfigParseAndLoad (FcConfig *config, const FcChar8 *file, Fc-
       Bool complain);

DESCRIPTION
       Walks the configuration in 'file' and constructs the internal  represen-
       tation  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.  After all configuration files / strings have
       been loaded, with FcConfigParseAndLoad and/or  FcConfigParseAndLoadFrom-
       Memory, call FcConfigBuildFonts to build the font database.

Fontconfig 2.15.0                04 April 2025          FcConfigParseAndLoad(3)

Generated by dwww version 1.16 on Sat Oct 3 00:14:57 CEST 2026.