Declaration

func copyLayers(
    from otherFont: GSFont,
    sourceFontMasterID: String,
    targetFontMasterID: String
)

Declaration

- (void) copyLayersFrom:(GSFont *) otherFont
     sourceFontMasterID:(NSString *) sourceFontMasterID
     targetFontMasterID:(NSString *) targetFontMasterID;

Declaration

copyLayersFrom_sourceFontMasterID_targetFontMasterID_(
    otherFont: GSFont,
    sourceFontMasterID: str,
    targetFontMasterID: str
)

Discussion

The copied layers are added to matching glyphs by glyph name.

See Also

Master Content