diff options
author | Akira TAGOH <akira@tagoh.org> | 2020-11-28 09:50:09 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2020-11-28 09:50:09 +0900 |
commit | 3fa85f033decbe98d9f654f622a356f73f2a8e14 (patch) | |
tree | 395de3467e15e3cac3e1fd55d68ede8a48fe465d | |
parent | 89f7bcac086e0134f01cc94ed770d67ff2f44bc5 (diff) |
Add examples section in fc-match(1)
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/233
-rw-r--r-- | fc-match/fc-match.sgml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/fc-match/fc-match.sgml b/fc-match/fc-match.sgml index c33fea9..ffc50c5 100644 --- a/fc-match/fc-match.sgml +++ b/fc-match/fc-match.sgml @@ -195,6 +195,32 @@ output is requested.</para> </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> <para> |