1FC-MATCH(1)                                                        FC-MATCH(1)
2
3
4

NAME

6       fc-match - match available fonts
7

SYNOPSIS

9       fc-match [ -asvVh ]  [ --all ]  [ --sort ]  [ --verbose ]  [  [ -f for‐
10       mat ]  [ --format format ]  ]  [ --version ]  [ --help ]
11
12        [ pattern  [ element... ]   ]
13

DESCRIPTION

15       fc-match matches pattern (empty pattern by default)  using  the  normal
16       fontconfig matching rules to find the best font available. If --sort is
17       given, the sorted list of best matching fonts is displayed.  The  --all
18       option  works like --sort except that no pruning is done on the list of
19       fonts.
20
21       If any elements are specified, only those are printed.  Otherwise short
22       file  name, family, and style are printed, unless verbose output is re‐
23       quested.
24

OPTIONS

26       This program follows the usual GNU command line syntax, with  long  op‐
27       tions  starting with two dashes (`-'). A summary of options is included
28       below.
29
30       -a     Displays sorted list of best matching fonts, but do not  do  any
31              pruning on the list.
32
33       -s     Displays sorted list of best matching fonts.
34
35       -v     Print  verbose  output of the whole font pattern for each match,
36              or elements if any is provided.
37
38       -f     Format output according to the format specifier format.
39
40       -V     Show version of the program and exit.
41
42       -h     Show summary of options.
43
44       pattern
45              Displays fonts matching pattern (uses empty pattern by default).
46
47       element
48              If set, the element property is displayed for matching fonts.
49

EXAMPLES

51       fc-match sans
52              Display the  best  matching  font  categorized  into  sans-serif
53              generic family, filtered by current locale
54
55       fc-match sans:lang=en
56              Display  the  best  matching  font  categorized  into sans-serif
57              generic family, filtered by English language
58
59       fc-match sans:lang=en:weight=bold
60              Display the  best  matching  font  categorized  into  sans-serif
61              generic family, filtered by English language and weight is bold.
62

SEE ALSO

64       fc-list(1)  FcFontMatch(3)  FcFontSort(3)  FcPatternFormat(3) fc-cat(1)
65       fc-cache(1) fc-pattern(1) fc-query(1) fc-scan(1)
66
67       The fontconfig user's guide, in  HTML  format:  /usr/share/doc/fontcon‐
68       fig/fontconfig-user.html.
69

AUTHOR

71       This manual page was updated by Patrick Lam <plam@csail.mit.edu>.
72
73
74
75                                 Aug 13, 2008                      FC-MATCH(1)
Impressum