Instance Method
migrateRTLKerningDict(_:doClasses:) migrateRTLKerningDict:doClasses: migrateRTLKerningDict_doClasses_
Returns migrated right-to-left kerning data from a kerning dictionary.
Declaration
func migrateRTLKerningDict(_ kerningDict: NSMutableDictionary, doClasses: Bool) -> MGOrderedDictionary<NSString, MGOrderedDictionary<AnyObject, AnyObject>>?Declaration
- (MGOrderedDictionary<NSString *,MGOrderedDictionary *> *) migrateRTLKerningDict:(NSMutableDictionary *) kerningDict doClasses:(BOOL) doClasses;Declaration
migrateRTLKerningDict_doClasses_(kerningDict: dict, doClasses: bool) -> MGOrderedDictionary<NSString *,MGOrderedDictionary *>Parameters
doClassesWhether to update the glyph kerning groups while migrating.
Discussion
Right-to-left glyph kerning groups are swapped when doClasses is YES.
See Also
Kerning Maintenance
Converts redundant glyph kerning to group kerning for a writing direction.
Removes kerning pairs that reference missing glyphs or unused groups.
Sorts the kerning dictionaries into font order.
Replaces a kerning key in selected masters and writing direction.
Moves right-to-left kerning from left-to-right kerning data to right-to-left kerning data.
Returns right-to-left kerning converted back into left-to-right kerning data.
Converts imported kerning from glyph names to glyph identifiers.