I know that text along a path was done by someone in the past. Basically the strategy was:

- let the text system lay out the text on a straight baseline (one long line)
        - do the glyph drawing on your own along your path

Of course, spacing needs to be tightened/loosened depending on the curvature at the display point, for best results.

But at least you let the NSLayoutManager do the heavy lifting of getting the basic layout right.

This approach would also be more complicated if you needed to provide editing in-place of the text along the path.

As Doug says, vertical text is a bigger problem if you mean it in the sense of scripts that are traditionally written top to bottom.

Mike Ferris

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to