Update doc for salt
This commit is contained in:
parent
2e8ce63514
commit
4ff52ffb52
|
@ -310,9 +310,13 @@ following structure:
|
|||
This is the top level element for a font configuration and can contain
|
||||
<literal><dir></literal>, <literal><cachedir></literal>, <literal><include></literal>, <literal><match></literal> and <literal><alias></literal> elements in any order.
|
||||
</para></refsect2>
|
||||
<refsect2><title><literal><dir prefix="default"></literal></title><para>
|
||||
<refsect2><title><literal><dir prefix="default" salt=""></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.
|
||||
to include in the set of available fonts.
|
||||
</para><para>
|
||||
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>
|
||||
'salt' property affects to determine cache filename. this is useful for example when having different fonts sets on same path at container and share fonts from host on different font path.
|
||||
</para></refsect2>
|
||||
<refsect2><title><literal><cachedir prefix="default"></literal></title><para>
|
||||
This element contains a directory name that is supposed to be stored or read
|
||||
|
@ -352,12 +356,14 @@ Unicode characters which is supposed to be blank in an <literal><int></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><remap-dir prefix="default" as-path=""<</literal></title><para>
|
||||
<refsect2><title><literal><remap-dir prefix="default" as-path="" salt=""<</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><para>
|
||||
'salt' property affects to determine cache filename as same as <literal><dir></literal> element.
|
||||
</para></refsect2>
|
||||
<refsect2><title><literal><reset-dirs /></literal></title><para>
|
||||
This element removes all of fonts directories where added by <literal><dir></literal> elements.
|
||||
|
|
Loading…
Reference in New Issue