Instance Method
ensureHints(in:layers:masters:font:) ensureHintsInLayer:layers:masters:font: ensureHintsInLayer_layers_masters_font_
Ensures that an interpolated layer has hints from a structurally compatible source layer.
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
layerThe interpolated layer that receives hints when needed.
layersThe layers participating in the interpolation.
mastersThe font masters participating in the interpolation.
fontThe 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
Adds hint categories missing from a compatible target layer.