Instance Method
replaceMaster(at:with:) replaceFontMasterAtIndex:withFontMaster: replaceFontMasterAtIndex_withFontMaster_
Replaces a local master at an index without changing layer content.
Declaration
func replaceMaster(at idx: UInt, with fontMaster: GSFontMaster)Declaration
- (void) replaceFontMasterAtIndex:(NSUInteger) idx withFontMaster:(GSFontMaster *) fontMaster;Declaration
replaceFontMasterAtIndex_withFontMaster_(idx: int, fontMaster: GSFontMaster)Parameters
idxThe index in the local master list.
Discussion
The replacement master becomes a local master of the font.
See Also
Master Content
Adds a local master and copies the content associated with it into the font.
Inserts a local master and copies the content associated with it into the font.
Removes a local master and the layer content associated with it.
Copies glyph layers associated with one master identifier to another master identifier.
Copies layers associated with one master identifier to another master identifier.
Copies master-specific font information from one master identifier to another master identifier.
Adds a master from another font as a new local master.
Adds the generated contents of an instance as a new local master.