FcConfigSetSysRoot - Set the system root directory
#include <fontconfig/fontconfig.h> void FcConfigSetSysRoot (FcConfig *config, const FcChar8 *sysroot);
FcConfigSetSysRoot(3) FcConfigSetSysRoot(3)
NAME
FcConfigSetSysRoot - Set the system root directory
SYNOPSIS
#include <fontconfig/fontconfig.h>
void FcConfigSetSysRoot (FcConfig *config, const FcChar8 *sysroot);
DESCRIPTION
Set 'sysroot' as the system root directory. All file paths used or cre-
ated with this 'config' (including file properties in patterns) will be
considered or made relative to this 'sysroot'. This allows a host to
generate caches for targets at build time. This also allows a cache to
be re-targeted to a different base directory if 'FcConfigGetSysRoot' is
used to resolve file paths. When setting this on the current config
this causes changing current config (calls FcConfigSetCurrent()).
SINCE
version 2.10.92
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+---------------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+---------------------------+
|Availability | system/library/fontconfig |
+---------------+---------------------------+
|Stability | Volatile |
+---------------+---------------------------+
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from https://fontconfig.org/release/fontcon-
fig-2.14.0.tar.xz.
Further information about this software can be found on the open source
community website at https://fontconfig.org/.
Fontconfig 2.14.0 31 3 2022 FcConfigSetSysRoot(3)