Font Attribute

This object contains attributes for fonts. The Working Set designer can change the font attributes, either via the "Change Font Attributes" command, the "Change Attribute" command or by transferring a new object. It should be noted that some changes can lead to an invalid object pool configuration if the font size or font style represents an unsupported combination.

Attributes

AID
Attribute
Description
Object Id

Unique identifier of the object. This must be unique within the object pool (2 bytes, 0-65534).

Type

The type of the object.

Font Colour

Text colour

Font Size

Font size in pixels (width × height). Not every VT version supports all sizes.

0 = 6×8
1 = 8×8
2 = 8×12
3 = 12×16
4 = 16×16
5 = 16×24
6 = 24×32
7 = 32×32

VT version 4 and later additionally:
8 = 32×48
9 = 48×64
10 = 64×64
11 = 64×96
12 = 96×128
13 = 128×128
14 = 128×192

Font Type

Font type. Not considered if the reference to a String Variable object is NULL or the string contains a WideString.

Font Style

Font style.

These can be combined. 0 = Normal font (default)

Bit 0 = 1 = Bold Bit 1 = 1 = Crossed out
Bit 2 = 1 = Underlined
Bit 3 = 1 = Italic
Bit 4 = 1 = Inverted colour
Bit 5 = 1 = Flashing between inverted colour and the styles set by bits 0–3
Bit 6 = 1 = Flashing of both the background and the foreground between Invisible and the styles set by bits 0–4. Bit 6 takes precedence over bit 5. The entire text object is hidden in the “invisible” cycle
Bit 7 = 1 = Proportional font rendering (if this bit is zero, non-proportional font rendering is used)

Number of Macros to follow

Number of contained macro references, even if it is zero.

Each macro reference consists of 2 bytes: one for the event Id and one for the macro Id.

When the specified event occurs, the associated macro is executed. VT version 5 and later: A reference to a macro with a 16-bit Object Id counts as 2 macro references in the context of this attribute.