CAIROHINTSTYLE(3) 1 CAIROHINTSTYLE(3)
The CairoHintStyle class
INTRODUCTION
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.
CLASS SYNOPSIS
CairoHintStyle
CairoHintStyle
Constants
o const integer$CairoHintStyle::STYLE_DEFAULT0
o const integer$CairoHintStyle::STYLE_NONE1
o const integer$CairoHintStyle::STYLE_SLIGHT2
o const integer$CairoHintStyle::STYLE_MEDIUM3
o const integer$CairoHintStyle::STYLE_FULL4
PREDEFINED CONSTANTS
o CairoHintStyle::STYLE_DEFAULT -Use the default hint style for font backend and target device
o CairoHintStyle::STYLE_NONE -Do not hint outlines
o CairoHintStyle::STYLE_SLIGHT -Hint outlines slightly to improve contrast while retaining good fidelity to the original shapes.
o CairoHintStyle::STYLE_MEDIUM -Hint outlines with medium strength giving a compromise between fidelity to the original shapes and
contrast
o CairoHintStyle::STYLE_FULL -Hint outlines to maximize contrast
PHP Documentation Group CAIROHINTSTYLE(3)