What is the correct way of drawing an anti-aliased font on a surface so that it doesn't produce alpha-artifacts around the edges of the font? Here is a simple code snippet. It draws white text on a white surface. The font used has anti-aliasing enabled. Code: surface_set_target(surf); draw_clear_alpha(c_black,0); draw_set_color(c_white); draw_rectangle(0,0,150,150,false); draw_set_font(font_test); draw_text(5,5,"TEST TEST TEST"); surface_reset_target(); draw_surface(surf,100,100); The result is shown in the attachment to this post. As you can see the black room background shines through the white surface because the edges of the anti-aliased font have left artifacts in the alpha channel. I've been struggling with this problem for months now and haven't come up with a correct solution. It seems like this is something that should work out of the box.