On line guide/help
You are on page 21 of the online help. Navigate sequentially through the guide pages or search for a topic of interest to you.
Index Prev. NextFont
Set the font style
Sets the font parameters to use when printing text. When used within the "content" element, it sets the default font to use when no format is specified within other elements, such as <box> or <kpichart>.
Parameters
Elements / attributes of the <font> element:
<family> (or <fontfamily>) (string) Font family name. Possible values:
helvetica, helveticab, helveticai, helveticabi
times, timesb, timesi, timesbi
courier , courierb, courieri, courierbi
symbol
zapfdingbats
Default: helvetica
<style> (or <fontstyle>) (string) Font style. Possible values (they can be combined, eg. BI = bold italic):
Empty string (regular)
B Bold
I Italic
U Underline
D Line through
O Overline
<size> (or <fontsize>) (numeric, float) Font size in points (default: 9)
<color> (or <fontcolor>) (string) Font color. Format : #RRGGBB (the prefix # is optional). Default color is 000000 (black).
Example
A default font and the font of a single box. The parameters that are not set are taken from the default font.
Font examples