summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2019-01-28 09:59:29 +0000
committerAkira TAGOH <akira@tagoh.org>2019-04-03 12:02:09 +0000
commita563a1802ef930374f88e6c7198e1b5ffe7582dd (patch)
treeadf842ccc0c975c0f92f9c7905170fab160476a7 /doc
parent9d3fb5b38563300e0e31bf7f99f723309ec6316a (diff)
Add new element remap-dir instead of extending dir element
Diffstat (limited to 'doc')
-rw-r--r--doc/fontconfig-user.sgml15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/fontconfig-user.sgml b/doc/fontconfig-user.sgml
index 92e3e5a..f083394 100644
--- a/doc/fontconfig-user.sgml
+++ b/doc/fontconfig-user.sgml
@@ -310,15 +310,9 @@ following structure:
This is the top level element for a font configuration and can contain
<literal>&lt;dir&gt;</literal>, <literal>&lt;cachedir&gt;</literal>, <literal>&lt;include&gt;</literal>, <literal>&lt;match&gt;</literal> and <literal>&lt;alias&gt;</literal> elements in any order.
</para></refsect2>
- <refsect2><title><literal>&lt;dir prefix="default" map=""&gt;</literal></title><para>
+ <refsect2><title><literal>&lt;dir prefix="default"&gt;</literal></title><para>
This element contains a directory name which will be scanned for font files
to include in the set of available fonts. If 'prefix' is set to "default" or "cwd", the current working directory will be added as the path prefix prior to the value. If 'prefix' is set to "xdg", the value in the XDG_DATA_HOME environment variable will be added as the path prefix. please see XDG Base Directory Specification for more details. If 'prefix' is set to "relative", the path of current file will be added prior to the value.
-</para><para>
-If a 'map' attribute is specified, its value will replace the
-directory path when matching cached information for fonts contained in
-this directory. This is useful if the directory name is an alias
-(via a bind mount or symlink) to another directory in the system for
-which cached font information is likely to exist.
</para></refsect2>
<refsect2><title><literal>&lt;cachedir prefix="default"&gt;</literal></title><para>
This element contains a directory name that is supposed to be stored or read
@@ -358,6 +352,13 @@ Unicode characters which is supposed to be blank in an <literal>&lt;int&gt;</lit
Characters outside of this set which are drawn as blank will be elided from
the set of characters supported by the font.
</para></refsect2>
+ <refsect2><title><literal>&lt;remap-dir prefix="default" as-path=""&lt;</literal></title><para>
+This element contains a directory name where will be mapped
+as the path 'as-path' in cached information.
+This is useful if the directory name is an alias
+(via a bind mount or symlink) to another directory in the system for
+which cached font information is likely to exist.
+ </para></refsect2>
<refsect2><title><literal>&lt;rescan&gt;</literal></title><para>
The <literal>&lt;rescan&gt;</literal> element holds an <literal>&lt;int&gt;</literal> element which indicates the default
interval between automatic checks for font configuration changes.