Returns a direct pointer for the string indices stored in the run.
- iOS 3.2+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Text
The run for which to return string indices.
A valid pointer to an array of
CFIndex structures, or
The indices are the character indices that originally spawned the glyphs that make up the run. They can be used to map the glyphs in the run back to the characters in the backing store. The string indices array will have a length equal to the value returned by
CTRun. The caller should be prepared for this function to return
NULL even if there are glyphs in the stream. If this function returns
NULL, the caller must allocate its own buffer and call
CTRun to fetch the indices.