26 lines
1.1 KiB
Groff
26 lines
1.1 KiB
Groff
.\" auto-generated by docbook2man-spec from docbook-utils package
|
|
.TH "FcConfigParseAndLoadFromMemory" "3" "22 12月 2023" "Fontconfig 2.15.0" ""
|
|
.SH NAME
|
|
FcConfigParseAndLoadFromMemory \- load a configuration from memory
|
|
.SH SYNOPSIS
|
|
.nf
|
|
\fB#include <fontconfig/fontconfig.h>
|
|
.sp
|
|
FcBool FcConfigParseAndLoadFromMemory (FcConfig *\fIconfig\fB, const FcChar8 *\fIbuffer\fB, FcBool \fIcomplain\fB);
|
|
.fi\fR
|
|
.SH "DESCRIPTION"
|
|
.PP
|
|
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
|
|
\fBFcConfigParseAndLoad\fR and/or
|
|
\fBFcConfigParseAndLoadFromMemory\fR, call
|
|
\fBFcConfigBuildFonts\fR to build the font
|
|
database.
|
|
.SH "SINCE"
|
|
.PP
|
|
version 2.12.5
|