IDWriteFontFace1::HasKerningPairs method (dwrite_1.h)

Determines whether the font supports pair-kerning.

Syntax

BOOL HasKerningPairs();

Return value

Returns TRUE if the font supports kerning pairs, otherwise FALSE.

Remarks

If the font doesn't support pair table kerning, you don't need to call IDWriteFontFace1::GetKerningPairAdjustments because it would retrieve all zeroes.

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header dwrite_1.h
Library Dwrite_1.lib
DLL Dwrite_1.dll

See also

IDWriteFontFace1

IDWriteFontFace1::GetKerningPairAdjustments