]> git.wh0rd.org - fontconfig.git/blob - fc-match/fc-match.sgml
Update documentation for fc-match (SGML-ize it). (reported by Ilya
[fontconfig.git] / fc-match / fc-match.sgml
1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
2
3 <!-- Process this file with docbook-to-man to generate an nroff manual
4 page: `docbook-to-man manpage.sgml > manpage.1'. You may view
5 the manual page with: `docbook-to-man manpage.sgml | nroff -man |
6 less'. A typical entry in a Makefile or Makefile.am is:
7
8 manpage.1: manpage.sgml
9 docbook-to-man $< > $@
10
11
12 The docbook-to-man binary is found in the docbook-to-man package.
13 Please remember that if you create the nroff version in one of the
14 debian/rules file targets (such as build), you will need to include
15 docbook-to-man in your Build-Depends control field.
16
17 -->
18
19 <!-- Fill in your name for FIRSTNAME and SURNAME. -->
20 <!ENTITY dhfirstname "<firstname>Patrick</firstname>">
21 <!ENTITY dhsurname "<surname>Lam</surname>">
22 <!-- Please adjust the date whenever revising the manpage. -->
23 <!ENTITY dhdate "<date>Apr 6, 2006</date>">
24 <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
25 allowed: see man(7), man(1). -->
26 <!ENTITY dhsection "<manvolnum>1</manvolnum>">
27 <!ENTITY dhemail "<email>plam@csail.mit.edu</email>">
28 <!ENTITY dhusername "Patrick Lam">
29 <!ENTITY dhucpackage "<refentrytitle>fc-match</refentrytitle>">
30 <!ENTITY dhpackage "fc-match">
31
32 <!ENTITY debian "<productname>Debian</productname>">
33 <!ENTITY gnu "<acronym>GNU</acronym>">
34 <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
35 ]>
36
37 <refentry>
38 <refentryinfo>
39 <address>
40 &dhemail;
41 </address>
42 <author>
43 &dhfirstname;
44 &dhsurname;
45 </author>
46 <copyright>
47 <year>2003</year>
48 <holder>&dhusername;</holder>
49 </copyright>
50 &dhdate;
51 </refentryinfo>
52 <refmeta>
53 &dhucpackage;
54
55 &dhsection;
56 </refmeta>
57 <refnamediv>
58 <refname>&dhpackage;</refname>
59
60 <refpurpose>match available fonts</refpurpose>
61 </refnamediv>
62 <refsynopsisdiv>
63 <cmdsynopsis>
64 <command>&dhpackage;</command>
65
66 <arg><option>-svV?</option></arg>
67 <arg><option>--sort</option></arg>
68 <arg><option>--verbose</option></arg>
69 <arg><option>--version</option></arg>
70 <arg><option>--help</option></arg>
71 <arg><option><replaceable>font-pattern</replaceable></option></arg>
72
73 </cmdsynopsis>
74 </refsynopsisdiv>
75 <refsect1>
76 <title>DESCRIPTION</title>
77
78 <para><command>&dhpackage;</command> matches font-pattern (empty
79 pattern by default) using the normal fontconfig matching rules to find
80 the best font available. If --sort is given, the sorted list of best
81 matching fonts is displayed. With --verbose, the whole font pattern
82 for each match is printed, otherwise only the file, family and style
83 are printed..</para>
84
85 </refsect1>
86 <refsect1>
87 <title>OPTIONS</title>
88
89 <para>This program follows the usual &gnu; command line syntax,
90 with long options starting with two dashes (`-'). A summary of
91 options is included below.</para>
92
93 <variablelist>
94 <varlistentry>
95 <term><option>-v</option>
96 <option>--verbose</option>
97 </term>
98 <listitem>
99 <para>Print whole font pattern for each match.</para>
100 </listitem>
101 </varlistentry>
102 <varlistentry>
103 <term><option>-?</option>
104 <option>--help</option>
105 </term>
106 <listitem>
107 <para>Show summary of options.</para>
108 </listitem>
109 </varlistentry>
110 <varlistentry>
111 <term><option>-V</option>
112 <option>--version</option>
113 </term>
114 <listitem>
115 <para>Show version of the program and exit.</para>
116 </listitem>
117 </varlistentry>
118 <varlistentry>
119 <term><option>-s</option>
120 <option>--sort</option>
121 </term>
122 <listitem>
123 <para>Displays sorted list of best matching fonts.</para>
124 </listitem>
125 </varlistentry>
126 <varlistentry>
127 <term><option><replaceable>font-pattern</replaceable></option>
128 </term>
129 <listitem>
130 <para>Displays fonts matching
131 <replaceable>font-pattern</replaceable> (uses empty pattern by default).</para>
132 </listitem>
133 </varlistentry>
134 </variablelist>
135 </refsect1>
136
137 <refsect1>
138 <title>SEE ALSO</title>
139
140 <para><command>fc-list</command> (1).</para>
141
142 <para>The fontconfig user's guide, in HTML format:
143 <filename>/usr/share/doc/fontconfig/fontconfig-user.html</filename>.</para>
144
145 </refsect1>
146 <refsect1>
147 <title>AUTHOR</title>
148
149 <para>This manual page was updated by &dhusername; &dhemail;.</para>
150
151 </refsect1>
152 </refentry>
153
154 <!-- Keep this comment at the end of the file
155 Local variables:
156 mode: sgml
157 sgml-omittag:t
158 sgml-shorttag:t
159 sgml-minimize-attributes:nil
160 sgml-always-quote-attributes:t
161 sgml-indent-step:2
162 sgml-indent-data:t
163 sgml-parent-document:nil
164 sgml-default-dtd-file:nil
165 sgml-exposed-tags:nil
166 sgml-local-catalogs:nil
167 sgml-local-ecat-files:nil
168 End:
169 -->