Re: Choosing a correct font size when resizing
Re: Choosing a correct font size when resizing
- Subject: Re: Choosing a correct font size when resizing
- From: Alexander Cohen <email@hidden>
- Date: Tue, 26 Oct 2010 11:12:50 -0400
Thats an interesting take, let me try that.
thx
AC
On Oct 26, 2010, at 11:07 AM, Ross Carter wrote:
> On Oct 26, 2010, at 10:29 AM, Alexander Cohen wrote:
>
>> I have a specific layout that has known font sizes for certain page dimensions. I need to take that layout and resize it to fit it in multiple different places in my app. I can't just apply that resize ratio to the fonts, it just does not work. Is there a known way in cocoa to figure out the correct ratio for a font when resizing it so it fits within the rest of my layout and gives me same look but resized.
>
> I'm not sure I understand the question, but you might trying scaling, with either NSAffineTransform or adjusting the view bounds.
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden