16e335a7f1c903e211b10422cc136a1c4f8f91f9
[platform/upstream/fontconfig.git] / doc / FcConfigSubstituteWithPat.3
1 .\" auto-generated by docbook2man-spec from docbook-utils package
2 .TH "FcConfigSubstituteWithPat" "3" "06 3月 2018" "Fontconfig 2.13.0" ""
3 .SH NAME
4 FcConfigSubstituteWithPat \- Execute substitutions
5 .SH SYNOPSIS
6 .nf
7 \fB#include <fontconfig/fontconfig.h>
8 .sp
9 FcBool FcConfigSubstituteWithPat (FcConfig *\fIconfig\fB, FcPattern *\fIp\fB, FcPattern *\fIp_pat\fB, FcMatchKind \fIkind\fB);
10 .fi\fR
11 .SH "DESCRIPTION"
12 .PP
13 Performs the sequence of pattern modification operations, if \fIkind\fR is
14 FcMatchPattern, then those tagged as pattern operations are applied, else
15 if \fIkind\fR is FcMatchFont, those tagged as font operations are applied and
16 p_pat is used for <test> elements with target=pattern. Returns FcFalse
17 if the substitution cannot be performed (due to allocation failure). Otherwise returns FcTrue.
18 If \fIconfig\fR is NULL, the current configuration is used.