Re: Best text rendering settings?

2011-02-04 Thread Gideon King
Thanks David. My users are used to very crisp fonts from previous releases of my software, so some of them are asking why the new version is not quite as good as the previous one. I'm pretty much taking your reply to mean that I'm doing the best I can with the technology I'm using. I'm surpris

Re: Best text rendering settings?

2011-02-04 Thread David Duncan
On Feb 4, 2011, at 9:42 AM, Gideon King wrote: > Sometimes the layer is transparent, and sometimes it will have a color drawn > behind where the text is (not a background color for the layer though). The > superlayer is transparent, but behind that is an opaque view. The layers behind won't mat

Re: Best text rendering settings?

2011-02-04 Thread Gideon King
Sometimes the layer is transparent, and sometimes it will have a color drawn behind where the text is (not a background color for the layer though). The superlayer is transparent, but behind that is an opaque view. Even where there is an opaque fill drawn behind the text on the layer, it's stil

Re: Best text rendering settings?

2011-02-04 Thread David Duncan
On Feb 4, 2011, at 5:15 AM, Gideon King wrote: > The output never looks as good as plain old text in a text view. Do you draw a background for your text? If you are drawing over transparency then sub-pixel antialiasing doesn't work and when you do the final composite you see text that doesn't

Best text rendering settings?

2011-02-04 Thread Gideon King
Hi, I have a layer I want to draw some text on (10.6 target). To actually draw the text, I am creating the NSGraphicsContext using the graphics port, and using drawBackgroundForGlyphRange... and drawGlyphsForGlyphRange... to draw the text. The output never looks as good as plain old text in a t