EXTLOGFONTW structure (wingdi.h)
The EXTLOGFONT structure defines the attributes of a font.
Syntax
typedef struct tagEXTLOGFONTW {
LOGFONTW elfLogFont;
WCHAR elfFullName[LF_FULLFACESIZE];
WCHAR elfStyle[LF_FACESIZE];
DWORD elfVersion;
DWORD elfStyleSize;
DWORD elfMatch;
DWORD elfReserved;
BYTE elfVendorId[ELF_VENDOR_SIZE];
DWORD elfCulture;
PANOSE elfPanose;
} EXTLOGFONTW, *PEXTLOGFONTW, *NPEXTLOGFONTW, *LPEXTLOGFONTW;
Members
elfLogFont
Specifies some of the attributes of the specified font. This member is a LOGFONT structure.
elfFullName[LF_FULLFACESIZE]
A unique name for the font (for example, ABCD Font Company TrueType Bold Italic Sans Serif).
elfStyle[LF_FACESIZE]
The style of the font (for example, Bold Italic).
elfVersion
Reserved. Must be zero.
elfStyleSize
This member only has meaning for hinted fonts. It specifies the point size at which the font is hinted. If set to zero, which is its default value, the font is hinted at the point size corresponding to the lfHeight member of the LOGFONT structure specified by elfLogFont.
elfMatch
A unique identifier for an enumerated font. This will be filled in by the graphics device interface (GDI) upon font enumeration.
elfReserved
Reserved; must be zero.
elfVendorId[ELF_VENDOR_SIZE]
A 4-byte identifier of the font vendor.
elfCulture
Reserved; must be zero.
elfPanose
A PANOSE structure that specifies the shape of the font. If all members of this structure are set to zero, the elfPanose member is ignored by the font mapper.
Remarks
Note
The wingdi.h header defines EXTLOGFONT as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | wingdi.h (include Windows.h) |