• 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
Re: Font problem: iOS5 NSString's sizeWithFont returns integral values unlike drawAtPoint
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Font problem: iOS5 NSString's sizeWithFont returns integral values unlike drawAtPoint


  • Subject: Re: Font problem: iOS5 NSString's sizeWithFont returns integral values unlike drawAtPoint
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 22 Oct 2011 13:21:47 -0700

On Oct 21, 2011, at 10:47 AM, David Duncan wrote:

> Are you seeing this on iOS 5.0 only or on previous versions of iOS? There were some text changes that (for a time) leaked out non-integral values, but we thought we caught them

Huh? But text advances _are_ non-integral values. You can’t do proper line layout if your metrics all get rounded to the nearest integer.

—Jens

_______________________________________________

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: Font problem: iOS5 NSString's sizeWithFont returns integral values unlike drawAtPoint
      • From: David Duncan <email@hidden>
References: 
 >Font problem: iOS5 NSString's sizeWithFont returns integral values unlike drawAtPoint (From: David Hoerl <email@hidden>)
 >Re: Font problem: iOS5 NSString's sizeWithFont returns integral values unlike drawAtPoint (From: David Duncan <email@hidden>)

  • Prev by Date: Re: core data store type and icloud
  • Next by Date: Re: Core Data: Determine if managed object is deleted
  • Previous by thread: Re: Font problem: iOS5 NSString's sizeWithFont returns integral values unlike drawAtPoint
  • Next by thread: Re: Font problem: iOS5 NSString's sizeWithFont returns integral values unlike drawAtPoint
  • Index(es):
    • Date
    • Thread