Code

Imported upstream version 1.3rc4.
[pkg-rrdtool.git] / doc / rrdgraph_graph.html
index 78aae248891171cbce61f122b8c4bf1044f2fa16..d53067015a9be7f28148b9c5d795553038744ed8 100644 (file)
        <li><a href="#name">NAME</a></li>
        <li><a href="#synopsis">SYNOPSIS</a></li>
        <li><a href="#description">DESCRIPTION</a></li>
-       <ul>
-
-               <li><a href="#print">PRINT</a></li>
-               <li><a href="#graph">GRAPH</a></li>
-       </ul>
-
+       <li><a href="#print">PRINT</a></li>
+       <li><a href="#graph">GRAPH</a></li>
        <li><a href="#notes_on_legend_arguments">NOTES on legend arguments</a></li>
        <ul>
 
 <p><strong>PRINT</strong><strong>:</strong><em>vname</em><strong>:</strong><em>format</em></p>
 <p><strong>GPRINT</strong><strong>:</strong><em>vname</em><strong>:</strong><em>format</em></p>
 <p><strong>COMMENT</strong><strong>:</strong><em>text</em></p>
-<p><strong>VRULE</strong><strong>:</strong><em>time</em><strong>#</strong><em>color</em>[<strong>:</strong><em>legend</em>]</p>
-<p><strong>HRULE</strong><strong>:</strong><em>value</em><strong>#</strong><em>color</em>[<strong>:</strong><em>legend</em>]</p>
-<p><strong>LINE</strong>[<em>width</em>]<strong>:</strong><em>value</em>[<strong>#</strong><em>color</em>][<strong>:</strong>[<em>legend</em>][<strong>:STACK</strong>]]</p>
+<p><strong>VRULE</strong><strong>:</strong><em>time</em><strong>#</strong><em>color</em>[<strong>:</strong><em>legend</em>][<strong>:dashes</strong>[<strong>=</strong><em>on_s</em>[,<em>off_s</em>[,<em>on_s</em>,<em>off_s</em>]...]][<strong>:dash-offset=</strong><em>offset</em>]]</p>
+<p><strong>HRULE</strong><strong>:</strong><em>value</em><strong>#</strong><em>color</em>[<strong>:</strong><em>legend</em>][<strong>:dashes</strong>[<strong>=</strong><em>on_s</em>[,<em>off_s</em>[,<em>on_s</em>,<em>off_s</em>]...]][<strong>:dash-offset=</strong><em>offset</em>]]</p>
+<p><strong>LINE</strong>[<em>width</em>]<strong>:</strong><em>value</em>[<strong>#</strong><em>color</em>][<strong>:</strong>[<em>legend</em>][<strong>:STACK</strong>]][<strong>:dashes</strong>[<strong>=</strong><em>on_s</em>[,<em>off_s</em>[,<em>on_s</em>,<em>off_s</em>]...]][<strong>:dash-offset=</strong><em>offset</em>]]</p>
 <p><strong>AREA</strong><strong>:</strong><em>value</em>[<strong>#</strong><em>color</em>][<strong>:</strong>[<em>legend</em>][<strong>:STACK</strong>]]</p>
 <p><strong>TICK</strong><strong>:</strong><em>vname</em><strong>#</strong><em>rrggbb</em>[<em>aa</em>][<strong>:</strong><em>fraction</em>[<strong>:</strong><em>legend</em>]]</p>
 <p><strong>SHIFT</strong><strong>:</strong><em>vname</em><strong>:</strong><em>offset</em></p>
+<p><strong>TEXTALIGN</strong><strong>:</strong>{<strong>left</strong>|<strong>right</strong>|<strong>justified</strong>|<strong>center</strong>}</p>
 <p><strong>PRINT</strong><strong>:</strong><em>vname</em><strong>:</strong><em>CF</em><strong>:</strong><em>format</em> (deprecated)</p>
 <p><strong>GPRINT</strong><strong>:</strong><em>vname</em><strong>:</strong><em>CF</em><strong>:</strong><em>format</em> (deprecated)</p>
 <p><strong>STACK</strong><strong>:</strong><em>vname</em><strong>#</strong><em>color</em>[<strong>:</strong><em>legend</em>] (deprecated)</p>
@@ -67,7 +64,8 @@ If you don't use any graph elements, no graph is generated.
 Similarly, no report is generated if you don't use print options.</p>
 <p>
 </p>
-<h2><a name="print">PRINT</a></h2>
+<hr />
+<h1><a name="print">PRINT</a></h1>
 <dl>
 <dt><strong><a name="item_print_3avname_3aformat_5b_3astrftime_5d"><strong>PRINT:</strong><em>vname</em><strong>:</strong><em>format</em>[<strong>:strftime</strong>]</a></strong>
 
@@ -84,112 +82,197 @@ can be:</p>
 <dd>
 <p>For printing values:</p>
 </dd>
+<dl>
+<dt><strong><a name="item___"><strong>%%</strong></a></strong>
+
 <dd>
-<p><strong>%%</strong> - just prints a literal '%' character</p>
+<p>just prints a literal '%' character</p>
 </dd>
+</li>
+<dt><strong><a name="item_____le"><strong>%#.#le</strong></a></strong>
+
 <dd>
-<p><strong>%#.#le</strong> - prints numbers like 1.2346e+04. The optional integers # denote field
+<p>prints numbers like 1.2346e+04. The optional integers # denote field
 width and decimal precision.</p>
 </dd>
+</li>
+<dt><strong><a name="item_____lf"><strong>%#.#lf</strong></a></strong>
+
 <dd>
-<p><strong>%#.#lf</strong> - prints numbers like 12345.6789, with optional field width
+<p>prints numbers like 12345.6789, with optional field width
 and precision.</p>
 </dd>
+</li>
+<dt><strong><a name="item__s"><strong>%s</strong></a></strong>
+
 <dd>
-<p><strong>%s</strong> - place this after <strong>%le</strong>, <strong>%lf</strong> or <strong>%lg</strong>. This will be replaced by the
+<p>place this after <strong>%le</strong>, <strong>%lf</strong> or <strong>%lg</strong>. This will be replaced by the
 appropriate SI magnitude unit and the value will be scaled
 accordingly (123456 -&gt; 123.456 k).</p>
 </dd>
+</li>
+<dt><strong><a name="item__s"><strong>%S</strong></a></strong>
+
 <dd>
-<p><strong>%S</strong> - is similar to <strong>%s</strong>. It does, however, use a previously defined
+<p>is similar to <strong>%s</strong>. It does, however, use a previously defined
 magnitude unit. If there is no such unit yet, it tries to define
 one (just like <strong>%s</strong>) unless the value is zero, in which case the magnitude
 unit stays undefined. Thus, formatter strings using <strong>%S</strong> and no <strong>%s</strong>
 will all use the same magnitude unit except for zero values.</p>
 </dd>
-<dd>
+</li>
+</dl>
 <p>If you PRINT a VDEF value, you can also print the time associated with it by appending the string
 <strong>:strftime</strong> to the format. Note that rrdtool uses the strftime function of your OSs clibrary. This means that
 the conversion specifier may vary. Check the manual page if you are uncertain. The following is a list of
 conversion specifiers usually supported across the board.</p>
-</dd>
+<dl>
+<dt><strong><a name="item__a"><strong>%a</strong></a></strong>
+
 <dd>
-<p><strong>%a</strong> - The abbreviated weekday name according to the current locale.</p>
+<p>The abbreviated weekday name according to the current locale.</p>
 </dd>
+</li>
+<dt><strong><a name="item__a"><strong>%A</strong></a></strong>
+
 <dd>
-<p><strong>%A</strong> - The full weekday name according to the current locale.</p>
+<p>The full weekday name according to the current locale.</p>
 </dd>
+</li>
+<dt><strong><a name="item__b"><strong>%b</strong></a></strong>
+
 <dd>
-<p><strong>%b</strong> - The abbreviated month name according to the current locale.</p>
+<p>The abbreviated month name according to the current locale.</p>
 </dd>
+</li>
+<dt><strong><a name="item__b"><strong>%B</strong></a></strong>
+
 <dd>
-<p><strong>%B</strong> - The full month name according to the current locale.</p>
+<p>The full month name according to the current locale.</p>
 </dd>
+</li>
+<dt><strong><a name="item__c"><strong>%c</strong></a></strong>
+
 <dd>
-<p><strong>%c</strong> - The preferred date and time representation for the current locale.</p>
+<p>The preferred date and time representation for the current locale.</p>
 </dd>
+</li>
+<dt><strong><a name="item__d"><strong>%d</strong></a></strong>
+
 <dd>
-<p><strong>%d</strong> - The day of the month as a decimal number (range 01 to 31).</p>
+<p>The day of the month as a decimal number (range 01 to 31).</p>
 </dd>
+</li>
+<dt><strong><a name="item__h"><strong>%H</strong></a></strong>
+
 <dd>
-<p><strong>%H</strong> - The hour as a decimal number using a 24-hour clock (range 00 to 23).</p>
+<p>The hour as a decimal number using a 24-hour clock (range 00 to 23).</p>
 </dd>
+</li>
+<dt><strong><a name="item__i"><strong>%I</strong></a></strong>
+
 <dd>
-<p><strong>%I</strong> - The hour as a decimal number using a 12-hour clock (range 01 to 12).</p>
+<p>The hour as a decimal number using a 12-hour clock (range 01 to 12).</p>
 </dd>
+</li>
+<dt><strong><a name="item__j"><strong>%j</strong></a></strong>
+
 <dd>
-<p><strong>%j</strong> - The day of the year as a decimal number (range 001 to 366).</p>
+<p>The day of the year as a decimal number (range 001 to 366).</p>
 </dd>
+</li>
+<dt><strong><a name="item__m"><strong>%m</strong></a></strong>
+
 <dd>
-<p><strong>%m</strong> - The month as a decimal number (range 01 to 12).</p>
+<p>The month as a decimal number (range 01 to 12).</p>
 </dd>
+</li>
+<dt><strong><a name="item__m"><strong>%M</strong></a></strong>
+
 <dd>
-<p><strong>%M</strong> - The minute as a decimal number (range 00 to 59).</p>
+<p>The minute as a decimal number (range 00 to 59).</p>
 </dd>
+</li>
+<dt><strong><a name="item__p"><strong>%p</strong></a></strong>
+
 <dd>
-<p><strong>%p</strong> - Either `AM' or `PM' according to the given time value, or the corresponding
+<p>Either `AM' or `PM' according to the given time value, or the corresponding
 strings for the current locale.  Noon is treated as `pm' and midnight as
 `am'.  Note that in many locales and `pm' notation is unsupported and in
 such cases %p will return an empty string.</p>
 </dd>
+</li>
+<dt><strong><strong>%S</strong></strong>
+
 <dd>
-<p><strong>%S</strong> - The second as a decimal number (range 00 to 61).</p>
+<p>The second as a decimal number (range 00 to 61).</p>
 </dd>
+</li>
+<dt><strong><a name="item__u"><strong>%U</strong></a></strong>
+
 <dd>
-<p><strong>%U</strong> - The  week  number  of  the current year as a decimal number, range 00 to 53, starting with the
+<p>The  week  number  of  the current year as a decimal number, range 00 to 53, starting with the
 first Sunday as the first day of week 01. See also %V and %W.</p>
 </dd>
+</li>
+<dt><strong><a name="item__v"><strong>%V</strong></a></strong>
+
 <dd>
-<p><strong>%V</strong> - The ISO 8601:1988 week number of the current year as a decimal number, range 01 to  53,  where
+<p>The ISO 8601:1988 week number of the current year as a decimal number, range 01 to  53,  where
 week  1 is the first week that has at least 4 days in the current year, and with Monday as the
 first day of the week. See also %U and %W.</p>
 </dd>
+</li>
+<dt><strong><a name="item__w"><strong>%w</strong></a></strong>
+
 <dd>
-<p><strong>%w</strong> - The day of the week as a decimal, range 0 to 6, Sunday being 0.  See also %u.</p>
+<p>The day of the week as a decimal, range 0 to 6, Sunday being 0.  See also %u.</p>
 </dd>
+</li>
+<dt><strong><a name="item__w"><strong>%W</strong></a></strong>
+
 <dd>
-<p><strong>%W</strong> - The week number of the current year as a decimal number, range 00 to  53,  starting  with  the
+<p>The week number of the current year as a decimal number, range 00 to  53,  starting  with  the
 first Monday as the first day of week 01.</p>
 </dd>
+</li>
+<dt><strong><a name="item__x"><strong>%x</strong></a></strong>
+
 <dd>
-<p><strong>%x</strong> - The preferred date representation for the current locale without the time.</p>
+<p>The preferred date representation for the current locale without the time.</p>
 </dd>
+</li>
+<dt><strong><a name="item__x"><strong>%X</strong></a></strong>
+
 <dd>
-<p><strong>%X</strong> - The preferred time representation for the current locale without the date.</p>
+<p>The preferred time representation for the current locale without the date.</p>
 </dd>
+</li>
+<dt><strong><a name="item__y"><strong>%y</strong></a></strong>
+
 <dd>
-<p><strong>%y</strong> - The year as a decimal number without a century (range 00 to 99).</p>
+<p>The year as a decimal number without a century (range 00 to 99).</p>
 </dd>
+</li>
+<dt><strong><a name="item__y"><strong>%Y</strong></a></strong>
+
 <dd>
-<p><strong>%Y</strong> - The year as a decimal number including the century.</p>
+<p>The year as a decimal number including the century.</p>
 </dd>
+</li>
+<dt><strong><a name="item__z"><strong>%Z</strong></a></strong>
+
 <dd>
-<p><strong>%Z</strong> - The time zone or name or abbreviation.</p>
+<p>The time zone or name or abbreviation.</p>
 </dd>
+</li>
+<dt><strong><strong>%%</strong></strong>
+
 <dd>
-<p><strong>%%</strong> - A literal `%' character.</p>
+<p>A literal `%' character.</p>
 </dd>
 </li>
+</dl>
 <dt><strong><a name="item_print_3avname_3acf_3aformat"><strong>PRINT:</strong><em>vname</em><strong>:</strong><em>CF</em><strong>:</strong><em>format</em></a></strong>
 
 <dd>
@@ -200,7 +283,8 @@ The first form of this command is to be used with <strong>CDEF</strong> <em>vnam
 </dl>
 <p>
 </p>
-<h2><a name="graph">GRAPH</a></h2>
+<hr />
+<h1><a name="graph">GRAPH</a></h1>
 <dl>
 <dt><strong><a name="item_gprint_3avname_3aformat"><strong>GPRINT</strong><strong>:</strong><em>vname</em><strong>:</strong><em>format</em></a></strong>
 
@@ -223,17 +307,19 @@ RRDtool 1.2 you have to escape colons in COMMENT text in the same way you
 have to escape them in <strong>*PRINT</strong> commands by writing <strong>'\:'</strong>.</p>
 </dd>
 </li>
-<dt><strong><a name="item_vrule_3atime_23color__5b_3alegend__5d"><strong>VRULE</strong><strong>:</strong><em>time</em><strong>#</strong><em>color</em> [<strong>:</strong><em>legend</em> ]</a></strong>
+<dt><strong><a name="item_vrule_3atime_23color_5b_3alegend_5d_5b_3adashes_5b"><strong>VRULE</strong><strong>:</strong><em>time</em><strong>#</strong><em>color</em>[<strong>:</strong><em>legend</em>][<strong>:dashes</strong>[<strong>=</strong><em>on_s</em>[,<em>off_s</em>[,<em>on_s</em>,<em>off_s</em>]...]][<strong>:dash-offset=</strong><em>offset</em>]]</a></strong>
 
 <dd>
 <p>Draw a vertical line at <em>time</em>.  Its color is composed from three
 hexadecimal numbers specifying the rgb color components (00 is off, FF is
 maximum) red, green and blue followed by an optional alpha. Optionally, a legend box and string is
 printed in the legend section. <em>time</em> may be a number or a variable
-from a <strong>VDEF</strong>. It is an error to use <em>vname</em>s from <strong>DEF</strong> or <strong>CDEF</strong> here.</p>
+from a <strong>VDEF</strong>. It is an error to use <em>vname</em>s from <strong>DEF</strong> or <strong>CDEF</strong> here.
+Dashed lines can be drawn using the <strong>dashes</strong> modifier. See <strong>LINE</strong> for more
+details.</p>
 </dd>
 </li>
-<dt><strong><a name="item_hrule_3avalue_23color__5b__3alegend__5d"><strong>HRULE</strong><strong>:</strong><em>value</em><strong>#</strong><em>color</em> [ :<em>legend</em> ]</a></strong>
+<dt><strong><a name="item_hrule_3avalue_23color_5b_3alegend_5d_5b_3adashes_5"><strong>HRULE</strong><strong>:</strong><em>value</em><strong>#</strong><em>color</em>[<strong>:</strong><em>legend</em>][<strong>:dashes</strong>[<strong>=</strong><em>on_s</em>[,<em>off_s</em>[,<em>on_s</em>,<em>off_s</em>]...]][<strong>:dash-offset=</strong><em>offset</em>]]</a></strong>
 
 <dd>
 <p>Draw a horizontal line at <em>value</em>.  HRULE acts much like LINE except that
@@ -241,7 +327,7 @@ will have no effect on the scale of the graph. If a HRULE is outside the
 graphing area it will just not be visible.</p>
 </dd>
 </li>
-<dt><strong><a name="item_line_5bwidth_5d_3avalue_5b_23color_5d_5b_3a_5blege"><strong>LINE</strong>[<em>width</em>]<strong>:</strong><em>value</em>[<strong>#</strong><em>color</em>][<strong>:</strong>[<em>legend</em>][<strong>:STACK</strong>]]</a></strong>
+<dt><strong><a name="item_line_5bwidth_5d_3avalue_5b_23color_5d_5b_3a_5blege"><strong>LINE</strong>[<em>width</em>]<strong>:</strong><em>value</em>[<strong>#</strong><em>color</em>][<strong>:</strong>[<em>legend</em>][<strong>:STACK</strong>]][<strong>:dashes</strong>[<strong>=</strong><em>on_s</em>[,<em>off_s</em>[,<em>on_s</em>,<em>off_s</em>]...]][<strong>:dash-offset=</strong><em>offset</em>]]</a></strong>
 
 <dd>
 <p>Draw a line of the specified width onto the graph. <em>width</em> can be a
@@ -254,6 +340,15 @@ is stacked on top of the previous element which can be a <strong>LINE</strong> o
 <strong>AREA</strong>.</p>
 </dd>
 <dd>
+<p>The <strong>dashes</strong> modifier enables dashed line style. Without any further options
+a symmetric dashed line with a segment length of 5 pixels will be drawn. The
+dash pattern can be changed if the <strong>dashes=</strong> parameter is followed by either
+one value or an even number (1, 2, 4, 6, ...) of positive values. Each value
+provides the length of alternate <em>on_s</em> and <em>off_s</em> portions of the
+stroke. The <strong>dash-offset</strong> parameter specifies an <em>offset</em> into the pattern
+at which the stroke begins.</p>
+</dd>
+<dd>
 <p>When you do not specify a color, you cannot specify a legend.  Should
 you want to use STACK, use the ``LINEx:&lt;value&gt;::STACK'' form.</p>
 </dd>
@@ -287,6 +382,16 @@ As with the other graphing elements, you can specify a number or
 a variable here.</p>
 </dd>
 </li>
+<dt><strong><a name="item_textalign_3a_7bleft_7cright_7cjustified_7ccenter_7"><strong>TEXTALIGN</strong><strong>:</strong>{<strong>left</strong>|<strong>right</strong>|<strong>justified</strong>|<strong>center</strong>}</a></strong>
+
+<dd>
+<p>Labels are placed below the graph. When they overflow to the left, they wrap
+to the next line. By default, lines are justified left and right. The
+<strong>TEXTALIGN</strong> function lets you change this default. This is a command and
+not an option, so that you can change the default several times in your
+argument list.</p>
+</dd>
+</li>
 <dt><strong><a name="item_stack_3avname_23color_5b_3alegend_5d"><strong>STACK</strong><strong>:</strong><em>vname</em><strong>#</strong><em>color</em>[<strong>:</strong><em>legend</em>]</a></strong>
 
 <dd>
@@ -342,6 +447,191 @@ before placing the next row of legends.</p>
 characters or the sequence <strong>\t</strong> to line-up legend elements. Note that
 the tabs inserted are relative to the start of the current legend
 element!</p>
+<p>Since RRDtool 1.3 is using Pango for rending text, you can use Pango markup.
+Pango uses the xml <strong>span</strong> tags for inline formatting instructions.:</p>
+<p>A simple example of a marked-up string might be:</p>
+<pre>
+ &lt;span foreground=&quot;blue&quot; size=&quot;x-large&quot;&gt;Blue text&lt;/span&gt; is &lt;i&gt;cool&lt;/i&gt;!</pre>
+<p>The complete list of attributes for the span tag (taken from the pango documentation):</p>
+<dl>
+<dt><strong><a name="item_font_desc"><strong>font_desc</strong></a></strong>
+
+<dd>
+<p>A font description string, such as ``Sans Italic 12''; note that any other span attributes will override this description. So if you have ``Sans Italic'' and also a style=``normal'' attribute, you will get Sans normal, not italic.</p>
+</dd>
+</li>
+<dt><strong><a name="item_font_family"><strong>font_family</strong></a></strong>
+
+<dd>
+<p>A font family name</p>
+</dd>
+</li>
+<dt><strong><a name="item_face"><strong>face</strong></a></strong>
+
+<dd>
+<p>Synonym for font_family</p>
+</dd>
+</li>
+<dt><strong><a name="item_size"><strong>size</strong></a></strong>
+
+<dd>
+<p>Font size in 1024ths of a point, or one of the absolute sizes 'xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large', or one of the relative sizes 'smaller' or 'larger'. If you want to specify a absolute size, it's usually easier to take advantage of the ability to specify a partial font description using 'font_desc'; you can use font_desc='12.5' rather than size='12800'.</p>
+</dd>
+</li>
+<dt><strong><a name="item_style"><strong>style</strong></a></strong>
+
+<dd>
+<p>One of 'normal', 'oblique', 'italic'</p>
+</dd>
+</li>
+<dt><strong><a name="item_weight"><strong>weight</strong></a></strong>
+
+<dd>
+<p>One of 'ultralight', 'light', 'normal', 'bold', 'ultrabold', 'heavy', or a numeric weight</p>
+</dd>
+</li>
+<dt><strong><a name="item_variant"><strong>variant</strong></a></strong>
+
+<dd>
+<p>'normal' or 'smallcaps'</p>
+</dd>
+</li>
+<dt><strong><a name="item_stretch"><strong>stretch</strong></a></strong>
+
+<dd>
+<p>One of 'ultracondensed', 'extracondensed', 'condensed', 'semicondensed', 'normal', 'semiexpanded', 'expanded', 'extraexpanded', 'ultraexpanded'</p>
+</dd>
+</li>
+<dt><strong><a name="item_foreground"><strong>foreground</strong></a></strong>
+
+<dd>
+<p>An RGB color specification such as '#00FF00' or a color name such as 'red'</p>
+</dd>
+</li>
+<dt><strong><a name="item_background"><strong>background</strong></a></strong>
+
+<dd>
+<p>An RGB color specification such as '#00FF00' or a color name such as 'red'</p>
+</dd>
+</li>
+<dt><strong><a name="item_underline"><strong>underline</strong></a></strong>
+
+<dd>
+<p>One of 'none', 'single', 'double', 'low', 'error'</p>
+</dd>
+</li>
+<dt><strong><a name="item_underline_color"><strong>underline_color</strong></a></strong>
+
+<dd>
+<p>The color of underlines; an RGB color specification such as '#00FF00' or a color name such as 'red'</p>
+</dd>
+</li>
+<dt><strong><a name="item_rise"><strong>rise</strong></a></strong>
+
+<dd>
+<p>Vertical displacement, in 10000ths of an em. Can be negative for subscript, positive for superscript.</p>
+</dd>
+</li>
+<dt><strong><a name="item_strikethrough"><strong>strikethrough</strong></a></strong>
+
+<dd>
+<p>'true' or 'false' whether to strike through the text</p>
+</dd>
+</li>
+<dt><strong><a name="item_strikethrough_color"><strong>strikethrough_color</strong></a></strong>
+
+<dd>
+<p>The color of strikethrough lines; an RGB color specification such as '#00FF00' or a color name such as 'red'</p>
+</dd>
+</li>
+<dt><strong><a name="item_fallback"><strong>fallback</strong></a></strong>
+
+<dd>
+<p>'true' or 'false' whether to enable fallback. If disabled, then characters will only be used from the closest matching font on the system. No fallback will be done to other fonts on the system that might contain the characters in the text. Fallback is enabled by default. Most applications should not disable fallback.</p>
+</dd>
+</li>
+<dt><strong><a name="item_lang"><strong>lang</strong></a></strong>
+
+<dd>
+<p>A language code, indicating the text language</p>
+</dd>
+</li>
+<dt><strong><a name="item_letter_spacing"><strong>letter_spacing</strong></a></strong>
+
+<dd>
+<p>Inter-letter spacing in 1024ths of a point.</p>
+</dd>
+</li>
+<dt><strong><a name="item_gravity"><strong>gravity</strong></a></strong>
+
+<dd>
+<p>One of 'south', 'east', 'north', 'west', 'auto'.</p>
+</dd>
+</li>
+<dt><strong><a name="item_gravity_hint"><strong>gravity_hint</strong></a></strong>
+
+<dd>
+<p>One of 'natural', 'strong', 'line'.</p>
+</dd>
+</li>
+</dl>
+<p>To save you some typing, there are also some shortcuts:</p>
+<dl>
+<dt><strong><a name="item_b"><strong>b</strong></a></strong>
+
+<dd>
+<p>Bold</p>
+</dd>
+</li>
+<dt><strong><a name="item_big"><strong>big</strong></a></strong>
+
+<dd>
+<p>Makes font relatively larger, equivalent to &lt;span size=``larger''&gt;</p>
+</dd>
+</li>
+<dt><strong><a name="item_i"><strong>i</strong></a></strong>
+
+<dd>
+<p>Italic</p>
+</dd>
+</li>
+<dt><strong><a name="item_s"><strong>s</strong></a></strong>
+
+<dd>
+<p>Strikethrough</p>
+</dd>
+</li>
+<dt><strong><a name="item_sub"><strong>sub</strong></a></strong>
+
+<dd>
+<p>Subscript</p>
+</dd>
+</li>
+<dt><strong><a name="item_sup"><strong>sup</strong></a></strong>
+
+<dd>
+<p>Superscript</p>
+</dd>
+</li>
+<dt><strong><a name="item_small"><strong>small</strong></a></strong>
+
+<dd>
+<p>Makes font relatively smaller, equivalent to &lt;span size=``smaller''&gt;</p>
+</dd>
+</li>
+<dt><strong><a name="item_tt"><strong>tt</strong></a></strong>
+
+<dd>
+<p>Monospace font</p>
+</dd>
+</li>
+<dt><strong><a name="item_u"><strong>u</strong></a></strong>
+
+<dd>
+<p>Underline</p>
+</dd>
+</li>
+</dl>
 <p>
 </p>
 <hr />