<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
<!ENTITY version SYSTEM "version.sgml">
+<!ENTITY confdir SYSTEM "confdir.sgml">
]>
<!--
$Id$
</refnamediv>
<refsynopsisdiv>
<synopsis>
- /etc/fonts/fonts.conf
- /etc/fonts/fonts.dtd
+ &confdir;/fonts.conf
+ &confdir;/fonts.dtd
~/.fonts.conf
</synopsis>
</refsynopsisdiv>
</para><para>
The fontconfig document type definition resides in the external entity
"fonts.dtd"; this is normally stored in the default font configuration
-directory (/etc/fonts). Each configuration file should contain the
+directory (&confdir;). Each configuration file should contain the
following structure:
<programlisting>
<?xml version="1.0"?>
</programlisting>
</para></refsect2>
<refsect2><title><sgmltag>int</>, <sgmltag>double</>, <sgmltag>string</>, <sgmltag>bool</></title><para>
-These elements hold a single value of the indicated type. <sgmltag>bool</> elements
-hold either true or false.
+These elements hold a single value of the indicated type. <sgmltag>bool</>
+elements hold either true or false. An important limitation exists in
+the parsing of floating point numbers -- fontconfig requires that
+the mantissa start with a digit, not a decimal point, so insert a leading
+zero for purely fractional values (e.g. use 0.5 instead of .5 and -0.5
+instead of -.5).
</para></refsect2>
<refsect2><title><sgmltag>matrix</></title><para>
This element holds the four <sgmltag>double</> elements of an affine
<programlisting>
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<!-- /etc/fonts/fonts.conf file to configure system font access -->
+<!-- &confdir;/fonts.conf file to configure system font access -->
<fontconfig>
<!--
Find fonts in these directories