Specifying fonts

<!-- -->

  <font id="question_mark_font">
    <family>liberation serif</family>
    <scaled_size>.3</scaled_size>
  </font>

  <font id="question_mark_font_bold" from="question_mark_font">
    <weight>heavy</weight>
  </font>

A font's id attribute gives the label that text pictures in the SXG file use to refer to this font. An optional from attribute specifies that this font specification is based on another font. The other font's definition gets copied, and this font's settings modify the original font's setting.

The from attribute can also reference a font specification in the default theme.

The font element contains the following elements: