Font hinting

A font can be hinted either automatically (through processed algorithms based on the character outlines) or set manually.

Verdana is one example of a font that contains a large amount of hinting data, much of which was accomplished manually by type engineer Tom Rickner.

One aspect of TrueType hinting is grid-fitting, which modifies the height and width of font characters to line up to the set pixel grid of screen display.

The open-source FreeType 2 font rendering engine uses an auto-hinter when such hinting data are not present or their use is restricted by a software patent.

Particular attention should be paid to the cap height, x-height, and baseline, so that the font retains its normal character while not producing exaggerated effects at small sizes.

A font test without hinting (upper rows) and with hinting (lower rows) at both true size and 400% scaling. Note the increased edge contrast with the hinted text but more faithful character shape and more natural inter-character spacing in the unhinted text.