# `GSFont masterIDforHints:`

*Instance Method*

Returns the master identifier used as source for hints.

## Declaration

```swift
func masterIDforHints(_ master: GSFontMaster?) -> String
```

```objc
- (NSString *) masterIDforHints:(GSFontMaster *) master;
```

```python
masterIDforHints_(master: GSFontMaster) -> str
```

## Parameters

- `master` — The master whose hint source is requested, or `nil` for the font-level setting.

## Discussion

A master-level setting is preferred over a font-level setting. If no hint source is configured, the first local master is used.

