Returns the kerning between 2 glyphs. Kerning is a slight horizontal adjustment between 2 glyphs to improve the visual appearance. It will often be negative. The units depend on the font's pixel density. With the default density, the units correspond to meters.
keming = Font:getKerning(first, second)
Arguments
| Name | Type | Description |
| first | string | number |
The first character or codepoint.
|
| second | string | number |
The second character or codepoint.
|
Returns
| Name | Type | Description |
| keming | number |
The kerning between the two glyphs.
|
See also