DWRITE_FONT_LINE_GAP_USAGE enumeration (dwrite_3.h)

Specify whether DWRITE_FONT_METRICS::lineGap value should be part of the line metrics

Syntax

typedef enum DWRITE_FONT_LINE_GAP_USAGE {
  DWRITE_FONT_LINE_GAP_USAGE_DEFAULT,
  DWRITE_FONT_LINE_GAP_USAGE_DISABLED,
  DWRITE_FONT_LINE_GAP_USAGE_ENABLED
} ;

Constants

 
DWRITE_FONT_LINE_GAP_USAGE_DEFAULT
The usage of the font line gap depends on the method used for text layout.
DWRITE_FONT_LINE_GAP_USAGE_DISABLED
The font line gap is excluded from line spacing.
DWRITE_FONT_LINE_GAP_USAGE_ENABLED
The font line gap is included in line spacing.

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_3.h