Element TEXT: <?FORMAT?> instruction
The <?FORMAT?> instruction is a convenient means of applying 'spot' formatting to a short string of text, which is itself nested within a larger block of plain text in a <TEXT> element.
<?FORMAT options?>
where options are:
The fontname is the name of the Typeface family: if this includes spaces then the name must be enclosed in quotes, e.g. "Courier New". |
string |
# |
description |
|
-7 |
ultra thin |
|
-6 |
extra thin |
|
-5 |
thin |
|
-4 |
extra light |
LIGHT |
-3 |
light |
|
-2 |
demi light |
|
-1 |
semi light |
REGULAR |
0 |
medium (default) |
|
1 |
semi bold |
|
2 |
demi bold |
BOLD |
3 |
bold |
|
4 |
extra bold |
|
5 |
black |
|
6 |
extra black |
BLACK |
7 |
ultra black |
# |
string |
0 |
UPRIGHT |
1 |
ITALIC |
|
OBLIQUE |
The commonly used shorthand alternatives POINT and PT are also acceptable in place of POINTSIZE – in fact a number by itself is sufficient. (The same cannot be said of WEIGHT and STYLE, which may also take numeric values.) |
Links: