# `GSFont keepsGlyphs(with:)`

*Instance Method*

Returns whether all Unicode scalars resolve to local or imported glyphs included in export.

## Declaration

```swift
func keepsGlyphs(with codePoints: [Unicode.Scalar]) -> Bool
```

## See Also

### Exporting Glyphs

- [`GSFont.exportingGlyphNames`](/Core/GlyphsCore/GSFont/exportingGlyphNames) — The names of the local and imported glyphs that are included in export.
- [`GSFont exportingGlyphNames(for:)`](/Core/GlyphsCore/GSFont/exportingGlyphNames(for:)) — Returns the glyph names for Unicode scalars that resolve to local or imported glyphs included in export.
- [`GSFont keepsGlyphs:`](/Core/GlyphsCore/GSFont/keepsGlyphs:) — Returns whether all named local or imported glyphs are present and included in export.
- [`GSFont filterKeepGlyphs:`](/Core/GlyphsCore/GSFont/filterKeepGlyphs:) — Returns the names of local or imported glyphs that are present and included in export.
- [`GSFont countOfGlyphsWithInfosByName:`](/Core/GlyphsCore/GSFont/countOfGlyphsWithInfosByName:) — Returns the number of matches found for local or imported glyph infos in the font.
- [`GSFont glyphCount(for:)`](/Core/GlyphsCore/GSFont/glyphCount(for:)) — Returns the number of Unicode scalars that resolve to local or imported glyphs in the font.

