# `GSFont removeFontMasterAndContent:`

*Instance Method*

Removes a local master and the layer content associated with it.

## Declaration

```swift
func removeFontMasterAndContent(_ fontMaster: GSFontMaster)
```

```objc
- (void) removeFontMasterAndContent:(GSFontMaster *) fontMaster;
```

```python
removeFontMasterAndContent_(fontMaster: GSFontMaster)
```

## Discussion

The master is ignored when it is not a local master of the font.

## See Also

### Master Content

- [`GSFont addFontMasterAndContent:`](/Core/GlyphsCore/GSFont/addFontMasterAndContent:) — Adds a local master and copies the content associated with it into the font.
- [`GSFont insertFontMasterAndContent:atIndex:`](/Core/GlyphsCore/GSFont/insertFontMasterAndContent:atIndex:) — Inserts a local master and copies the content associated with it into the font.
- [`GSFont replaceFontMasterAtIndex:withFontMaster:`](/Core/GlyphsCore/GSFont/replaceFontMasterAtIndex:withFontMaster:) — Replaces a local master at an index without changing layer content.
- [`GSFont copyGlyphs:sourceFontMasterID:targetFontMasterID:addMissing:`](/Core/GlyphsCore/GSFont/copyGlyphs:sourceFontMasterID:targetFontMasterID:addMissing:) — Copies glyph layers associated with one master identifier to another master identifier.
- [`GSFont copyLayersFrom:sourceFontMasterID:targetFontMasterID:`](/Core/GlyphsCore/GSFont/copyLayersFrom:sourceFontMasterID:targetFontMasterID:) — Copies layers associated with one master identifier to another master identifier.
- [`GSFont copyInfoFrom:sourceFontMasterID:targetFontMasterID:`](/Core/GlyphsCore/GSFont/copyInfoFrom:sourceFontMasterID:targetFontMasterID:) — Copies master-specific font information from one master identifier to another master identifier.
- [`GSFont addFontAsNewMaster:`](/Core/GlyphsCore/GSFont/addFontAsNewMaster:) — Adds a master from another font as a new local master.
- [`GSFont addMasterFromInstance:error:`](/Core/GlyphsCore/GSFont/addMasterFromInstance:error:) — Adds the generated contents of an instance as a new local master.

