1FcConfigSubstituteWithPat(3) FcConfigSubstituteWithPat(3)
2
3
4
6 FcConfigSubstituteWithPat - Execute substitutions
7
9 #include <fontconfig/fontconfig.h>
10
11 FcBool FcConfigSubstituteWithPat (FcConfig *config, FcPattern *p, FcPattern *p_pat, FcMatchKind kind);
12
14 Performs the sequence of pattern modification operations, if kind is
15 FcMatchPattern, then those tagged as pattern operations are applied,
16 else if kind is FcMatchFont, those tagged as font operations are ap‐
17 plied and p_pat is used for <test> elements with target=pattern. Re‐
18 turns FcFalse if the substitution cannot be performed (due to alloca‐
19 tion failure). Otherwise returns FcTrue. If config is NULL, the cur‐
20 rent configuration is used.
21
22
23
24Fontconfig 2.14.0 31 3月 2022 FcConfigSubstituteWithPat(3)