EXTLOGFONT

The EXTLOGFONT structure defines the attributes of a font.

typedef struct tagEXTLOGFONT {

LOGFONT elfLogFont;

BCHAR elfFullName[LF_FULLFACESIZE];

BCHAR elfStyle[LF_FACESIZE];

DWORD elfVersion;

DWORD elfStyleSize;

DWORD elfMatch;

DWORD elfReserved;

BYTE elfVendorId[ELF_VENDOR_SIZE];

DWORD elfCulture;

PANOSE elfPanose;

} EXTLOGFONT;

Members

elfLogFont

Specifies some of the attributes of the given font. This member is a LOGFONT structure.

elfFullName

Specifies a unique name for the font (for example, ABCD Font Company TrueType Bold Italic Sans Serif).

elfStyle

Specifies 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

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.

See Also

LOGFONT, PANOSE