Re: High-quality offscreen rendering of text?
Re: High-quality offscreen rendering of text?
- Subject: Re: High-quality offscreen rendering of text?
- From: Jens Alfke <email@hidden>
- Date: Sun, 06 Oct 2013 16:32:42 -0700
On Oct 6, 2013, at 1:37 PM, Jiang Jiang <email@hidden> wrote:
> Could it be that you are missing a call to:
> CGContextSetShouldSmoothFonts(context, YES);
> If it still doesn't work, try putting
> CGContextSetAllowsFontSmoothing(context, YES);
Thanks for the suggestion. But these calls don’t appear to make any difference, at least not on my internal retina display (haven’t tried with an external monitor yet.)
BTW, even on the retina display, ordinary text is drawn with ClearType (I can tell by some of the pixels: when zooming in I see red/blue fringes.) The font samples in my app aren’t. Fortunately the difference is very subtle on this display; but on a normal-resolution display the un-ClearType-d text looks crappy.
—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