Declaration

func copyGlyphs(
    _ sourceFont: GSFont,
    sourceFontMasterID: String,
    targetFontMasterID: String,
    addMissing: Bool
)

Declaration

- (void) copyGlyphs:(GSFont *) sourceFont
    sourceFontMasterID:(NSString *) sourceFontMasterID
    targetFontMasterID:(NSString *) targetFontMasterID
            addMissing:(BOOL) addMissing;

Declaration

copyGlyphs_sourceFontMasterID_targetFontMasterID_addMissing_(
    sourceFont: GSFont,
    sourceFontMasterID: str,
    targetFontMasterID: str,
    addMissing: bool
)

Parameters

addMissing

Pass YES to add glyphs that are missing in the receiving font.

Discussion

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

See Also

Master Content