Declaration

func glyphNames(forWildcard query: String, contextLabel: String) throws -> [String]

Declaration

- (NSArray<NSString *> *) glyphNamesForWildcard:(NSString *) query contextLabel:(NSString *) contextLabel error:(NSError **) error;

Declaration

glyphNamesForWildcard_contextLabel_error_(query: str, contextLabel: str) -> tuple[list[str], NSError]

Parameters

query

The name query to evaluate.

contextLabel

A description of the query’s source for use in errors.

Parameters

query

The name query to evaluate.

contextLabel

A description of the query’s source for use in errors.

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.

Discussion

A query can be a literal glyph name, a name pattern containing *, a glyph property comparison such as script=arabic, a predicate token enclosed in braces, or a glyph class name prefixed with @.

See Also

Glyph Name Queries