Next: , Previous: , Up: Ligatures and Kernings   [Contents][Index]


3.4.1 Kernings

In order to get kerning information for some pair of characters in a font, use the following function.

Function: kerning CHARACTER1 CHARACTER2

Return kerning for CHARACTER1 and CHARACTER2, or nil.
Both characters must belong to the same font.

The kerning, if it exists, is in design size units.