DWRITE_FONT_LINE_GAP_USAGE enumeration
Specify whether DWRITE_FONT_METRICS::lineGap value should be part of the line metrics
Syntax
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
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|