1FcConfigGetFilename(3) FcConfigGetFilename(3)
2
3
4
6 FcConfigGetFilename - Find a config file
7
9 #include <fontconfig/fontconfig.h>
10
11 FcChar8 * FcConfigGetFilename (FcConfig *config, const FcChar8 *name);
12
14 Given the specified external entity name, return the associated file‐
15 name. This provides applications a way to convert various configura‐
16 tion file references into filename form.
17
18 A null or empty name indicates that the default configuration file
19 should be used; which file this references can be overridden with the
20 FONTCONFIG_FILE environment variable. Next, if the name starts with ~,
21 it refers to a file in the current users home directory. Otherwise if
22 the name doesn't start with '/', it refers to a file in the default
23 configuration directory; the built-in default directory can be overrid‐
24 den with the FONTCONFIG_PATH environment variable.
25
26 The result of this function is affected by the FONTCONFIG_SYSROOT envi‐
27 ronment variable or equivalent functionality.
28
29
30
31Fontconfig 2.13.94 29 6月 2021 FcConfigGetFilename(3)