enum Cairo::HintMetrics

Overview

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.

Defined in:

cairo/hint_metrics.cr

Enum Members

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 Method Summary

Instance Method Detail

def default? #

[View source]
def off? #

[View source]
def on? #

[View source]