DWRITE_GRID_FIT_MODE enumeration

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

Syntax


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

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Dwrite_2.h

 

 

Show: