Using presentation styles / Fonts |
Use the fontFamily style attribute to define a generic or specific font family.
This section describes the possible values of the fontFamily style attribute.
font-family [,...]
The language defines a set of generic font families, interpreted by the front end according to the graphical capability of the workstation:
Generic font family name | Real font family example |
---|---|
serif |
Times |
sans-serif |
Arial |
cursive |
Comic Sans Ms |
fantasy |
Algerian |
monospace |
Courier New |
Any other name is interpreted as a specific font family, which identifies a local font supported by the front-end. Usually, it is one of the fonts installed on the workstation operating system. See front-end documentation for a list of supported local fonts.
Any font name containing white-spaces must be quoted, with single quotes.
You can specify a comma-separated list of font families.
<StyleAttribute name="fontFamily" value="sans-serif" /> <StyleAttribute name="fontFamily" value="'Courier New'" /> <StyleAttribute name="fontFamily" value="'Times New Roman',Times,serif" />