org.freedesktop.cairo
Class HintStyle
Enum
org.freedesktop.cairo.HintStyle
public class HintStyle
extends Enum
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.
static HintStyle | DEFAULT - Use the default hint style for for font backend and target device
|
static HintStyle | FULL - Hint outlines to maximize contrast
|
static HintStyle | MEDIUM - Hint outlines with medium strength giving a compromise between fidelity
to the original shapes and contrast
|
static HintStyle | NONE - Do not hint outlines
|
static HintStyle | SLIGHT - Hint outlines slightly to improve contrast while retaining good fidelity
to the original shapes.
|
DEFAULT
public static final HintStyle DEFAULT
Use the default hint style for for font backend and target device
FULL
public static final HintStyle FULL
Hint outlines to maximize contrast
MEDIUM
public static final HintStyle MEDIUM
Hint outlines with medium strength giving a compromise between fidelity
to the original shapes and contrast
NONE
public static final HintStyle NONE
Do not hint outlines
SLIGHT
public static final HintStyle SLIGHT
Hint outlines slightly to improve contrast while retaining good fidelity
to the original shapes.
intern
public static HintStyle intern(int value)