1FcFontSetMatch(3) FcFontSetMatch(3)
2
3
4
6 FcFontSetMatch - Return the best font from a set of font sets
7
9 #include <fontconfig/fontconfig.h>
10
11 FcPattern * FcFontSetMatch (FcConfig *config, FcFontSet **sets, intnsets, FcPattern *pattern, 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 pattern; otherwise the results
18 will not be correct. If config is NULL, the current configuration is
19 used. Returns NULL if an error occurs during this process.
20
21
22
23Fontconfig 2.13.1 30 8月 2018 FcFontSetMatch(3)