1FcFontSetSort(3) FcFontSetSort(3)
2
3
4
6 FcFontSetSort - Add to a font set
7
9 #include <fontconfig.h>
10
11 FcFontSetSort(FcConfig *config);
12 (FcFontSet **sets);
13 (intnsets);
14 (FcPattern *pattern);
15 (FcBool trim);
16 (FcCharSet **csp);
17 (FcResult *result);
18 .fi
19
21 Returns the list of fonts from sets sorted by closeness to pattern. If
22 trim is FcTrue, elements in the list which don't include Unicode cover‐
23 age not provided by earlier elements in the list are elided. The union
24 of Unicode coverage of all of the fonts is returned in csp, if csp is
25 not NULL. This function should be called only after FcConfigSubstitute
26 and FcDefaultSubstitute have been called for p; otherwise the results
27 will not be correct.
28
29 The returned FcFontSet references FcPattern structures which may be
30 shared by the return value from multiple FcFontSort calls, applications
31 cannot modify these patterns. Instead, they should be passed, along
32 with pattern to FcFontRenderPrepare which combines them into a complete
33 pattern.
34
35 The FcFontSet returned by FcFontSetSort is destroyed by caling
36 FcFontSetDestroy.
37
39 Fontconfig version 2.8.0
40
41
42
43 18 November 2009 FcFontSetSort(3)