Re: NSBezierPath to NSImage with subpixel rendering
Re: NSBezierPath to NSImage with subpixel rendering
- Subject: Re: NSBezierPath to NSImage with subpixel rendering
- From: Ricky Sharp <email@hidden>
- Date: Wed, 9 Jan 2008 19:27:51 -0600
On Jan 9, 2008, at 5:23 PM, Ken Ferry wrote:
However, there are still long-standing bugs in the LCD antialiasing
mode
which cause light text on dark backgrounds to become extremely
"bold;"
they look radically different from CRT antialiasing mode. (In terms
of
font weight, Windows looks much more like Apple's CRT mode, with or
without ClearType.) You can see this most easily on web sites which
use
dark backgrounds, such as www.blizzard.com. The radar's been filed
for a
few OS generations now… I guess it wasn't considered a major problem.
Not fixed != not considered to be a problem.
We did attempt to address this in some restricted cases for Leopard.
The LCD text rendering algorithm still produces less than ideal output
when rendering text onto a dark background, but when AppKit has enough
information to (reasonably cheaply) know that that's what's happening,
it uses some private tweaks to advise CG to use a slightly different
algorithm.
In particular, when text is drawn via a cell, and the cell's
interiorBackgroundStyle is NSBackgroundStyleDark, the LCD rendered
text will not look quite so bold.
Thanks for pointing those APIs out. While my custom UI framework is
currently baselined to 10.4, I will definitely add these APIs on my to-
do list when I next re-baseline.
I have quite a bit of custom cells that will render text onto
different colored backgrounds. To me, the current text looks great,
but it will be interesting to check out any visual differences with
those hints in place.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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