enum

Cairo::HintMetrics

Inherits Enum / Comparable / Value / Object

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.

Constants

Default = 0

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

Off = 1

Do not hint font metrics.

On = 2

Hint font metrics.

Instance methods

default?

Returns true if this enum value equals Default

Source
off?

Returns true if this enum value equals Off

Source
on?

Returns true if this enum value equals On

Source