Name
GetKerning -- get character kerning (V10.0)
Synopsis
int kern = GetKerning(APTR handle, STRPTR pair, int encoding, struct
               hwTagList *tags);
Function
This function is used to determine the kerning for the character pair passed in the pair string. The pair parameter will contain two characters and your implementation must return the desired kerning in pixels for those two characters. The encoding parameter specifies the character encoding of the string. This will be either HWOS_ENCODING_UTF8 or HWOS_ENCODING_ISO8859_1.

Inputs
handle
the font handle allocated by LoadFont()
pair
string containing two characters
encoding
character encoding of the string (see above)
tags
tag list containing further options or NULL
Results
kern
character kerning in pixels

Show TOC