Instance Method
kerningForFontMasterID:firstGlyph:secondGlyph:direction: kerningForFontMasterID:firstGlyph:secondGlyph:direction: kerningForFontMasterID_firstGlyph_secondGlyph_direction_
Kerning value between two glyphs in a master and writing direction, or NSNotFound when no pair applies.
Not available in Swift.
Declaration
- (CGFloat) kerningForFontMasterID:(NSString *) fontMasterID firstGlyph:(GSGlyph *) firstGlyph secondGlyph:(GSGlyph *) secondGlyph direction:(GSWritingDirection) direction;Declaration
kerningForFontMasterID_firstGlyph_secondGlyph_direction_(fontMasterID: str, firstGlyph: GSGlyph, secondGlyph: GSGlyph, direction: GSWritingDirection) -> floatDiscussion
Glyph-specific kerning is preferred over group kerning.
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 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. Sets the 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.