xenocara/dist/fontconfig/doc/FcConfigSubstituteWithPat.3
2017-08-19 10:11:04 +00:00

19 lines
868 B
Groff

.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigSubstituteWithPat" "3" "05 7月 2017" "Fontconfig 2.12.4" ""
.SH NAME
FcConfigSubstituteWithPat \- Execute substitutions
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigSubstituteWithPat (FcConfig *\fIconfig\fB, FcPattern *\fIp\fB, FcPattern *\fIp_pat\fB, FcMatchKind \fIkind\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Performs the sequence of pattern modification operations, if \fIkind\fR is
FcMatchPattern, then those tagged as pattern operations are applied, else
if \fIkind\fR is FcMatchFont, those tagged as font operations are applied and
p_pat is used for <test> elements with target=pattern. Returns FcFalse
if the substitution cannot be performed (due to allocation failure). Otherwise returns FcTrue.
If \fIconfig\fR is NULL, the current configuration is used.