fc-match.sgml revision a6844aab
12c393a42Smrg<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ 22c393a42Smrg 32c393a42Smrg<!-- Process this file with docbook-to-man to generate an nroff manual 42c393a42Smrg page: `docbook-to-man manpage.sgml > manpage.1'. You may view 52c393a42Smrg the manual page with: `docbook-to-man manpage.sgml | nroff -man | 62c393a42Smrg less'. A typical entry in a Makefile or Makefile.am is: 72c393a42Smrg 82c393a42Smrgmanpage.1: manpage.sgml 92c393a42Smrg docbook-to-man $< > $@ 102c393a42Smrg 112c393a42Smrg 122c393a42Smrg The docbook-to-man binary is found in the docbook-to-man package. 132c393a42Smrg Please remember that if you create the nroff version in one of the 142c393a42Smrg debian/rules file targets (such as build), you will need to include 152c393a42Smrg docbook-to-man in your Build-Depends control field. 162c393a42Smrg 172c393a42Smrg --> 182c393a42Smrg 192c393a42Smrg <!-- Fill in your name for FIRSTNAME and SURNAME. --> 202c393a42Smrg <!ENTITY dhfirstname "<firstname>Patrick</firstname>"> 212c393a42Smrg <!ENTITY dhsurname "<surname>Lam</surname>"> 222c393a42Smrg <!-- Please adjust the date whenever revising the manpage. --> 23a6844aabSmrg <!ENTITY dhdate "<date>Aug 13, 2008</date>"> 242c393a42Smrg <!-- SECTION should be 1-8, maybe w/ subsection other parameters are 252c393a42Smrg allowed: see man(7), man(1). --> 262c393a42Smrg <!ENTITY dhsection "<manvolnum>1</manvolnum>"> 272c393a42Smrg <!ENTITY dhemail "<email>plam@csail.mit.edu</email>"> 282c393a42Smrg <!ENTITY dhusername "Patrick Lam"> 292c393a42Smrg <!ENTITY dhucpackage "<refentrytitle>fc-match</refentrytitle>"> 302c393a42Smrg <!ENTITY dhpackage "fc-match"> 312c393a42Smrg 322c393a42Smrg <!ENTITY debian "<productname>Debian</productname>"> 332c393a42Smrg <!ENTITY gnu "<acronym>GNU</acronym>"> 342c393a42Smrg <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> 352c393a42Smrg]> 362c393a42Smrg 372c393a42Smrg<refentry> 382c393a42Smrg <refentryinfo> 392c393a42Smrg <address> 402c393a42Smrg &dhemail; 412c393a42Smrg </address> 422c393a42Smrg <author> 432c393a42Smrg &dhfirstname; 442c393a42Smrg &dhsurname; 452c393a42Smrg </author> 462c393a42Smrg <copyright> 472c393a42Smrg <year>2003</year> 482c393a42Smrg <holder>&dhusername;</holder> 492c393a42Smrg </copyright> 502c393a42Smrg &dhdate; 512c393a42Smrg </refentryinfo> 522c393a42Smrg <refmeta> 532c393a42Smrg &dhucpackage; 542c393a42Smrg 552c393a42Smrg &dhsection; 562c393a42Smrg </refmeta> 572c393a42Smrg <refnamediv> 582c393a42Smrg <refname>&dhpackage;</refname> 592c393a42Smrg 602c393a42Smrg <refpurpose>match available fonts</refpurpose> 612c393a42Smrg </refnamediv> 622c393a42Smrg <refsynopsisdiv> 632c393a42Smrg <cmdsynopsis> 642c393a42Smrg <command>&dhpackage;</command> 652c393a42Smrg 66a6844aabSmrg <arg><option>-asvVh</option></arg> 67a6844aabSmrg <arg><option>--all</option></arg> 682c393a42Smrg <arg><option>--sort</option></arg> 692c393a42Smrg <arg><option>--verbose</option></arg> 70a6844aabSmrg <group> 71a6844aabSmrg <arg><option>-f</option> <option><replaceable>format</replaceable></option></arg> 72a6844aabSmrg <arg><option>--format</option> <option><replaceable>format</replaceable></option></arg> 73a6844aabSmrg </group> 742c393a42Smrg <arg><option>--version</option></arg> 752c393a42Smrg <arg><option>--help</option></arg> 76a6844aabSmrg <sbr> 77a6844aabSmrg <arg><option><replaceable>pattern</replaceable></option> <arg rep="repeat"><option><replaceable>element</replaceable></option></arg> </arg> 782c393a42Smrg 792c393a42Smrg </cmdsynopsis> 802c393a42Smrg </refsynopsisdiv> 812c393a42Smrg <refsect1> 822c393a42Smrg <title>DESCRIPTION</title> 832c393a42Smrg 84a6844aabSmrg <para><command>&dhpackage;</command> matches 85a6844aabSmrg <replaceable>pattern</replaceable> (empty 862c393a42Smrgpattern by default) using the normal fontconfig matching rules to find 87a6844aabSmrgthe best font available. If <option>--sort</option> is given, the sorted list of best 88a6844aabSmrgmatching fonts is displayed. 89a6844aabSmrgThe <option>--all</option> option works like 90a6844aabSmrg<option>--sort</option> except that no pruning is done on the list of fonts.</para> 91a6844aabSmrg<para>If any elements are specified, only those are printed. 92a6844aabSmrgOtherwise short file name, family, and style are printed, unless verbose 93a6844aabSmrgoutput is requested.</para> 942c393a42Smrg </refsect1> 952c393a42Smrg <refsect1> 962c393a42Smrg <title>OPTIONS</title> 972c393a42Smrg 982c393a42Smrg <para>This program follows the usual &gnu; command line syntax, 992c393a42Smrg with long options starting with two dashes (`-'). A summary of 1002c393a42Smrg options is included below.</para> 1012c393a42Smrg 1022c393a42Smrg <variablelist> 103a6844aabSmrg <varlistentry> 104a6844aabSmrg <term><option>-a</option> 105a6844aabSmrg <option>--all</option> 106a6844aabSmrg </term> 107a6844aabSmrg <listitem> 108a6844aabSmrg <para>Displays sorted list of best matching fonts, but do not do any 109a6844aabSmrg pruning on the list.</para> 110a6844aabSmrg </listitem> 111a6844aabSmrg </varlistentry> 112a6844aabSmrg <varlistentry> 113a6844aabSmrg <term><option>-s</option> 114a6844aabSmrg <option>--sort</option> 115a6844aabSmrg </term> 116a6844aabSmrg <listitem> 117a6844aabSmrg <para>Displays sorted list of best matching fonts.</para> 118a6844aabSmrg </listitem> 119a6844aabSmrg </varlistentry> 1202c393a42Smrg <varlistentry> 1212c393a42Smrg <term><option>-v</option> 1222c393a42Smrg <option>--verbose</option> 1232c393a42Smrg </term> 1242c393a42Smrg <listitem> 125a6844aabSmrg <para>Print verbose output of the whole font pattern for each match, 126a6844aabSmrg or <replaceable>element</replaceable>s if any is 127a6844aabSmrg provided.</para> 1282c393a42Smrg </listitem> 1292c393a42Smrg </varlistentry> 1302c393a42Smrg <varlistentry> 131a6844aabSmrg <term><option>-f</option> 132a6844aabSmrg <option>--format</option> 133a6844aabSmrg <option><replaceable>format</replaceable></option> 1342c393a42Smrg </term> 1352c393a42Smrg <listitem> 136a6844aabSmrg <para>Format output according to the format specifier 137a6844aabSmrg <replaceable>format</replaceable>.</para> 1382c393a42Smrg </listitem> 1392c393a42Smrg </varlistentry> 1402c393a42Smrg <varlistentry> 1412c393a42Smrg <term><option>-V</option> 1422c393a42Smrg <option>--version</option> 1432c393a42Smrg </term> 1442c393a42Smrg <listitem> 1452c393a42Smrg <para>Show version of the program and exit.</para> 1462c393a42Smrg </listitem> 1472c393a42Smrg </varlistentry> 1482c393a42Smrg <varlistentry> 149a6844aabSmrg <term><option>-h</option> 150a6844aabSmrg <option>--help</option> 1512c393a42Smrg </term> 1522c393a42Smrg <listitem> 153a6844aabSmrg <para>Show summary of options.</para> 1542c393a42Smrg </listitem> 1552c393a42Smrg </varlistentry> 1562c393a42Smrg <varlistentry> 157a6844aabSmrg <term><option><replaceable>pattern</replaceable></option> 1582c393a42Smrg </term> 1592c393a42Smrg <listitem> 1602c393a42Smrg <para>Displays fonts matching 161a6844aabSmrg <replaceable>pattern</replaceable> (uses empty pattern by default).</para> 162a6844aabSmrg </listitem> 163a6844aabSmrg </varlistentry> 164a6844aabSmrg <varlistentry> 165a6844aabSmrg <term><option><replaceable>element</replaceable></option> 166a6844aabSmrg </term> 167a6844aabSmrg <listitem> 168a6844aabSmrg <para>If set, the <replaceable>element</replaceable> property 169a6844aabSmrg is displayed for matching fonts.</para> 1702c393a42Smrg </listitem> 1712c393a42Smrg </varlistentry> 1722c393a42Smrg </variablelist> 1732c393a42Smrg </refsect1> 1742c393a42Smrg 1752c393a42Smrg <refsect1> 1762c393a42Smrg <title>SEE ALSO</title> 1772c393a42Smrg 178a6844aabSmrg <para> 179a6844aabSmrg <command>fc-list</command>(1) 180a6844aabSmrg <function>FcFontMatch</function>(3) 181a6844aabSmrg <function>FcFontSort</function>(3) 182a6844aabSmrg <function>FcPatternFormat</function>(3) 183a6844aabSmrg <command>fc-cat</command>(1) 184a6844aabSmrg <command>fc-cache</command>(1) 185a6844aabSmrg <command>fc-query</command>(1) 186a6844aabSmrg <command>fc-scal</command>(1) 187a6844aabSmrg </para> 1882c393a42Smrg 1892c393a42Smrg <para>The fontconfig user's guide, in HTML format: 1902c393a42Smrg <filename>/usr/share/doc/fontconfig/fontconfig-user.html</filename>.</para> 1912c393a42Smrg 1922c393a42Smrg </refsect1> 1932c393a42Smrg <refsect1> 1942c393a42Smrg <title>AUTHOR</title> 1952c393a42Smrg 1962c393a42Smrg <para>This manual page was updated by &dhusername; &dhemail;.</para> 1972c393a42Smrg 1982c393a42Smrg </refsect1> 1992c393a42Smrg</refentry> 2002c393a42Smrg 2012c393a42Smrg<!-- Keep this comment at the end of the file 2022c393a42SmrgLocal variables: 2032c393a42Smrgmode: sgml 2042c393a42Smrgsgml-omittag:t 2052c393a42Smrgsgml-shorttag:t 2062c393a42Smrgsgml-minimize-attributes:nil 2072c393a42Smrgsgml-always-quote-attributes:t 2082c393a42Smrgsgml-indent-step:2 2092c393a42Smrgsgml-indent-data:t 2102c393a42Smrgsgml-parent-document:nil 2112c393a42Smrgsgml-default-dtd-file:nil 2122c393a42Smrgsgml-exposed-tags:nil 2132c393a42Smrgsgml-local-catalogs:nil 2142c393a42Smrgsgml-local-ecat-files:nil 2152c393a42SmrgEnd: 2162c393a42Smrg--> 217