Re: NSAttributedString + NSLayoutManager versus Core Text


Gary L. Wade
 

I haven’t done this with CoreText personally, but you need to traverse the runs yourself to know where the characters are rather than rely on callbacks.  What code do you use for the CoreText solution?

On Nov 22, 2019, at 5:28 PM, Graham Cox <graham@...> wrote:

Still, if anyone’s in the mood to offer a Core Text solution to this overall problem, I’d be happy to hear it.


Join cocoa@apple-dev.groups.io to automatically receive all group messages.