2.2.1.3 EmfPlusFont Object
The EmfPlusFont object specifies properties that determine the appearance of text, including typeface, size, and style.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Version |
|||||||||||||||||||||||||||||||
EmSize |
|||||||||||||||||||||||||||||||
SizeUnit |
|||||||||||||||||||||||||||||||
FontStyleFlags |
|||||||||||||||||||||||||||||||
Reserved |
|||||||||||||||||||||||||||||||
Length |
|||||||||||||||||||||||||||||||
FamilyName (variable) |
|||||||||||||||||||||||||||||||
... |
Version (4 bytes): An EmfPlusGraphicsVersion object (section 2.2.2.19) that specifies the version of operating system graphics that was used to create this object.
EmSize (4 bytes): A floating-point value that specifies the em size of the font in units specified by the SizeUnit field.
SizeUnit (4 bytes): An unsigned integer that specifies the units used for the EmSize field. These are typically the units that were employed when designing the font. The value is in the UnitType enumeration (section 2.1.1.32).<11>
FontStyleFlags (4 bytes): A signed integer that specifies attributes of the character glyphs that affect the appearance of the font, such as bold and italic. This value is composed of FontStyle flags (section 2.1.2.4).
Reserved (4 bytes): An unsigned integer that is reserved and MUST be ignored.
Length (4 bytes): An unsigned integer that specifies the number of characters in the FamilyName field.
FamilyName (variable): A string of Length Unicode characters that contains the name of the font family.
See section 2.2.1 for the specification of additional graphics objects.