FONT: Font Description (31h)

Contains information about the font.

Record Data

Offset
Name
Size
Contents
0 dwHeight 2 Height of font, in twips
2 grbit 2 Font attributes
4 Reserved 2 Reserved
6 bls 2 Bold style
8 Reserved 2 Reserved
10 uls 1 Underline style
11 bFamily 1 Font Family
12 bCharSet 1 Character set
13 Reserved 1 Reserved
14 cch 1 Length of font name, in characters
15 rgch Variable Font Name

Parameters

grbit
The grbit field contains the following font attributes:
Bit
Mask
Name
Contents
1 02h fItalic 1, if font is italic, 0 if not

uls
The underline style

00h = None

01h = Single