Scaling Fonts;
Scaling Fonts;
- Subject: Scaling Fonts;
- From: Matt Budd (Madentec) <email@hidden>
- Date: Fri, 1 Apr 2005 10:43:55 -0700
Hello,
Is there a way to determine the largest font size for a given font that
will fit in a rect?
I know that NSAttributedString has a - (NSSize)size method, and I could
iteratively increase the font size until I hit one that was too large
and then use the last size, but is there a better/quicker way?
- Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden