Re: FreeType

Andras Balogh <[email protected]> Mon, 2 Jan 2006 22:15:35 -0700
Newsgroups gmane.games.devel.general
Message-ID <[email protected]>
Sunday, January 1, 2006, 10:58:59 PM, you wrote:

>> I'm not sure exactly where your problem is. Do the generated glyphs
>> look bad themselves? Or do they look bad only when rendered on
>> screen?

> They look bad, period.  This is a 128x256 texture of Courier New
> rendered with anti-aliasing.

> http://bookofhook.com/shittyfonts.png

I believe the problem you are seeing is that the fonts are small _and_
antialiased. If you look at how Windows renders small fonts, you will
notice that it either uses ClearType, which is basically subpixel
rendering, or, if ClearType is disabled, then it renders without
antialiasing. The problem is, that antialiasing works great for thick
fonts, because it smoothes the edges, but for very small fonts, it
will only make the curves appear more or less translucent. ClearType
on the other hand does not have this problem, because it can make
lines thinner without making them translucent.

So, if subpixel font rendering is not an option, then I would
recommend turning off antialiasing for small fonts.



Andras



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Gamedevlists-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=557