• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Choosing a correct font size when resizing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Choosing a correct font size when resizing


  • Subject: Choosing a correct font size when resizing
  • From: Alexander Cohen <email@hidden>
  • Date: Tue, 26 Oct 2010 10:29:53 -0400

Hi,

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 could just create an image and resize that and display it in a ImageView but this seems to me like a waste of resources especially when ported to iOS.

Any help appreciated,

thx
AC_______________________________________________

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

  • Follow-Ups:
    • Re: Choosing a correct font size when resizing
      • From: Jason Swain <email@hidden>
    • Re: Choosing a correct font size when resizing
      • From: Ross Carter <email@hidden>
  • Prev by Date: Re: What causes NSFileManager's stringWithFileSystemRepresentation to return nil?
  • Next by Date: Re: Choosing a correct font size when resizing
  • Previous by thread: Re: What causes NSFileManager's stringWithFileSystemRepresentation to return nil?
  • Next by thread: Re: Choosing a correct font size when resizing
  • Index(es):
    • Date
    • Thread