]> git.wh0rd.org - fontconfig.git/blame - fc-list/fc-list.sgml
Handle -h and --help according to GNU Coding Standards (#17104)
[fontconfig.git] / fc-list / fc-list.sgml
CommitLineData
75839218
JM
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
8manpage.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>Josselin</firstname>">
21 <!ENTITY dhsurname "<surname>Mouette</surname>">
22 <!-- Please adjust the date whenever revising the manpage. -->
d5b6085c 23 <!ENTITY dhdate "<date>Aug 13, 2008</date>">
75839218
JM
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>joss@debian.org</email>">
28 <!ENTITY dhusername "Josselin Mouette">
29 <!ENTITY dhucpackage "<refentrytitle>fc-list</refentrytitle>">
30 <!ENTITY dhpackage "fc-list">
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>list available fonts</refpurpose>
61 </refnamediv>
62 <refsynopsisdiv>
63 <cmdsynopsis>
64 <command>&dhpackage;</command>
65
1439c8f2 66 <arg><option>-vVh</option></arg>
75839218
JM
67 <arg><option>--verbose</option></arg>
68 <arg><option>--version</option></arg>
69 <arg><option>--help</option></arg>
d5b6085c
BE
70 <sbr>
71 <arg><option><replaceable>pattern</replaceable></option> <arg rep="repeat"><option><replaceable>element</replaceable></option></arg> </arg>
75839218
JM
72
73 </cmdsynopsis>
74 </refsynopsisdiv>
75 <refsect1>
76 <title>DESCRIPTION</title>
77
78 <para><command>&dhpackage;</command> lists fonts and styles
29874098
BE
79 available on the system for applications using fontconfig.
80 With <option>--verbose</option>, the whole font pattern
81 for each font is printed, otherwise only the elements requested
82 are printed (family and style if none provided).</para>
75839218
JM
83 </refsect1>
84 <refsect1>
85 <title>OPTIONS</title>
86
87 <para>This program follows the usual &gnu; command line syntax,
88 with long options starting with two dashes (`-'). A summary of
89 options is included below.</para>
90
91 <variablelist>
92 <varlistentry>
93 <term><option>-v</option>
94 <option>--verbose</option>
95 </term>
96 <listitem>
29874098
BE
97 <para>Print whole font pattern for each match. Provided
98 <replaceable>element</replaceable>s are ignored in this
99 case.</para>
75839218
JM
100 </listitem>
101 </varlistentry>
102 <varlistentry>
1439c8f2 103 <term><option>-h</option>
75839218
JM
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><replaceable>pattern</replaceable></option>
120 </term>
121 <listitem>
122 <para>If this argument is set, only fonts matching
123 <replaceable>pattern</replaceable> are displayed.</para>
124 </listitem>
125 </varlistentry>
126 <varlistentry>
127 <term><option><replaceable>element</replaceable></option>
128 </term>
129 <listitem>
130 <para>If set, the <replaceable>element</replaceable> property
131 is displayed for matching fonts.</para>
132 </listitem>
133 </varlistentry>
134 </variablelist>
135 </refsect1>
8e8fcda4
NL
136
137 <refsect1>
138 <title>EXAMPLES</title>
139
140 <variablelist>
141 <varlistentry>
142 <term>fc-list</term>
143 <listitem><para>Lists all font faces.</para></listitem>
144 </varlistentry>
145 <varlistentry>
146 <term>fc-list :lang=hi</term>
147 <listitem><para>Lists font faces that cover Hindi.</para></listitem>
148 </varlistentry>
149 <varlistentry>
150 <term>fc-list : family style file spacing </term>
151 <listitem><para>Lists the filename and spacing value for each font
152 face. <quote>:</quote> is an empty pattern that matches all
153 fonts.</para></listitem>
154 </varlistentry>
155 </variablelist>
156
157 </refsect1>
158
75839218
JM
159 <refsect1>
160 <title>SEE ALSO</title>
161
d5b6085c
BE
162 <para>
163 <command>fc-cat</command>(1)
164 <command>fc-cache</command>(1)
165 <command>fc-match</command>(1)
77c0d8bc 166 <command>fc-query</command>(1)
d5b6085c 167 </para>
75839218
JM
168
169 <para>The fontconfig user's guide, in HTML format:
170 <filename>/usr/share/doc/fontconfig/fontconfig-user.html</filename>.</para>
171
172 </refsect1>
173 <refsect1>
174 <title>AUTHOR</title>
175
176 <para>This manual page was written by Keith Packard
177 <email>keithp@keithp.com</email> and &dhusername; &dhemail;.</para>
178
179 </refsect1>
180</refentry>
181
182<!-- Keep this comment at the end of the file
183Local variables:
184mode: sgml
185sgml-omittag:t
186sgml-shorttag:t
187sgml-minimize-attributes:nil
188sgml-always-quote-attributes:t
189sgml-indent-step:2
190sgml-indent-data:t
191sgml-parent-document:nil
192sgml-default-dtd-file:nil
193sgml-exposed-tags:nil
194sgml-local-catalogs:nil
195sgml-local-ecat-files:nil
196End:
197-->