1a6844aabSmrg<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
2a6844aabSmrg
3a6844aabSmrg<!-- Process this file with docbook-to-man to generate an nroff manual
4a6844aabSmrg     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
5a6844aabSmrg     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
6a6844aabSmrg     less'.  A typical entry in a Makefile or Makefile.am is:
7a6844aabSmrg
8a6844aabSmrgmanpage.1: manpage.sgml
91cc69409Smrg        docbook-to-man $< > $@
10a6844aabSmrg
11a6844aabSmrg
121cc69409Smrg        The docbook-to-man binary is found in the docbook-to-man package.
131cc69409Smrg        Please remember that if you create the nroff version in one of the
141cc69409Smrg        debian/rules file targets (such as build), you will need to include
151cc69409Smrg        docbook-to-man in your Build-Depends control field.
16a6844aabSmrg
17a6844aabSmrg  -->
18a6844aabSmrg
19a6844aabSmrg  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
20a6844aabSmrg  <!ENTITY dhfirstname "<firstname>Behdad</firstname>">
21a6844aabSmrg  <!ENTITY dhsurname   "<surname>Esfahbod</surname>">
22a6844aabSmrg  <!-- Please adjust the date whenever revising the manpage. -->
23a6844aabSmrg  <!ENTITY dhdate      "<date>Aug 13, 2008</date>">
24a6844aabSmrg  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
25a6844aabSmrg       allowed: see man(7), man(1). -->
26a6844aabSmrg  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
27a6844aabSmrg  <!ENTITY dhemail     "<email>behdad@behdad.org</email>">
28a6844aabSmrg  <!ENTITY dhusername  "Behdad Esfahbod">
29a6844aabSmrg  <!ENTITY dhucpackage "<refentrytitle>fc-query</refentrytitle>">
30a6844aabSmrg  <!ENTITY dhpackage   "fc-query">
31a6844aabSmrg
32a6844aabSmrg  <!ENTITY gnu         "<acronym>GNU</acronym>">
33a6844aabSmrg  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
34a6844aabSmrg]>
35a6844aabSmrg
36a6844aabSmrg<refentry>
37a6844aabSmrg  <refentryinfo>
38a6844aabSmrg    <address>
39a6844aabSmrg      &dhemail;
40a6844aabSmrg    </address>
41a6844aabSmrg    <author>
42a6844aabSmrg      &dhfirstname;
43a6844aabSmrg      &dhsurname;
44a6844aabSmrg    </author>
45a6844aabSmrg    <copyright>
46a6844aabSmrg      <year>2008</year>
47a6844aabSmrg      <holder>&dhusername;</holder>
48a6844aabSmrg    </copyright>
49a6844aabSmrg    &dhdate;
50a6844aabSmrg  </refentryinfo>
51a6844aabSmrg  <refmeta>
52a6844aabSmrg    &dhucpackage;
53a6844aabSmrg
54a6844aabSmrg    &dhsection;
55a6844aabSmrg  </refmeta>
56a6844aabSmrg  <refnamediv>
57a6844aabSmrg    <refname>&dhpackage;</refname>
58a6844aabSmrg
59a6844aabSmrg    <refpurpose>query font files</refpurpose>
60a6844aabSmrg  </refnamediv>
61a6844aabSmrg  <refsynopsisdiv>
62a6844aabSmrg    <cmdsynopsis>
63a6844aabSmrg      <command>&dhpackage;</command>
64a6844aabSmrg
65a6844aabSmrg      <arg><option>-Vh</option></arg>
66a6844aabSmrg      <sbr>
67953daebaSmrg      <group>
681cc69409Smrg        <arg><option>-b</option></arg>
691cc69409Smrg        <arg><option>--ignore-blanks</option></arg>
70953daebaSmrg      </group>
71a6844aabSmrg      <group>
72a6844aabSmrg        <arg><option>-i</option> <option><replaceable>index</replaceable></option></arg>
73a6844aabSmrg        <arg><option>--index</option> <option><replaceable>index</replaceable></option></arg>
74a6844aabSmrg      </group>
75a6844aabSmrg      <group>
76a6844aabSmrg        <arg><option>-f</option> <option><replaceable>format</replaceable></option></arg>
77a6844aabSmrg        <arg><option>--format</option> <option><replaceable>format</replaceable></option></arg>
78a6844aabSmrg      </group>
79a6844aabSmrg      <arg><option>--version</option></arg>
80a6844aabSmrg      <arg><option>--help</option></arg>
81a6844aabSmrg      <arg choice="req" rep="repeat"><option><replaceable>font-file</replaceable></option></arg>
82a6844aabSmrg
83a6844aabSmrg     </cmdsynopsis>
84a6844aabSmrg  </refsynopsisdiv>
85a6844aabSmrg  <refsect1>
86a6844aabSmrg    <title>DESCRIPTION</title>
87a6844aabSmrg
88a6844aabSmrg    <para><command>&dhpackage;</command> queries
89a6844aabSmrg    <replaceable>font-file</replaceable>(s) using the normal fontconfig
90a6844aabSmrg    rules and prints out font pattern for each face found.
91a6844aabSmrg    If <option>--index</option> is given, only one face of each file is
92a6844aabSmrg    queried, otherwise all faces are queried.</para>
93a6844aabSmrg
94a6844aabSmrg  </refsect1>
95a6844aabSmrg  <refsect1>
96a6844aabSmrg    <title>OPTIONS</title>
97a6844aabSmrg
98a6844aabSmrg    <para>This program follows the usual &gnu; command line syntax,
99a6844aabSmrg      with long options starting with two dashes (`-').  A summary of
100a6844aabSmrg      options is included below.</para>
101a6844aabSmrg
102a6844aabSmrg    <variablelist>
103953daebaSmrg      <varlistentry>
1041cc69409Smrg        <term><option>-b</option>
1051cc69409Smrg          <option>--ignore-blanks</option>
1061cc69409Smrg        </term>
1071cc69409Smrg        <listitem>
1081cc69409Smrg          <para>Ignore blanks to compute languages</para>
1091cc69409Smrg        </listitem>
110953daebaSmrg      </varlistentry>
111a6844aabSmrg      <varlistentry>
112a6844aabSmrg        <term><option>-i</option>
113a6844aabSmrg          <option>--index</option>
1141cc69409Smrg          <option><replaceable>index</replaceable></option>
115a6844aabSmrg        </term>
116a6844aabSmrg        <listitem>
117a6844aabSmrg          <para>Only query face indexed <replaceable>index</replaceable> of
1181cc69409Smrg          each file.</para>
119a6844aabSmrg        </listitem>
120a6844aabSmrg      </varlistentry>
121a6844aabSmrg      <varlistentry>
122a6844aabSmrg        <term><option>-f</option>
123a6844aabSmrg          <option>--format</option>
1241cc69409Smrg          <option><replaceable>format</replaceable></option>
125a6844aabSmrg        </term>
126a6844aabSmrg        <listitem>
127a6844aabSmrg          <para>Format output according to the format specifier
1281cc69409Smrg          <replaceable>format</replaceable>.</para>
129a6844aabSmrg        </listitem>
130a6844aabSmrg      </varlistentry>
131a6844aabSmrg      <varlistentry>
132a6844aabSmrg        <term><option>-V</option>
133a6844aabSmrg          <option>--version</option>
134a6844aabSmrg        </term>
135a6844aabSmrg        <listitem>
136a6844aabSmrg          <para>Show version of the program and exit.</para>
137a6844aabSmrg        </listitem>
138a6844aabSmrg      </varlistentry>
139a6844aabSmrg      <varlistentry>
140a6844aabSmrg        <term><option>-h</option>
141a6844aabSmrg          <option>--help</option>
142a6844aabSmrg        </term>
143a6844aabSmrg        <listitem>
144a6844aabSmrg          <para>Show summary of options.</para>
145a6844aabSmrg        </listitem>
146a6844aabSmrg      </varlistentry>
147a6844aabSmrg      <varlistentry>
148a6844aabSmrg        <term><option><replaceable>font-file</replaceable></option>
149a6844aabSmrg        </term>
150a6844aabSmrg        <listitem>
151a6844aabSmrg          <para>Query <replaceable>font-file</replaceable> for font faces.</para>
152a6844aabSmrg        </listitem>
153a6844aabSmrg      </varlistentry>
154a6844aabSmrg    </variablelist>
155a6844aabSmrg  </refsect1>
156a6844aabSmrg
157a6844aabSmrg  <refsect1>
158a6844aabSmrg    <title>RETURN CODES</title>
159a6844aabSmrg    <para><command>fc-query</command> returns error code 0 for successful parsing,
160a4e54154Smrg    or 1 if any errors occurred or if at least one font face could not be opened.</para>
161a6844aabSmrg  </refsect1>
162a6844aabSmrg
163a6844aabSmrg  <refsect1>
164a6844aabSmrg    <title>SEE ALSO</title>
165a6844aabSmrg
166a6844aabSmrg    <para>
167a6844aabSmrg      <command>fc-scan</command>(1)
168a6844aabSmrg      <function>FcFreeTypeQuery</function>(3)
169a6844aabSmrg      <function>FcPatternFormat</function>(3)
170a6844aabSmrg      <command>fc-cat</command>(1)
171a6844aabSmrg      <command>fc-cache</command>(1)
172a6844aabSmrg      <command>fc-list</command>(1)
173a6844aabSmrg      <command>fc-match</command>(1)
174ca08ab68Smrg      <command>fc-pattern</command>(1)
175a6844aabSmrg    </para>
176a6844aabSmrg
177a6844aabSmrg    <para>The fontconfig user's guide, in HTML format:
178a6844aabSmrg      <filename>/usr/share/doc/fontconfig/fontconfig-user.html</filename>.</para>
179a6844aabSmrg
180a6844aabSmrg </refsect1>
181a6844aabSmrg  <refsect1>
182a6844aabSmrg    <title>AUTHOR</title>
183a6844aabSmrg
184a6844aabSmrg    <para>This manual page was updated by &dhusername; &dhemail;.</para>
185a6844aabSmrg
186a6844aabSmrg  </refsect1>
187a6844aabSmrg</refentry>
188a6844aabSmrg
189a6844aabSmrg<!-- Keep this comment at the end of the file
190a6844aabSmrgLocal variables:
191a6844aabSmrgmode: sgml
192a6844aabSmrgsgml-omittag:t
193a6844aabSmrgsgml-shorttag:t
194a6844aabSmrgsgml-minimize-attributes:nil
195a6844aabSmrgsgml-always-quote-attributes:t
196a6844aabSmrgsgml-indent-step:2
197a6844aabSmrgsgml-indent-data:t
198a6844aabSmrgsgml-parent-document:nil
199a6844aabSmrgsgml-default-dtd-file:nil
200a6844aabSmrgsgml-exposed-tags:nil
201a6844aabSmrgsgml-local-catalogs:nil
202a6844aabSmrgsgml-local-ecat-files:nil
203a6844aabSmrgEnd:
204a6844aabSmrg-->
205