2.2.3.3.4 EMRI_SUBSET_FONT Record

The EMRI_SUBSET_FONT record contains a subset of TrueType and OpenType fonts, which can be merged to form more complete fonts. An EMRI_SUBSET_FONT record defines enough glyph outlines for pages up to the current one.

This record and the EMRI_DELTA_FONT (section 2.2.3.3.5) record have similar structures.


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

ulID

cjSize

UniversalFontId

...

FontData (variable)

...

...

ulID (4 bytes): A 32-bit unsigned integer that identifies the type of record. The value MUST be 0x00000007, which specifies the EMRI_SUBSET_FONT record type from the RecordType Enumeration (section 2.1.1).

cjSize (4 bytes): A 32-bit unsigned integer that specifies the size, in bytes, of the data attached to the record. The size of each record in EMF spool format MUST be rounded up to a multiple of 4 bytes.

UniversalFontId (8 bytes): An EMF UniversalFontId object ([MS-EMF] section 2.2.27) that identifies the font.

FontData (variable): The 32-bit-aligned data that contains the definitions of glyphs in the font.