org.freedesktop.cairo

Class HintMetrics

public class HintMetrics extends Enum

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.
Field Summary
static HintMetricsDEFAULT
Hint metrics in the default manner for the font backend and target device
static HintMetricsOFF
Do not hint font metrics
static HintMetricsON
Hint font metrics
Method Summary
static HintMetricsintern(int value)
booleantest(HintMetrics other)

Field Detail

DEFAULT

public static final HintMetrics DEFAULT
Hint metrics in the default manner for the font backend and target device

OFF

public static final HintMetrics OFF
Do not hint font metrics

ON

public static final HintMetrics ON
Hint font metrics

Method Detail

intern

public static HintMetrics intern(int value)

test

public boolean test(HintMetrics other)