1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FC-MATCH" "1" "Aug 13, 2008" "" ""
.SH NAME
fc-match \- match available fonts
.SH SYNOPSIS
.sp
\fBfc-match\fR [ \fB-asvVh\fR ] [ \fB--all\fR ] [ \fB--sort\fR ] [ \fB--verbose\fR ] [ \fB [ -f \fIformat\fB ] [ --format \fIformat\fB ] \fR ] [ \fB--version\fR ] [ \fB--help\fR ]
[ \fB\fIpattern\fB [ \fIelement\fB\fI...\fB ] \fR ]
.SH "DESCRIPTION"
.PP
\fBfc-match\fR matches
\fIpattern\fR (empty
pattern by default) using the normal fontconfig matching rules to find
the best font available. If \fB--sort\fR is given, the sorted list of best
matching fonts is displayed.
The \fB--all\fR option works like
\fB--sort\fR except that no pruning is done on the list of fonts.
.PP
If any elements are specified, only those are printed.
Otherwise short file name, family, and style are printed, unless verbose
output is requested.
.SH "OPTIONS"
.PP
This program follows the usual GNU command line syntax,
with long options starting with two dashes (`-'). A summary of
options is included below.
.TP
\fB-a\fR
Displays sorted list of best matching fonts, but do not do any
pruning on the list.
.TP
\fB-s\fR
Displays sorted list of best matching fonts.
.TP
\fB-v\fR
Print verbose output of the whole font pattern for each match,
or \fIelement\fRs if any is
provided.
.TP
\fB-f\fR
Format output according to the format specifier
\fIformat\fR\&.
.TP
\fB-V\fR
Show version of the program and exit.
.TP
\fB-h\fR
Show summary of options.
.TP
\fB\fIpattern\fB\fR
Displays fonts matching
\fIpattern\fR (uses empty pattern by default).
.TP
\fB\fIelement\fB\fR
If set, the \fIelement\fR property
is displayed for matching fonts.
.SH "EXAMPLES"
.TP
\fBfc-match sans\fR
Display the best matching font categorized into sans-serif generic family, filtered by current locale
.PP
.TP
\fBfc-match sans:lang=en\fR
Display the best matching font categorized into sans-serif generic family, filtered by English language
.PP
.TP
\fBfc-match sans:lang=en:weight=bold\fR
Display the best matching font categorized into sans-serif generic family, filtered by English language and weight is bold.
.SH "SEE ALSO"
.PP
\fBfc-list\fR(1)
\fBFcFontMatch\fR(3)
\fBFcFontSort\fR(3)
\fBFcPatternFormat\fR(3)
\fBfc-cat\fR(1)
\fBfc-cache\fR(1)
\fBfc-pattern\fR(1)
\fBfc-query\fR(1)
\fBfc-scan\fR(1)
.PP
The fontconfig user's guide, in HTML format:
\fI/usr/share/doc/fontconfig/fontconfig-user.html\fR\&.
.SH "AUTHOR"
.PP
This manual page was updated by Patrick Lam <plam@csail.mit.edu>\&.
|