diff options
author | Akira TAGOH <akira@tagoh.org> | 2012-04-11 19:52:35 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2012-04-25 16:38:01 +0900 |
commit | 7d65f9f514e33305bdeafd0d34140da46259e57f (patch) | |
tree | e073f0f045794704d32ade86c7cb707d34cd1c49 /doc/fontconfig-user.sgml | |
parent | f30a5d7637af14b12f07267b59e02ec4a14458f2 (diff) | |
download | fontconfig-7d65f9f514e33305bdeafd0d34140da46259e57f.tar.gz |
Bug 39278 - make usage of mmap optional
Stop using mmap() if the cache file is stored on NFS.
also added FONTCONFIG_USE_MMAP environment variable to enforce the use of
or not the use of mmap(2) regardless of what the filesystem the cache files
are stored on.
Diffstat (limited to 'doc/fontconfig-user.sgml')
-rw-r--r-- | doc/fontconfig-user.sgml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/doc/fontconfig-user.sgml b/doc/fontconfig-user.sgml index 14fdc79..86f2b32 100644 --- a/doc/fontconfig-user.sgml +++ b/doc/fontconfig-user.sgml @@ -224,7 +224,7 @@ values as the font name is read. </para> </refsect2> </refsect1> -<refsect1><title>Debugging Applications</title> +<refsect1 id="debug"><title>Debugging Applications</title> <para> To help diagnose font and applications problems, fontconfig is built with a large amount of internal debugging left enabled. It is controlled by means @@ -692,6 +692,24 @@ is the conventional repository of font information that isn't found in the per-directory caches. This file is automatically maintained by fontconfig. </para> </refsect1> +<refsect1><title>Environment variables</title> + <para> +<emphasis>FONTCONFIG_FILE</emphasis> +is used to override the default configuration file. + </para> + <para> +<emphasis>FONTCONFIG_PATH</emphasis> +is used to override the default configuration directory. + </para> + <para> +<emphasis>FC_DEBUG</emphasis> +is used to output the detailed debugging messages. see <link linkend="debug">Debugging Applications</link> section for more details. + </para> + <para> +<emphasis>FONTCONFIG_USE_MMAP</emphasis> +is used to control the use of mmap(2) for the cache files if available. this take a boolean value. fontconfig will checks if the cache files are stored on the filesystem that is safe to use mmap(2). explicitly setting this environment variable will causes skipping this check and enforce to use or not use mmap(2) anyway. + </para> +</refsect1> <refsect1><title>See Also</title> <para> fc-cat(1), fc-cache(1), fc-list(1), fc-match(1), fc-query(1) |