Instance Method
setKerningForFontMasterID(_:leftKey:rightKey:value:direction:) setKerningForFontMasterID:leftKey:rightKey:value:direction: setKerningForFontMasterID_leftKey_rightKey_value_direction_
Sets the kerning value for a pair of kerning keys.
Declaration
func setKerningForFontMasterID(_ fontMasterID: Any, leftKey: Any, rightKey: Any, value: CGFloat, direction: GSWritingDirection)Declaration
- (void) setKerningForFontMasterID:(id) fontMasterID leftKey:(id) leftKey rightKey:(id) rightKey value:(CGFloat) value direction:(GSWritingDirection) direction;Declaration
setKerningForFontMasterID_leftKey_rightKey_value_direction_(fontMasterID: object, leftKey: object, rightKey: object, value: float, direction: GSWritingDirection)Discussion
Kerning keys are glyph identifiers or prefixed group keys such as @MMK_L_A and @MMK_R_A.
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.
Removes the kerning value for a pair of kerning keys.
Replaces the kerning dictionary for one master and writing direction.
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.- kerningForFontMasterID:
leftKey: kerningForFontMasterID_rightKey: direction: leftKey_ rightKey_ direction_ Kerning value for a pair of kerning keys, or
NSNotFoundwhen no pair is stored. Removes the kerning value for a pair of kerning keys.
Replaces the kerning dictionary for one master and writing direction.
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.