DWRITE_GRID_FIT_MODE enumeration (dwrite_2.h)

Specifies whether to enable grid-fitting of glyph outlines (also known as hinting).

Syntax

typedef enum DWRITE_GRID_FIT_MODE {
  DWRITE_GRID_FIT_MODE_DEFAULT,
  DWRITE_GRID_FIT_MODE_DISABLED,
  DWRITE_GRID_FIT_MODE_ENABLED
} ;

Constants

 
DWRITE_GRID_FIT_MODE_DEFAULT
Choose grid fitting based on the font's table information.
DWRITE_GRID_FIT_MODE_DISABLED
Always disable grid fitting, using the ideal glyph outlines.
DWRITE_GRID_FIT_MODE_ENABLED
Enable grid fitting, adjusting glyph outlines for device pixel display.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Header dwrite_2.h