Font.GetHorizontalGlyphKerning(UInt32, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.