Alex Marchant
Alex Marchant

Reputation: 2510

Poor font rendering (Cocoa - Mac)

I've noticed a strange and very noticeable difference in font rendering in my xib and my final program, I've attached screenshots below:

See here for zoomed out image

See here for zoomed in

What is going on here and how can I make my app font look like it does in XCode? (Does it have something to do with subpixel rendering???).

Upvotes: 1

Views: 705

Answers (1)

sosborn
sosborn

Reputation: 14694

I stole this answer from here:

If you have no background (including clear) and your text is a subview of any layer-backed superview (you've turned on "wants layer" in code or in IB to allow animations/transitions), you'll get blurry text. You have to choose either no layer backed view or a label with a solid background color.

Upvotes: 3

Related Questions