# `GlyphsCallback processGlyph:instance:supporting:error:`

*Instance Method*

Is called to process a glyph before output

## Declaration

```swift
func processGlyph(_ glyph: GSGlyph, instance: GSInstance, supporting supportedFeatures: GSDrawStackFeature) throws
```

```objc
- (BOOL) processGlyph:(GSGlyph *) glyph instance:(GSInstance *) instance supporting:(GSDrawStackFeature) supportedFeatures error:(NSError **) error;
```

```python
processGlyph_instance_supporting_error_(glyph: GSGlyph, instance: GSInstance, supportedFeatures: GSDrawStackFeature) -> tuple[bool, NSError]
```

## Parameters

- `glyph` — The glyph to process
- `instance` — The exported instance
- `error` — On output, a pointer to an error object that describes why the method failed, or `nil` if no error occurred. If you are not interested in the error information, pass `nil` for this parameter.

## Return Value

NO if there was an error

