DWRITE_AUTOMATIC_FONT_AXES enumeration (dwrite_3.h)

Defines constants that specifies axes that can be applied automatically in layout during font selection. Values can be bitwise OR'd together.

Syntax

typedef enum DWRITE_AUTOMATIC_FONT_AXES {
  DWRITE_AUTOMATIC_FONT_AXES_NONE = 0x0000,
  DWRITE_AUTOMATIC_FONT_AXES_OPTICAL_SIZE = 0x0001
} ;

Constants

 
DWRITE_AUTOMATIC_FONT_AXES_NONE
Value: 0x0000
Specifies that no axes are automatically applied.
DWRITE_AUTOMATIC_FONT_AXES_OPTICAL_SIZE
Value: 0x0001
Specifies that—when no value is specified via DWRITE_FONT_AXIS_TAG_OPTICAL_SIZE—an appropriate optical value should be automatically chosen based on the font size (via IDWriteTextLayout::SetFontSize). You can still apply the 'opsz' value over text ranges via IDWriteTextFormat3::SetFontAxisValues, which take priority.

Requirements

   
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header dwrite_3.h

See also

DWRITE_FONT_AXIS_TAG enumeration

IDWriteTextFormat3::SetFontAxisValues