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

FcConfigParseAndLoadFromMemory - load a configuration from memory

Description

Walks the configuration in 'memory' and constructs the internal representation in 'config'. Any includes files referenced from within 'memory' will be loaded and dparsed. 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 fsome 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.

Name

FcConfigParseAndLoadFromMemory - load a configuration from memory

Since

version 2.12.5 Fontconfig 2.15.0 04 July 2025 FcConfigParseAndLoadFromMemory(3)

Synopsis

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

See Also