Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
KERNINGPAIR

KERNINGPAIR structure

The KERNINGPAIR structure defines a kerning pair.

Syntax


typedef struct tagKERNINGPAIR {
  WORD wFirst;
  WORD wSecond;
  int  iKernAmount;
} KERNINGPAIR, *LPKERNINGPAIR;

Members

wFirst

The character code for the first character in the kerning pair.

wSecond

The character code for the second character in the kerning pair.

iKernAmount

The amount this pair will be kerned if they appear side by side in the same font and size. This value is typically negative, because pair kerning usually results in two characters being set more tightly than normal. The value is specified in logical units; that is, it depends on the current mapping mode.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

See also

Fonts and Text Overview
Font and Text Structures
GetKerningPairs

 

 

Community Additions

ADD
Show:
© 2015 Microsoft