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