1FcConfigAppFontAddDir(3) FcConfigAppFontAddDir(3)
2
3
4
6 FcConfigAppFontAddDir - Add fonts from directory to font database
7
9 #include <fontconfig/fontconfig.h>
10
11 FcBool FcConfigAppFontAddDir (FcConfig *config, const FcChar8 *dir);
12
14 Scans the specified directory for fonts, adding each one found to the
15 application-specific set of fonts. Returns FcFalse if the fonts cannot
16 be added (due to allocation failure). Otherwise returns FcTrue. If
17 config is NULL, the current configuration is used.
18
19
20
21Fontconfig 2.14.1 21 10月 2022 FcConfigAppFontAddDir(3)