From 3fa85f033decbe98d9f654f622a356f73f2a8e14 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Sat, 28 Nov 2020 09:50:09 +0900 Subject: Add examples section in fc-match(1) Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/233 --- fc-match/fc-match.sgml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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 @@ -194,6 +194,32 @@ output is requested. + + EXAMPLES + + + + fc-match sans + Display the best matching font categorized into sans-serif generic family, filtered by current locale + + + + + + fc-match sans:lang=en + Display the best matching font categorized into sans-serif generic family, filtered by English language + + + + + + fc-match sans:lang=en:weight=bold + Display the best matching font categorized into sans-serif generic family, filtered by English language and weight is bold. + + + + + SEE ALSO -- cgit v1.2.3