# `GSFont fontWithGlyphs:`

*Initializer*

Creates a font containing glyphs with the given names for testing.

## Declaration

```swift
init(glyphs glyphNames: [String])
```

```objc
+ (GSFont *) fontWithGlyphs:(NSArray<NSString *> *) glyphNames;
```

```python
fontWithGlyphs_(glyphNames: list[str]) -> GSFont
```

## Parameters

- `glyphNames` — The names of the glyphs to add.

## Discussion

The font has one master with default metrics.

