IDWriteFontFace1::HasKerningPairs method

Determines whether the font supports pair-kerning.

Syntax


BOOL HasKerningPairs();

Parameters

This method has no parameters.

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

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Dwrite_1.h

Library

Dwrite_1.lib

DLL

Dwrite_1.dll

See also

IDWriteFontFace1
IDWriteFontFace1::GetKerningPairAdjustments

 

 

Community Additions

ADD
Show:
© 2014 Microsoft