.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "FcConfigSubstituteWithPat" "3" "15 May 2020" "Fontconfig 2.13.1" "" .SH NAME FcConfigSubstituteWithPat \- Execute substitutions .SH SYNOPSIS .sp \fB#include .sp FcBool FcConfigSubstituteWithPat (FcConfig *\fIconfig\fB, FcPattern *\fIp\fB, FcPattern *\fIp_pat\fB, FcMatchKind \fIkind\fB); \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 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.