Instance Method
setKerning(_:forMaster:direction:) setKerning:forMaster:direction: setKerning_forMaster_direction_
Replaces the kerning dictionary for one master and writing direction.
Declaration
func setKerning(
_ kerning: MGOrderedDictionary<AnyObject, AnyObject>,
forMaster fontMasterID: String,
direction: GSWritingDirection
)Declaration
- (void) setKerning:(MGOrderedDictionary *) kerning
forMaster:(NSString *) fontMasterID
direction:(GSWritingDirection) direction;Declaration
setKerning_forMaster_direction_(
kerning: MGOrderedDictionary,
fontMasterID: str,
direction: GSWritingDirection
)See Also
Kerning
Left-to-right kerning data.
Right-to-left kerning data.
Vertical kerning data.
Kerning dictionary for a writing direction.
Kerning dictionary for one master and writing direction.
Kerning value between two glyphs in a master and writing direction.
Kerning value between two glyphs in a master kerning dictionary.
Kerning value for a pair of kerning keys.
Sets the kerning value for a pair of kerning keys.
Removes the kerning value for a pair of kerning keys.
Adds kerning pairs to the kerning dictionary for one master and writing direction.
Returns the master identifier used for metrics and kerning data.
Returns the master identifier used for metrics and kerning data.
See Also
Kerning
Left-to-right kerning data.
Right-to-left kerning data.
Vertical kerning data.
Kerning dictionary for a writing direction.
Kerning dictionary for one master and writing direction.
Kerning value between two glyphs in a master and writing direction, or
NSNotFoundwhen no pair applies.Kerning value between two glyphs in a master kerning dictionary, or
NSNotFoundwhen no pair applies.- kerning
For kerningFont Master ID: left Key: right Key: direction: For Font Master ID_ left Key_ right Key_ direction_ Kerning value for a pair of kerning keys, or
NSNotFoundwhen no pair is stored. Sets the kerning value for a pair of kerning keys.
Removes the kerning value for a pair of kerning keys.
Adds kerning pairs to the kerning dictionary for one master and writing direction.
Returns the master identifier used for metrics and kerning data.
Returns the master identifier used for metrics and kerning data.