<arg><option>--all</option></arg>
<arg><option>--sort</option></arg>
<arg><option>--verbose</option></arg>
+ <group>
+ <arg><option>-f</option> <option><replaceable>format</replaceable></option></arg>
+ <arg><option>--format</option> <option><replaceable>format</replaceable></option></arg>
+ </group>
<arg><option>--version</option></arg>
<arg><option>--help</option></arg>
- <arg><option><replaceable>font-pattern</replaceable></option></arg>
+ <sbr>
+ <arg><option><replaceable>pattern</replaceable></option> <arg rep="repeat"><option><replaceable>element</replaceable></option></arg> </arg>
</cmdsynopsis>
</refsynopsisdiv>
<title>DESCRIPTION</title>
<para><command>&dhpackage;</command> matches
- <replaceable>font-pattern</replaceable> (empty
+ <replaceable>pattern</replaceable> (empty
pattern by default) using the normal fontconfig matching rules to find
the best font available. If <option>--sort</option> is given, the sorted list of best
-matching fonts is displayed. With <option>--verbose</option>, the whole font pattern
-for each match is printed, otherwise only the file, family and style
-are printed. The <option>--all</option> option works like
+matching fonts is displayed.
+The <option>--all</option> option works like
<option>--sort</option> except that no pruning is done on the list of fonts.</para>
-
+If any elements are specified, only those are printed.
+Otherwise short file name, family, and style are printed, unless verbose
+output is requested.</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
options is included below.</para>
<variablelist>
+ <varlistentry>
+ <term><option>-a</option>
+ <option>--all</option>
+ </term>
+ <listitem>
+ <para>Displays sorted list of best matching fonts, but do not do any
+ pruning on the list.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-s</option>
+ <option>--sort</option>
+ </term>
+ <listitem>
+ <para>Displays sorted list of best matching fonts.</para>
+ </listitem>
+ </varlistentry>
<varlistentry>
<term><option>-v</option>
<option>--verbose</option>
</term>
<listitem>
- <para>Print whole font pattern for each match.</para>
+ <para>Print verbose output of the whole font pattern for each match,
+ or <replaceable>element</replaceable>s if any is
+ provided.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-h</option>
- <option>--help</option>
+ <term><option>-f</option>
+ <option>--format</option>
+ <option><replaceable>format</replaceable></option>
</term>
<listitem>
- <para>Show summary of options.</para>
+ <para>Format output according to the format specifier
+ <replaceable>format</replaceable>.</para>
</listitem>
</varlistentry>
<varlistentry>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-a</option>
- <option>--all</option>
+ <term><option>-h</option>
+ <option>--help</option>
</term>
<listitem>
- <para>Displays sorted list of best matching fonts, but do not do any
- pruning on the list.</para>
+ <para>Show summary of options.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-s</option>
- <option>--sort</option>
+ <term><option><replaceable>pattern</replaceable></option>
</term>
<listitem>
- <para>Displays sorted list of best matching fonts.</para>
+ <para>Displays fonts matching
+ <replaceable>pattern</replaceable> (uses empty pattern by default).</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option><replaceable>font-pattern</replaceable></option>
+ <term><option><replaceable>element</replaceable></option>
</term>
<listitem>
- <para>Displays fonts matching
- <replaceable>font-pattern</replaceable> (uses empty pattern by default).</para>
+ <para>If set, the <replaceable>element</replaceable> property
+ is displayed for matching fonts.</para>
</listitem>
- </varlistentry>
</variablelist>
</refsect1>
<title>SEE ALSO</title>
<para>
+ <command>fc-list</command>(1)
+ <function>FcFontMatch</function>(3)
+ <function>FcFontSort</function>(3)
+ <function>FcPatternFormat</function>(3)
<command>fc-cat</command>(1)
<command>fc-cache</command>(1)
- <command>fc-list</command>(1)
<command>fc-query</command>(1)
+ <command>fc-scal</command>(1)
</para>
<para>The fontconfig user's guide, in HTML format: