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 HintMetrics
DEFAULT
Hint metrics in the default manner for the font backend and target device
static HintMetrics
OFF
Do not hint font metrics
static HintMetrics
ON
Hint font metrics

Method Summary

static HintMetrics
intern(int value)
boolean
test(HintMetrics other)

Field Details

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 Details

intern

public static HintMetrics intern(int value)


test

public boolean test(HintMetrics other)