Add more docs about selectfont

Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/363
This commit is contained in:
Akira TAGOH 2023-06-12 19:59:53 +09:00
parent 7aa647eb9e
commit 7e2a1b2577
1 changed files with 4 additions and 1 deletions

View File

@ -385,7 +385,10 @@ automatically rebuild the internal datastructures when this interval passes.
</para></refsect2>
<refsect2><title><literal>&lt;selectfont&gt;</literal></title><para>
This element is used to deny/allow list fonts from being listed or matched
against. It holds acceptfont and rejectfont elements.
against. It holds acceptfont and rejectfont elements. This list is applied
only once when caches is loaded. So if you want to filter out by some patterns,
patterns is evaluated with something in cache only.
In other words, target patterns except "scan" won't takes any effects.
</para></refsect2>
<refsect2><title><literal>&lt;acceptfont&gt;</literal></title><para>
Fonts matched by an acceptfont element are "allowlisted"; such fonts are