logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

FcConfigParseAndLoad - load a configuration file

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. After all configuration files / strings have been loaded, with FcConfigParseAndLoad and/or FcConfigParseAndLoadFromMemory, call FcConfigBuildFonts to build the font database. Fontconfig 2.15.0 04 July 2025 FcConfigParseAndLoad(3)

Name

FcConfigParseAndLoad - load a configuration file

Synopsis

#include<fontconfig/fontconfig.h>FcBoolFcConfigParseAndLoad(FcConfig*config,constFcChar8*file,FcBoolcomplain);

See Also