FONTSIM structure (winddi.h)

The FONTSIM structure contains offsets to one or more FONTDIFF structures describing bold, italic, and bold italic font simulations.

Syntax

typedef struct _FONTSIM {
  PTRDIFF dpBold;
  PTRDIFF dpItalic;
  PTRDIFF dpBoldItalic;
} FONTSIM;

Members

dpBold

If nonzero, specifies the offset from the beginning of this structure to the FONTDIFF structure describing the bold simulation. If this member is zero, the font does not support bold simulation.

dpItalic

If nonzero, specifies the offset from the beginning of this structure to the FONTDIFF structure describing the italic simulation. If this member is zero, the font does not support italic simulation.

dpBoldItalic

If nonzero, specifies the offset from the beginning of this structure to the FONTDIFF structure describing the bold italic simulation. If this member is zero, the font does not support bold italic simulation.

Remarks

If the dpFontSim member of the IFIMETRICS structure is nonzero, it holds the offset from the beginning of that structure to the beginning of a FONTSIM structure.

Requirements

Requirement Value
Header winddi.h (include Winddi.h)

See also

FONTDIFF

IFIMETRICS