Set Font
Purpose
The Set Font function specifies the font to be used when displaying subsequent text output.
Syntax
Opcode format | Opcode
[ASCII] (Hex) |
Operand Format | Comments |
Single-byte, binary operand | [ctrl-f] (06) | <Bcount>[<USEcount>]<Bc-i>+<Bb+i><ULcs><ULp&f> | Set current font |
count The number of ASCII characters in the font name. A value of zero indicates that an extended count will follow.
Ecount When count is zero, a two-byte extended count follows, allowing for font names of length 256 through 65,791 encoded as an integer in the range 0 to 65,535.
c-i The ith ASCII character of the font name.
b+i Bold and italic font attributes encoded into a byte. The least significant bit indicates the bold attribute. The next bit indicates the italic attribute.
cs The character set encoded as a 32 bit integer.
p&f The pitch and family encoded as a 32 bit integer.
Implementation in WHIP! Versions
Toolkit Function |
TBD |
Partial |
Full |
Revised in |
Set Font | - | - |
2.0 |
- |
See Also