Using presentation styles / Fonts |
Use the fontSize style attribute to influence the size of the fonts used in an application.
This topic describes the possible values of the fontSize style attribute.
{ generic-size | nnpt | xxem }
The language defines a set of generic font sizes, interpreted by the front end according to the graphical capability of the workstation.
Generic font size name | Meaning |
---|---|
xx-small |
Tiny font size |
x-small |
Extra-small font size |
small |
Small font size |
medium |
Medium font size |
large |
Large font size |
x-large |
Extra-large font size |
xx-large |
Huge fonct size |
You can also specify an absolute font size, by giving a numeric value followed by the units such as pt or em:
<StyleAttribute name="fontSize" value="medium" /> <StyleAttribute name="fontSize" value="xx-large" /> <StyleAttribute name="fontSize" value="12pt" /> <StyleAttribute name="fontSize" value="1em" />