Add examples section in fc-match(1)

Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/233
This commit is contained in:
Akira TAGOH 2020-11-28 09:50:09 +09:00
parent 89f7bcac08
commit 3fa85f033d
1 changed files with 26 additions and 0 deletions

View File

@ -194,6 +194,32 @@ output is requested.</para>
</variablelist>
</refsect1>
<refsect1>
<title>EXAMPLES</title>
<variablelist>
<varlistentry>
<term>fc-match sans</term>
<listitem><para>Display the best matching font categorized into sans-serif generic family, filtered by current locale</para></listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term>fc-match sans:lang=en</term>
<listitem><para>Display the best matching font categorized into sans-serif generic family, filtered by English language</para></listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term>fc-match sans:lang=en:weight=bold</term>
<listitem><para>Display the best matching font categorized into sans-serif generic family, filtered by English language and weight is bold.</para></listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>SEE ALSO</title>