Re: NSFont squashes my first two characters
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