Blob Blame History Raw
.\" 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 "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>\&.