1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
4 Copyright © 2008 Patrick Lam
6 Permission to use, copy, modify, distribute, and sell this software and its
7 documentation for any purpose is hereby granted without fee, provided that
8 the above copyright notice appear in all copies and that both that
9 copyright notice and this permission notice appear in supporting
10 documentation, and that the name of the author(s) not be used in
11 advertising or publicity pertaining to distribution of the software without
12 specific, written prior permission. The authors make no
13 representations about the suitability of this software for any purpose. It
14 is provided "as is" without express or implied warranty.
16 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22 PERFORMANCE OF THIS SOFTWARE.
25 <!-- Process this file with docbook-to-man to generate an nroff manual
26 page: `docbook-to-man manpage.sgml > manpage.1'. You may view
27 the manual page with: `docbook-to-man manpage.sgml | nroff -man |
28 less'. A typical entry in a Makefile or Makefile.am is:
30 manpage.1: manpage.sgml
31 docbook-to-man $< > $@
34 The docbook-to-man binary is found in the docbook-to-man package.
35 Please remember that if you create the nroff version in one of the
36 debian/rules file targets (such as build), you will need to include
37 docbook-to-man in your Build-Depends control field.
41 <!-- Fill in your name for FIRSTNAME and SURNAME. -->
42 <!ENTITY dhfirstname "<firstname>Patrick</firstname>">
43 <!ENTITY dhsurname "<surname>Lam</surname>">
44 <!-- Please adjust the date whenever revising the manpage. -->
45 <!ENTITY dhdate "<date>Aug 13, 2008</date>">
46 <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
47 allowed: see man(7), man(1). -->
48 <!ENTITY dhsection "<manvolnum>1</manvolnum>">
49 <!ENTITY dhemail "<email>plam@csail.mit.edu</email>">
50 <!ENTITY dhusername "Patrick Lam">
51 <!ENTITY dhucpackage "<refentrytitle>fc-match</refentrytitle>">
52 <!ENTITY dhpackage "fc-match">
54 <!ENTITY debian "<productname>Debian</productname>">
55 <!ENTITY gnu "<acronym>GNU</acronym>">
56 <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
70 <holder>&dhusername;</holder>
80 <refname>&dhpackage;</refname>
82 <refpurpose>match available fonts</refpurpose>
86 <command>&dhpackage;</command>
88 <arg><option>-asvVh</option></arg>
89 <arg><option>--all</option></arg>
90 <arg><option>--sort</option></arg>
91 <arg><option>--verbose</option></arg>
93 <arg><option>-f</option> <option><replaceable>format</replaceable></option></arg>
94 <arg><option>--format</option> <option><replaceable>format</replaceable></option></arg>
96 <arg><option>--version</option></arg>
97 <arg><option>--help</option></arg>
99 <arg><option><replaceable>pattern</replaceable></option> <arg rep="repeat"><option><replaceable>element</replaceable></option></arg> </arg>
104 <title>DESCRIPTION</title>
106 <para><command>&dhpackage;</command> matches
107 <replaceable>pattern</replaceable> (empty
108 pattern by default) using the normal fontconfig matching rules to find
109 the best font available. If <option>--sort</option> is given, the sorted list of best
110 matching fonts is displayed.
111 The <option>--all</option> option works like
112 <option>--sort</option> except that no pruning is done on the list of fonts.</para>
113 <para>If any elements are specified, only those are printed.
114 Otherwise short file name, family, and style are printed, unless verbose
115 output is requested.</para>
118 <title>OPTIONS</title>
120 <para>This program follows the usual &gnu; command line syntax,
121 with long options starting with two dashes (`-'). A summary of
122 options is included below.</para>
126 <term><option>-a</option>
127 <option>--all</option>
130 <para>Displays sorted list of best matching fonts, but do not do any
131 pruning on the list.</para>
135 <term><option>-s</option>
136 <option>--sort</option>
139 <para>Displays sorted list of best matching fonts.</para>
143 <term><option>-v</option>
144 <option>--verbose</option>
147 <para>Print verbose output of the whole font pattern for each match,
148 or <replaceable>element</replaceable>s if any is
153 <term><option>-f</option>
154 <option>--format</option>
155 <option><replaceable>format</replaceable></option>
158 <para>Format output according to the format specifier
159 <replaceable>format</replaceable>.</para>
163 <term><option>-V</option>
164 <option>--version</option>
167 <para>Show version of the program and exit.</para>
171 <term><option>-h</option>
172 <option>--help</option>
175 <para>Show summary of options.</para>
179 <term><option><replaceable>pattern</replaceable></option>
182 <para>Displays fonts matching
183 <replaceable>pattern</replaceable> (uses empty pattern by default).</para>
187 <term><option><replaceable>element</replaceable></option>
190 <para>If set, the <replaceable>element</replaceable> property
191 is displayed for matching fonts.</para>
198 <title>EXAMPLES</title>
202 <term>fc-match sans</term>
203 <listitem><para>Display the best matching font categorized into sans-serif generic family, filtered by current locale</para></listitem>
209 <term>fc-match sans:lang=en</term>
210 <listitem><para>Display the best matching font categorized into sans-serif generic family, filtered by English language</para></listitem>
216 <term>fc-match sans:lang=en:weight=bold</term>
217 <listitem><para>Display the best matching font categorized into sans-serif generic family, filtered by English language and weight is bold.</para></listitem>
224 <title>SEE ALSO</title>
227 <command>fc-list</command>(1)
228 <function>FcFontMatch</function>(3)
229 <function>FcFontSort</function>(3)
230 <function>FcPatternFormat</function>(3)
231 <command>fc-cat</command>(1)
232 <command>fc-cache</command>(1)
233 <command>fc-pattern</command>(1)
234 <command>fc-query</command>(1)
235 <command>fc-scan</command>(1)
238 <para>The fontconfig user's guide, in HTML format:
239 <filename>/usr/share/doc/fontconfig/fontconfig-user.html</filename>.</para>
243 <title>AUTHOR</title>
245 <para>This manual page was updated by &dhusername; &dhemail;.</para>
250 <!-- Keep this comment at the end of the file
255 sgml-minimize-attributes:nil
256 sgml-always-quote-attributes:t
259 sgml-parent-document:nil
260 sgml-default-dtd-file:nil
261 sgml-exposed-tags:nil
262 sgml-local-catalogs:nil
263 sgml-local-ecat-files:nil