> > > Assuming Linux and Mac will still use BDF, though? > > > > Yep, unless someone adds the equivalent OSD code to do what I do on Windows (which > is > > basically demand-draw each character in an offscreen bitmap at high resolution and > > hand it back to the rendering engine). > > SDL_ttf really wants to draw the characters in 32-bit RGBA with alpha-channel > anti-aliasing. The core disappoints it greatly ;-)
Actually, that's how the final bitmaps should end up (well, all pixels should be RGB(0xff,0xff,0xff) with the alpha channel set for antialiasing. On Windows I just draw them really big (200px) into a B&W bitmap without antialiasing and let the core downscale them, but you could draw them smaller and provide the antialiasing yourself.
|