2.2.3.3.1 EMRI_ENGINE_FONT Record
The EMRI_ENGINE_FONT record contains embedded TrueType fonts. This record and the EMRI_TYPE1_FONT (section 2.2.3.3.2) record have similar structures.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ulID |
|||||||||||||||||||||||||||||||
cjSize |
|||||||||||||||||||||||||||||||
Type1ID |
|||||||||||||||||||||||||||||||
NumFiles |
|||||||||||||||||||||||||||||||
FileSizes (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
AlignBuffer (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
FileContent (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
ulID (4 bytes): A 32-bit unsigned integer that identifies the type of record. The value MUST be 0x00000002, which specifies the EMRI_ENGINE_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 an EMF spool format file MUST be rounded up to a multiple of 4 bytes.
Type1ID (4 bytes): A 32-bit unsigned integer. The value MUST be 0x00000000, to indicate a TrueType.
NumFiles (4 bytes): A 32-bit unsigned integer that specifies the number of files attached to this record.
FileSizes (variable): Variable number of 32-bit unsigned integers that define the sizes of the files attached to this record.
AlignBuffer (variable): Up to 7 bytes, to make the data that follows 64-bit aligned.
FileContent (variable): Variable-size, 32-bit aligned data that represents the definitions of glyphs in the font. The content is in TrueType format.