DefineFontfamily
Defines a font family consisting of the shapes »regular», »bold«, »bold italic« and »italic«. To be used in Paragraph, Textblock, and Table with the attribute fontface.
Child elements: Bold, BoldItalic, Italic, Regular
Font size in pt (PostScript points). Number without unit.
Distance between two baselines in pt (PostScript points). Without unit.
The symbolic name that is used as a reference to access this font family.
The default fontface is named »text« and it can be redefined by defining a new font family called »text«.
The variants bold, italic and bold italic are optional.
<DefineFontfamily name="Title" fontsize="12" leading="14"> <Regular fontface="Helvetica Regular"/> <Bold fontface="Helvetica Bold"/> <Italic fontface="Helvetica Italic"/> <BoldItalic fontface="Helvetica Bold Italic"/> </DefineFontfamily>
This font family can now be accessed like this:
<Textblock width="14" fontface="Title"> <Paragraph> <Value>...<Value> </Paragraph> </Textblock>