This topic has not yet been rated - Rate this topic

EXTLOGFONT structure

Applies to: desktop apps only

The EXTLOGFONT structure defines the attributes of a font.

Syntax

typedef struct tagEXTLOGFONT {
  LOGFONT elfLogFont;
  TCHAR   elfFullName[LF_FULLFACESIZE];
  TCHAR   elfStyle[LF_FACESIZE];
  DWORD   elfVersion;
  DWORD   elfStyleSize;
  DWORD   elfMatch;
  DWORD   elfReserved;
  BYTE    elfVendorId[ELF_VENDOR_SIZE];
  DWORD   elfCulture;
  PANOSE  elfPanose;
} EXTLOGFONT, *PEXTLOGFONT;

Members

elfLogFont

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

elfFullName

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

elfStyle

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.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wingdi.h (include Windows.h)

Unicode and ANSI names

EXTLOGFONTW (Unicode) and EXTLOGFONTA (ANSI)

See also

Fonts and Text Overview
Font and Text Structures
LOGFONT
PANOSE

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ