2.5.129 FontIndex

The FontIndex structure specifies a Font record in the file.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

ifnt

ifnt (2 bytes):  An unsigned integer. If this value is less than 4, then it specifies a zero-based index of a Font record in the collection of Font records in the Globals Substream. If this value is greater than 4, then it specifies a one-based index of a Font record in the collection of Font records in the Globals Substream. MUST NOT equal 4, and MUST be less than or equal to 1022. SHOULD<168> be less than or equal to 510.

The Font records in the Globals Substream are organized into two sections. The first section contains four Font records which MUST be present and MUST be ordered as follows<169>:

Ifnt value

Meaning

0

Default font

1

Default font, bold

2

Default font, italic

3

Default font, bold and italic

The second section, which is optional, contains Font records for any additional font formatting properties present in the file.  For example, the 5th Font record in the file is referred to by ifnt value 5.