2.9.331 Ttmbd

The Ttmbd structure specifies information about an embedded TrueType font, including where to locate the font in the document.


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

fc

iiffn

A

B

unnamed

fcSubset

fc (4 bytes): An unsigned integer value that specifies an offset into the WordDocument Stream where the embedded TrueType font is stored. This value MUST be nonzero. The font data that is stored at this offset is written as specified in [Embed-Open-Type-Format].

iiffn (2 bytes): A signed integer value that specifies an index into the SttbfFfn string table  stored at FibRgFcLcb97.fcSttbfffn. This value MUST be a non-negative number.

A - fBold (1 bit): Specifies whether the font is bold.

B - fItalic (1 bit): Specifies whether the font is italic.

unnamed (14 bits): Undefined and MUST be ignored.

fcSubset (4 bytes): If entire fonts are embedded in the document, fcSubset MUST be 0xFFFFFFFF. If only the characters that are used by the document are embedded in the document, fcSubset is an unsigned integer that specifies the order in which fonts are first used. The first font to be used in the document has an fcSubset value that is equal to zero; all subsequent fonts are incremented by 1 in order of first use. fcSubset MUST be incremented for all fonts that are used in the document, including fonts that are not embedded in the document. This value MUST NOT exceed the total number of fonts used in the document.