DWRITE_FONT_SIMULATIONS enumeration (dwrite.h)

Specifies algorithmic style simulations to be applied to the font face. Bold and oblique simulations can be combined via bitwise OR operation.

Syntax

typedef enum DWRITE_FONT_SIMULATIONS {
  DWRITE_FONT_SIMULATIONS_NONE = 0x0000,
  DWRITE_FONT_SIMULATIONS_BOLD = 0x0001,
  DWRITE_FONT_SIMULATIONS_OBLIQUE = 0x0002
} ;

Constants

 
DWRITE_FONT_SIMULATIONS_NONE
Value: 0x0000
Indicates that no simulations are applied to the font face.
DWRITE_FONT_SIMULATIONS_BOLD
Value: 0x0001
Indicates that algorithmic emboldening is applied to the font face. DWRITE_FONT_SIMULATIONS_BOLD increases weight by applying a widening algorithm to the glyph outline. This may be used to simulate a bold weight where no designed bold weight is available.
DWRITE_FONT_SIMULATIONS_OBLIQUE
Value: 0x0002
Indicates that algorithmic italicization is applied to the font face. DWRITE_FONT_SIMULATIONS_OBLIQUE applies obliquing (shear) to the glyph outline. This may be used to simulate an oblique/italic style where no designed oblique/italic style is available.

Remarks

Style simulations are not recommended for good typographic quality.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Header dwrite.h