IDWriteTypography::GetFontFeatureCount method (dwrite.h)

Gets the number of OpenType font features for the current font.

Syntax

UINT32 GetFontFeatureCount();

Return value

Type: UINT32

The number of font features for the current text format.

Remarks

A single run of text can be associated with more than one typographic feature. The IDWriteTypography object holds a list of these font features.

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]
Target Platform Windows
Header dwrite.h
Library Dwrite.lib
DLL Dwrite.dll

See also

IDWriteTypography