Uredi

Font.GetHorizontalGlyphKerning(UInt32, UInt32) Method

Definition

Gets the horizontal kerning adjustment between two glyphs.

public int GetHorizontalGlyphKerning(uint leftGlyph, uint rightGlyph);

Parameters

leftGlyph
UInt32

The glyph ID of the left glyph in the pair.

rightGlyph
UInt32

The glyph ID of the right glyph in the pair.

Returns

The kerning adjustment in font units.

Remarks

Kerning adjusts the spacing between specific pairs of glyphs for better visual appearance.

Applies to