Please wait while we load your page...


PHP Manual :: The CairoHintMetrics class

CairoFilter || CairoHintStyle || Cairo || PHP Manual

(No version information available, might only be in Git)

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.

CairoHintMetrics {
/* Constants */
const integer METRICS_DEFAULT = 0 ;
const integer METRICS_OFF = 1 ;
const integer METRICS_ON = 2 ;

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


Do not hint font metrics


Hint font metrics

CairoFilter || CairoHintStyle || Cairo || PHP Manual
Live Chat Not Available