enum

Cairo::HintStyle

Inherits Enum / Comparable / Value / Object

Specifies the type of hinting to do on font outlines. Hinting is the process of fitting outlines to the pixel grid in order to improve the appearance of the result. Since hinting outlines involves distorting them, it also reduces the faithfulness to the original outline shapes. Not all of the outline hinting styles are supported by all font backends.

New entries may be added in future versions.

Constants

Default = 0

Use the default hint style for font backend and target device.

None = 1

Do not hint outlines.

Slight = 2

Hint outlines slightly to improve contrast while retaining good fidelity to the original shapes.

Medium = 3

Hint outlines with medium strength giving a compromise between fidelity to the original shapes and contrast.

Full = 4

Hint outlines to maximize contrast.

Instance methods

default?

Returns true if this enum value equals Default

Source
full?

Returns true if this enum value equals Full

Source
medium?

Returns true if this enum value equals Medium

Source
none?

Returns true if this enum value equals None

Source
slight?

Returns true if this enum value equals Slight

Source