1FcConfigSetSysRoot(3) FcConfigSetSysRoot(3)
2
3
4
6 FcConfigSetSysRoot - Set the system root directory
7
9 #include <fontconfig/fontconfig.h>
10
11 void FcConfigSetSysRoot (FcConfig *config, const FcChar8 *sysroot);
12
14 Set 'sysroot' as the system root directory. All file paths used or cre‐
15 ated with this 'config' (including file properties in patterns) will be
16 considered or made relative to this 'sysroot'. This allows a host to
17 generate caches for targets at build time. This also allows a cache to
18 be re-targeted to a different base directory if 'FcConfigGetSysRoot' is
19 used to resolve file paths. When setting this on the current config
20 this causes changing current config (calls FcConfigSetCurrent()).
21
23 version 2.10.92
24
25
26
27Fontconfig 2.14.2 27 1月 2023 FcConfigSetSysRoot(3)