• 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: NSFont squashes my first two characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFont squashes my first two characters


  • Subject: Re: NSFont squashes my first two characters
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 10 Oct 2011 10:00:33 -0700

On Oct 9, 2011, at 3:19 AM, Oron Cherry wrote:

> "Geneva" font gives the problem shown in the above image. Other fonts such as "Helvetica" are fine.

That’s sort of odd (that string in Geneva 10 displays correctly in TextEdit.) Are you drawing directly to a view or into an image?

My advice would be “don’t use Geneva”, which has been solid advice since 1991. Geneva was created as a bitmap font on the earliest version of Mac OS back in 1984, and had some truly screwy nonlinear metrics. A TrueType version was added in 1991 as an extrapolation from the original bitmaps, but it was kind of a hack. It’s only kept around for backward compatibility with old Carbon apps. For any real purpose you should use Helvetica instead.

—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

References: 
 >NSFont squashes my first two characters (From: Oron Cherry <email@hidden>)

  • Prev by Date: Re: NSTreeController with bindings and core data - still an issue?
  • Next by Date: Re: Give a menu keyboard focus – in code
  • Previous by thread: NSFont squashes my first two characters
  • Next by thread: Xcode 3 to 4 - CoreData in IB
  • Index(es):
    • Date
    • Thread