Declaration

func ensureHints(in layer: GSLayer, layers: [GSLayer], masters: [GSFontMaster], font: GSFont)

Declaration

- (void) ensureHintsInLayer:(GSLayer *) layer layers:(NSArray<GSLayer *> *) layers masters:(NSArray<GSFontMaster *> *) masters font:(GSFont *) font;

Declaration

ensureHintsInLayer_layers_masters_font_(layer: GSLayer, layers: list[GSLayer], masters: list[GSFontMaster], font: GSFont)

Parameters

layer

The interpolated layer that receives hints when needed.

layers

The layers participating in the interpolation.

masters

The font masters participating in the interpolation.

font

The font that supplies the hinting-master settings.

Discussion

A configured hinting master is preferred over the other participating layers and font masters. Existing PostScript or TrueType hints are retained.

See Also

Hints