Windows Dev Center

Expand Minimize

DWRITE_FONT_SIMULATIONS enumeration

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

Syntax


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

};

Constants

DWRITE_FONT_SIMULATIONS_NONE

Indicates that no simulations are applied to the font face.

DWRITE_FONT_SIMULATIONS_BOLD

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

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

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Dwrite.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft