The 4th Annual China PHP Conference

The CairoHintMetrics class

(Não há informação de versão disponível, talvez apenas no SVN)


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.

Sinopse da classe

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

Constantes pré-definidas


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


Do not hint font metrics


Hint font metrics

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top