Re: Font Smoothing In A Bitmap
Re: Font Smoothing In A Bitmap
- Subject: Re: Font Smoothing In A Bitmap
- From: John Randolph <email@hidden>
- Date: Mon, 26 Apr 2004 18:01:54 -0700
On Apr 19, 2004, at 6:02 AM, Marcel Weiher wrote:
Unfortunately, this only takes a boolean (not the 4 levels the user
can specify in the Appearance panel) and while setting it has *some*
effect on the text that is rendered, it's only a pale approximation
of what is seen on the screen (I'll accept an argument that all that
is needed is a boolean because the end-user gets to choose the
*amount* of smoothing but the call doesn't duplicate what's on the
screen either way).
So, has anyone else run up against this? What was your solution?
I haven't seen an answer to this, so I'll venture my guess: font
smoothing has special modes that use LCD sub-pixel rendering. These
can only work when you are actually going to the screen. Take a
screen grab of some text from an LCD screen with special LCD-only
smoothing turned on. Then magnify that grab. You will notice that
the pixels are colored.
Marcel's guess is spot-on. For the situation you're describing, I
would try simply re-drawing the string to do the animation, and resort
to GL if it's taking too much CPU time.
-jcr
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.