Skip to content

API Reference / @gtkx/cairo / HintStyle

Enumeration: HintStyle

Defined in: enums.d.ts:24

How much font outlines are fitted to the pixel grid.

Enumeration Members

DEFAULT

DEFAULT: 0

Defined in: enums.d.ts:311

Uses the default hint style of the font backend and target device.


FULL

FULL: 4

Defined in: enums.d.ts:319

Hints outlines to maximize contrast.


MEDIUM

MEDIUM: 3

Defined in: enums.d.ts:317

Hints outlines with medium strength.


NONE

NONE: 1

Defined in: enums.d.ts:313

Does not hint outlines.


SLIGHT

SLIGHT: 2

Defined in: enums.d.ts:315

Hints outlines slightly, keeping contrast while preserving shape.

Released under the MPL-2.0 License.