Contents

substituteGlyphs(in:withGlyphs:)

Replaces the specified glyphs with specified replacement glyphs.

Declaration

func substituteGlyphs(in glyphRange: NSRange, withGlyphs glyphs: UnsafeMutablePointer<NSGlyph>!)

Parameters

  • glyphRange:

    The range of glyphs to be substituted.

  • glyphs:

    The glyphs to substitute for the glyphs in glyphRange.

Discussion

This method does not alter the glyph-to-character mapping or invalidate layout information.

A subclass can override this method to interact with custom glyph storage.

See Also

Deprecated