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