Instance Method
kerningForFontMasterDict:firstGlyph:secondGlyph:direction: kerningForFontMasterDict:firstGlyph:secondGlyph:direction: kerningForFontMasterDict_firstGlyph_secondGlyph_direction_
Kerning value between two glyphs in a master kerning dictionary, or NSNotFound when no pair applies.
Not available in Swift.
Declaration
- (CGFloat) kerningForFontMasterDict:(NSDictionary *) masterKerning firstGlyph:(GSGlyph *) firstGlyph secondGlyph:(GSGlyph *) secondGlyph direction:(GSWritingDirection) direction;Declaration
kerningForFontMasterDict_firstGlyph_secondGlyph_direction_(masterKerning: dict, 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 and writing direction, 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.