Imported Upstream version 2.12.1
[platform/upstream/fontconfig.git] / fc-scan / fc-scan.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>Behdad</firstname>">
21   <!ENTITY dhsurname   "<surname>Esfahbod</surname>">
22   <!-- Please adjust the date whenever revising the manpage. -->
23   <!ENTITY dhdate      "<date>Jan 15, 2009</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>behdad@behdad.org</email>">
28   <!ENTITY dhusername  "Behdad Esfahbod">
29   <!ENTITY dhucpackage "<refentrytitle>fc-scan</refentrytitle>">
30   <!ENTITY dhpackage   "fc-scan">
31
32   <!ENTITY gnu         "<acronym>GNU</acronym>">
33   <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
34 ]>
35
36 <refentry>
37   <refentryinfo>
38     <address>
39       &dhemail;
40     </address>
41     <author>
42       &dhfirstname;
43       &dhsurname;
44     </author>
45     <copyright>
46       <year>2008</year>
47       <holder>&dhusername;</holder>
48     </copyright>
49     &dhdate;
50   </refentryinfo>
51   <refmeta>
52     &dhucpackage;
53
54     &dhsection;
55   </refmeta>
56   <refnamediv>
57     <refname>&dhpackage;</refname>
58
59     <refpurpose>scan font files or directories</refpurpose>
60   </refnamediv>
61   <refsynopsisdiv>
62     <cmdsynopsis>
63       <command>&dhpackage;</command>
64
65       <arg><option>-Vbh</option></arg>
66       <sbr>
67       <group>
68         <arg><option>-b</option></arg>
69         <arg><option>--ignore-blanks</option></arg>
70       </group>
71       <group>
72         <arg><option>-f</option> <option><replaceable>format</replaceable></option></arg>
73         <arg><option>--format</option> <option><replaceable>format</replaceable></option></arg>
74       </group>
75       <arg><option>--version</option></arg>
76       <arg><option>--help</option></arg>
77       <arg choice="req" rep="repeat"><option><replaceable>file</replaceable></option></arg>
78
79      </cmdsynopsis>
80   </refsynopsisdiv>
81   <refsect1>
82     <title>DESCRIPTION</title>
83
84     <para><command>&dhpackage;</command> scans
85     <replaceable>file</replaceable>(s) recursively
86     and prints out font pattern for each face found.</para>
87
88   </refsect1>
89   <refsect1>
90     <title>OPTIONS</title>
91
92     <para>This program follows the usual &gnu; command line syntax,
93       with long options starting with two dashes (`-').  A summary of
94       options is included below.</para>
95
96     <variablelist>
97       <varlistentry>
98         <term><option>-b</option>
99           <option>--ignore-blanks</option>
100         </term>
101         <listitem>
102           <para>Ignore blanks to compute languages</para>
103         </listitem>
104       </varlistentry>
105       <varlistentry>
106         <term><option>-f</option>
107           <option>--format</option>
108           <option><replaceable>format</replaceable></option>
109         </term>
110         <listitem>
111           <para>Format output according to the format specifier
112           <replaceable>format</replaceable>.</para>
113         </listitem>
114       </varlistentry>
115       <varlistentry>
116         <term><option>-V</option>
117           <option>--version</option>
118         </term>
119         <listitem>
120           <para>Show version of the program and exit.</para>
121         </listitem>
122       </varlistentry>
123       <varlistentry>
124         <term><option>-h</option>
125           <option>--help</option>
126         </term>
127         <listitem>
128           <para>Show summary of options.</para>
129         </listitem>
130       </varlistentry>
131       <varlistentry>
132         <term><option><replaceable>file</replaceable></option>
133         </term>
134         <listitem>
135           <para>Scan <replaceable>file</replaceable> recursively for font faces.</para>
136         </listitem>
137       </varlistentry>
138     </variablelist>
139   </refsect1>
140
141   <refsect1>
142     <title>RETURN CODES</title>
143     <para><command>fc-scan</command> returns error code 0 if at least one font
144     was found or 1 otherwise.</para>
145   </refsect1>
146
147   <refsect1>
148     <title>SEE ALSO</title>
149
150     <para>
151       <command>fc-query</command>(1)
152       <function>FcFileScan</function>(3)
153       <function>FcDirScan</function>(3)
154       <function>FcPatternFormat</function>(3)
155       <command>fc-cat</command>(1)
156       <command>fc-cache</command>(1)
157       <command>fc-list</command>(1)
158       <command>fc-match</command>(1)
159       <command>fc-pattern</command>(1)
160     </para>
161
162     <para>The fontconfig user's guide, in HTML format:
163       <filename>/usr/share/doc/fontconfig/fontconfig-user.html</filename>.</para>
164
165  </refsect1>
166   <refsect1>
167     <title>AUTHOR</title>
168
169     <para>This manual page was updated by &dhusername; &dhemail;.</para>
170
171   </refsect1>
172 </refentry>
173
174 <!-- Keep this comment at the end of the file
175 Local variables:
176 mode: sgml
177 sgml-omittag:t
178 sgml-shorttag:t
179 sgml-minimize-attributes:nil
180 sgml-always-quote-attributes:t
181 sgml-indent-step:2
182 sgml-indent-data:t
183 sgml-parent-document:nil
184 sgml-default-dtd-file:nil
185 sgml-exposed-tags:nil
186 sgml-local-catalogs:nil
187 sgml-local-ecat-files:nil
188 End:
189 -->