Declaration

func generateGlyphs(_ glyphNames: [String], completion callback: (@Sendable ([GSGlyph]) -> Void)? = nil)
func generateGlyphs(_ glyphNames: [String]) async -> [GSGlyph]

Declaration

- (void) generateGlyphs:(NSArray<NSString *> *) glyphNames callback:(void (^)(NSArray<GSGlyph *> *glyphs)) callback;

Declaration

generateGlyphs_callback_(glyphNames: list[str], glyphs: list[GSGlyph], callback)

Parameters

glyphNames

Glyph names and Unicode ranges to generate.

callback

Called with the added glyphs after generation succeeds.

Discussion

A range has the form start:end, where both endpoints identify encoded glyphs. Conflicting names or Unicode values require user confirmation before the glyphs are added.

See Also

Adding and Removing Glyphs