table of contents
FcConfigParseAndLoadFromMemory(3) | FcConfigParseAndLoadFromMemory(3) |
NAME¶
FcConfigParseAndLoadFromMemory - load a configuration from memory
SYNOPSIS¶
#include <fontconfig/fontconfig.h> FcBool FcConfigParseAndLoadFromMemory (FcConfig *config, const FcChar8 *buffer, FcBool complain);
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.
SINCE¶
version 2.12.5
22 12月 2023 | Fontconfig 2.15.0 |