Re: Why does my font come out looking fuzzy?
Re: Why does my font come out looking fuzzy?
- Subject: Re: Why does my font come out looking fuzzy?
- From: Greg Guerin <email@hidden>
- Date: Sun, 18 Oct 2009 12:06:34 -0700
Ben Haller wrote:
I'm using an NSTextField to do the text drawing. It certainly
renders text antialiased. In any case, the renderings do look
antialiased; the edges are not sharply on pixel boundaries (see the
top of the 5, for example). It just isn't the same appearance as in
Instruments.
It's not the same anti-aliasing, either. The first one (Instruments)
clearly has no sub-pixel anti-aliasing, while the other two
definitely do. You may not have realized the significance of this,
but I consider this strong evidence that Instruments is not rendering
it as simple text. I think it's very likely to be rendering off-
screen to fixed-size image-buffers, or using layers.
You can quickly approximate the appearance of no sub-pixel anti-
aliasing by turning off LCD smoothing in the Appearance prefs pane,
then quitting and relaunching your app.
You may also want to use the 'strings' command on the files in
Instruments, to see if you can find the font-name anywhere. That
would be evidence it's using the font, rather than sets of static
images.
-- GG
_______________________________________________
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