From 765b7b32d862474eb631b47bbdbd34ffba507392 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Mon, 12 Mar 2012 19:02:27 +0900 Subject: [PATCH] [doc] Update for cachedir. element is now obsoletes and no longer used. get rid of it from the doc and add instead. --- doc/fontconfig-user.sgml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/fontconfig-user.sgml b/doc/fontconfig-user.sgml index e19cac7..d5da6c0 100644 --- a/doc/fontconfig-user.sgml +++ b/doc/fontconfig-user.sgml @@ -297,20 +297,21 @@ following structure: <literal><fontconfig></literal> This is the top level element for a font configuration and can contain -<dir>, <cache>, <include>, <match> and <alias> elements in any order. +<dir>, <cachedir>, <include>, <match> and <alias> elements in any order. <literal><dir></literal> This element contains a directory name which will be scanned for font files to include in the set of available fonts. - <literal><cache></literal> -This element contains a file name for the per-user cache of font -information. If it starts with '~', it refers to a file in the users -home directory. This file is used to hold information about fonts that -isn't present in the per-directory cache files. It is automatically -maintained by the fontconfig library. The default for this file -is ``~/.fontconfig/<hash value>-<architecture>.cache-<version>'', where <version> is the font configuration -file version number (currently 3). + <literal><cachedir></literal> +This element contains a directory name that is supposed to be stored or read +the cache of font information. If multiple elements are specified in +the configuration file, the directory that can be accessed first in the list +will be used to store the cache files. If it starts with '~', it refers to +a directory in the users home directory. The default directory is ``~/.fontconfig'' +and it contains the cache files named ``<hash value>-<architecture>.cache-<version'', +where <version> is the font configureation file +version number (currently 3). <literal><include ignore_missing="no"></literal> This element contains the name of an additional configuration file or