On Sep 1, 2012, at 8:22 PM, Koen van der Drift <koenvanderdr...@gmail.com> 
wrote:

> Not yet there, but as a follow up question, how do I get the width of a 
> monospaced font? I need this to calculate the rect that a textcontainer needs 
> for x amount of fonts.

Why don't you just perform layout and ask the layout manager for the text it 
used?

--Kyle Sluder
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to