Re: Fonts -- Anti-Aliasing
I'm having the same problems :( Reported it back in Beta 2 (or something) but it really makes the fonts look horrible.
Example
http://www.rhysd.com/iphone/comparison.png
Black fonts look okay, it's just white or a lighter colour that looks messed up with the anti-aliasing.
Re: Fonts -- Anti-Aliasing
Yes thats exactly the problem I am having
Re: Fonts -- Anti-Aliasing
It's a very difficult problem to fix for me without performance penalties. I have a possible fix for this, but it *could* make text not look as if it was using MMF2's own text routines.
The problem happens because the font rendering techniques attempts to do antialiasing on a completely transparent background so that it can look good on any background. I cache the text in a buffer so that it doesn't have to be rendered from the bottom every time (increases speed). The problem is that when the font gets too small it relies more on the background color to make the text appear correct. And since the background in the buffer is transparent it will not make the right decisions.
Re: Fonts -- Anti-Aliasing
I have faith you in Andos :)
If you have some performance issues perhaps its something you could turn on and off?
On my stats screen I need the text to be readable -- but there isn't anything else going on --- so performance on that page wouldn't be effected.
I will play around on my game screens where I have some text and see if I can move the elements to a place with a solid background -- Just so it looks better if you can't fix it or performance suffers.
Re: Fonts -- Anti-Aliasing
I'll see if it is feasible to alter the font hinting a bit on small font sizes :) That might do the trick.
Re: Fonts -- Anti-Aliasing
so do the strings etc get scaled from 3gs to 4 like the graphics?
Re: Fonts -- Anti-Aliasing
I fixed this in a quite simple way now. The bad antialiasing was because of the buffer I draw the text into. It is now much prettier for any color. :) Will be in beta 11.
Re: Fonts -- Anti-Aliasing
Awesome Andos!
I can't wait to check it out!
Re: Fonts -- Anti-Aliasing
Re: Fonts -- Anti-Aliasing
Yay excellent News, well done Andos.. :)