1FcFontSetSort(3)                                              FcFontSetSort(3)
2
3
4

NAME

6       FcFontSetSort - Add to a font set
7

SYNOPSIS

9       #include <fontconfig/fontconfig.h>
10
11       FcFontSet * FcFontSetSort (FcConfig *config, FcFontSet **sets, intnsets, FcPattern *pattern, FcBool trim, FcCharSet **csp, FcResult *result);
12

DESCRIPTION

14       Returns the list of fonts from sets sorted by closeness to pattern.  If
15       trim is FcTrue, elements in the list which don't include Unicode cover‐
16       age  not provided by earlier elements in the list are elided. The union
17       of Unicode coverage of all of the fonts is returned in csp, if  csp  is
18       not  NULL. This function should be called only after FcConfigSubstitute
19       and FcDefaultSubstitute have been called for p; otherwise  the  results
20       will not be correct.
21
22       The  returned  FcFontSet  references  FcPattern structures which may be
23       shared by the return value from multiple FcFontSort calls, applications
24       cannot  modify  these  patterns.  Instead, they should be passed, along
25       with pattern to FcFontRenderPrepare which combines them into a complete
26       pattern.
27
28       The  FcFontSet  returned  by  FcFontSetSort is destroyed by calling Fc‐
29       FontSetDestroy.
30
31
32
33Fontconfig 2.14.0                 31 3月 2022                 FcFontSetSort(3)
Impressum