That brings up a good question.
It's been a while since I poked around in our code that uses FreeType,
but as I recall, we render to grayscale bitmaps and use the gray levels
as an alpha value to combine the requested color with the existing
image. I've never been 100% happy with the way it
It looks to me like the text was rendered at the smaller size and then
later zoomed up using a nearest-neighbor algorithm. I would look at the
rescaling of the bitmap.
Buu Hao Tran wrote:
Hi,
I use FreeType in my application (Windows XP). It seems to work well
at begining, but after few
I find the best way is to treat the 0-255 as an alpha value (opacity
actually) with 0 being transparent, 255 being opaque. You can then
blend your pink or whatever color into your background using this alpha
value (do a Google search on alpha blending if you don't already have
code examples
#define generic GENERIC
#include whatever.h
#undef GENERIC
I have to do this all the time with Microsoft's include files too because
they
tend to define stuff that conflicts with other Open Source projects.
- Original Message -
From: Philip Deets [EMAIL PROTECTED]
To: