diff options
author | Keith Packard <keithp@keithp.com> | 2003-03-20 02:01:01 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2003-03-20 02:01:01 +0000 |
commit | ddde1797a900b818b96fc0818d9df0efacb5ac69 (patch) | |
tree | 938d37f86e6ff218ff0c7b3a1de22eecd252b00c /doc | |
parent | f4007a672834df25f0f9b6a918c135d2b79a3784 (diff) |
strtod under some locales requires digits before the decimal
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fontconfig-user.sgml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/fontconfig-user.sgml b/doc/fontconfig-user.sgml index d9dc7f2..d5c4be8 100644 --- a/doc/fontconfig-user.sgml +++ b/doc/fontconfig-user.sgml @@ -318,8 +318,12 @@ the property are given the indicated binding. 'mode' is one of: </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 |