Hello all,

I'm trying to measure lots of small text rects which vary in length so I'm reusing a single NSTextview to save memory and calling glyphRangeForTextContainer + usedRectForTextContainer to get the used Rect. Even though it works I find it a little slow because I'm measuring a lot of text rects. Has anyone come up with a very fast way to estimate the size of some text, more importantly the vertical size given a width.

Thanks a lot,

Alejandro Rodríguez_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to