Specifies whether to hint font metrics; hinting font metrics means quantizing them so that they are integer values in device space. Doing this improves the consistency of letter and line spacing, however it also means that text will be laid out differently at different zoom factors.

cairo_hint_metrics_t

Format

An object of class list of length 3.

Details

Since: 1.0

CAIRO_HINT_METRICS_DEFAULT

Hint metrics in the default manner for the font backend and target device, since 1.0

CAIRO_HINT_METRICS_OFF

Do not hint font metrics, since 1.0

CAIRO_HINT_METRICS_ON

Hint font metrics, since 1.0

See also