1FcFontMatch(3) FcFontMatch(3)
2
3
4
6 FcFontMatch - Return best font
7
9 #include <fontconfig/fontconfig.h>
10
11 FcPattern * FcFontMatch (FcConfig *config, FcPattern *p, FcResult *result);
12
14 Finds the font in sets most closely matching pattern and returns the
15 result of FcFontRenderPrepare for that font and the provided pattern.
16 This function should be called only after FcConfigSubstitute and FcDe‐
17 faultSubstitute have been called for p; otherwise the results will not
18 be correct. If config is NULL, the current configuration is used.
19
20
21
22Fontconfig 2.14.1 21 10月 2022 FcFontMatch(3)