diff options
author | Akira TAGOH <akira@tagoh.org> | 2013-02-06 19:35:30 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2013-03-05 18:38:50 +0900 |
commit | e96d7760886a3781a46b3271c76af99e15cb0146 (patch) | |
tree | 6af044654838607bc3fa221aa6ee6b68f381db14 /doc | |
parent | 569657a24ca11aedfd3b588984344d7ab97fe09f (diff) |
Bug 59456 - Adding a --sysroot like option to fc-cache
Add an ability to set the system root to generate the caches.
In order to do this, new APIs, FcConfigGetSysRoot() and
FcConfigSetSysRoot() is available.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fcconfig.fncs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/fcconfig.fncs b/doc/fcconfig.fncs index 10028b46..0491a566 100644 --- a/doc/fcconfig.fncs +++ b/doc/fcconfig.fncs @@ -371,3 +371,24 @@ and parsed. If 'complain' is FcFalse, no warning will be displayed if Returns FcFalse if some error occurred while loading the file, either a parse error, semantic error or allocation failure. Otherwise returns FcTrue. @@ + +@RET@ const FcChar8 * +@FUNC@ FcConfigGetSysRoot +@TYPE1@ const FcConfig * @ARG1@ config +@PURPOSE@ Obtain the system root directory +@DESC@ +Obtrains the system root directory in 'config' if available. +@@ + +@RET@ void +@FUNC@ FcConfigSetSysRoot +@TYPE1@ FcConfig * @ARG1@ config +@TYPE2@ const FcChar8 * @ARG2@ sysroot +@PURPOSE@ Set the system root directory +@DESC@ +Set 'sysroot' as the system root directory. fontconfig prepend 'sysroot' +to the cache directories in order to allow people to generate caches at +the build time. Note that this causes changing current config. i.e. +this function calls FcConfigSetCurrent() internally. +@@ + |