summaryrefslogtreecommitdiff
path: root/doc/fontconfig-user.sgml
diff options
context:
space:
mode:
authorOndrej Balaz <blami@blami.net>2023-01-25 05:00:57 +0900
committerOndrej Balaz <blami@blami.net>2023-01-25 06:14:54 +0900
commitda1e3f35e61597fbf58c9c550ceba6d44abb1563 (patch)
tree3507534afd66408228ffc6948ef09dba2f34a478 /doc/fontconfig-user.sgml
parentf7091cd17b33e8e6023a69a95e0665959ce0104e (diff)
downloadfontconfig-da1e3f35e61597fbf58c9c550ceba6d44abb1563.tar.gz
Expand ~ in glob
Allow ~ home directory expansion in acceptfont and rejectfont globs. Fixes: #347
Diffstat (limited to 'doc/fontconfig-user.sgml')
-rw-r--r--doc/fontconfig-user.sgml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/fontconfig-user.sgml b/doc/fontconfig-user.sgml
index 16e98aa..0f18fce 100644
--- a/doc/fontconfig-user.sgml
+++ b/doc/fontconfig-user.sgml
@@ -396,7 +396,8 @@ pattern elements which are used to match fonts.
</para></refsect2>
<refsect2><title><literal>&lt;glob&gt;</literal></title><para>
Glob elements hold shell-style filename matching patterns (including ? and
-*) which match fonts based on their complete pathnames. This can be used to
+*) which match fonts based on their complete pathnames. If it starts with '~',
+it refers to a directory in the users home directory. This can be used to
exclude a set of directories (/usr/share/fonts/uglyfont*), or particular
font file types (*.pcf.gz), but the latter mechanism relies rather heavily
on filenaming conventions which can't be relied upon. Note that globs