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 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header dwrite_3.h