]> git.wh0rd.org - fontconfig.git/blame - fc-list/fc-list.sgml
Add fc-pattern cmdline tool
[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 67 <arg><option>--verbose</option></arg>
0c93b91d
BE
68 <group>
69 <arg><option>-f</option> <option><replaceable>format</replaceable></option></arg>
70 <arg><option>--format</option> <option><replaceable>format</replaceable></option></arg>
71 </group>
75839218
JM
72 <arg><option>--version</option></arg>
73 <arg><option>--help</option></arg>
d5b6085c
BE
74 <sbr>
75 <arg><option><replaceable>pattern</replaceable></option> <arg rep="repeat"><option><replaceable>element</replaceable></option></arg> </arg>
75839218
JM
76
77 </cmdsynopsis>
78 </refsynopsisdiv>
79 <refsect1>
80 <title>DESCRIPTION</title>
81
82 <para><command>&dhpackage;</command> lists fonts and styles
29874098 83 available on the system for applications using fontconfig.
41af588f
BE
84 If any elements are specified, only those are printed.
85 Otherwise family and style are printed, unless verbose
86 output is requested.</para>
75839218
JM
87 </refsect1>
88 <refsect1>
89 <title>OPTIONS</title>
90
91 <para>This program follows the usual &gnu; command line syntax,
92 with long options starting with two dashes (`-'). A summary of
93 options is included below.</para>
94
95 <variablelist>
96 <varlistentry>
97 <term><option>-v</option>
98 <option>--verbose</option>
99 </term>
100 <listitem>
41af588f
BE
101 <para>Print verbose output of the whole font pattern for each match,
102 or <replaceable>element</replaceable>s if any is
103 provided.</para>
75839218
JM
104 </listitem>
105 </varlistentry>
106 <varlistentry>
0c93b91d
BE
107 <term><option>-f</option>
108 <option>--format</option>
109 <option><replaceable>format</replaceable></option>
75839218
JM
110 </term>
111 <listitem>
0c93b91d
BE
112 <para>Format output according to the format specifier
113 <replaceable>format</replaceable>.</para>
75839218
JM
114 </listitem>
115 </varlistentry>
116 <varlistentry>
117 <term><option>-V</option>
118 <option>--version</option>
119 </term>
120 <listitem>
121 <para>Show version of the program and exit.</para>
122 </listitem>
123 </varlistentry>
0c93b91d
BE
124 <varlistentry>
125 <term><option>-h</option>
126 <option>--help</option>
127 </term>
128 <listitem>
129 <para>Show summary of options.</para>
130 </listitem>
131 </varlistentry>
75839218
JM
132 <varlistentry>
133 <term><option><replaceable>pattern</replaceable></option>
134 </term>
135 <listitem>
136 <para>If this argument is set, only fonts matching
137 <replaceable>pattern</replaceable> are displayed.</para>
138 </listitem>
139 </varlistentry>
140 <varlistentry>
141 <term><option><replaceable>element</replaceable></option>
142 </term>
143 <listitem>
144 <para>If set, the <replaceable>element</replaceable> property
145 is displayed for matching fonts.</para>
146 </listitem>
147 </varlistentry>
148 </variablelist>
149 </refsect1>
8e8fcda4
NL
150
151 <refsect1>
152 <title>EXAMPLES</title>
153
154 <variablelist>
155 <varlistentry>
156 <term>fc-list</term>
157 <listitem><para>Lists all font faces.</para></listitem>
158 </varlistentry>
159 <varlistentry>
160 <term>fc-list :lang=hi</term>
161 <listitem><para>Lists font faces that cover Hindi.</para></listitem>
162 </varlistentry>
163 <varlistentry>
164 <term>fc-list : family style file spacing </term>
165 <listitem><para>Lists the filename and spacing value for each font
166 face. <quote>:</quote> is an empty pattern that matches all
167 fonts.</para></listitem>
168 </varlistentry>
169 </variablelist>
170
171 </refsect1>
172
75839218
JM
173 <refsect1>
174 <title>SEE ALSO</title>
175
d5b6085c 176 <para>
d5b6085c 177 <command>fc-match</command>(1)
0c93b91d
BE
178 <function>FcFontList</function>(3)
179 <function>FcPatternFormat</function>(3)
6bffe1a9
BE
180 <command>fc-cat</command>(1)
181 <command>fc-cache</command>(1)
ba7b50ab 182 <command>fc-pattern</command>(1)
6bffe1a9
BE
183 <command>fc-query</command>(1)
184 <command>fc-scan</command>(1)
d5b6085c 185 </para>
75839218
JM
186
187 <para>The fontconfig user's guide, in HTML format:
188 <filename>/usr/share/doc/fontconfig/fontconfig-user.html</filename>.</para>
189
190 </refsect1>
191 <refsect1>
192 <title>AUTHOR</title>
193
194 <para>This manual page was written by Keith Packard
195 <email>keithp@keithp.com</email> and &dhusername; &dhemail;.</para>
196
197 </refsect1>
198</refentry>
199
200<!-- Keep this comment at the end of the file
201Local variables:
202mode: sgml
203sgml-omittag:t
204sgml-shorttag:t
205sgml-minimize-attributes:nil
206sgml-always-quote-attributes:t
207sgml-indent-step:2
208sgml-indent-data:t
209sgml-parent-document:nil
210sgml-default-dtd-file:nil
211sgml-exposed-tags:nil
212sgml-local-catalogs:nil
213sgml-local-ecat-files:nil
214End:
215-->