Package: cairo

CEnum cairo:hint-metrics-t

Declaration

(cffi:defcenum hint-metrics-t
  :default
  :off
  :on)  

Values

:default
Hint metrics in the default manner for the font backend and target device.
:off
Do not hint font metrics.
:on
Hint font metrics.

Details

Specifies whether to hint font metrics. Hinting font metrics means quantizing them so that they are integers 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.
 

See also

2025-1-29