CPW & drawing text using TTF

I’m drawing some text strings using th CPW TTF functions, but every letter gets a black background behind it.

How do I get rid of the background and write letters with transparent background?

Take a look at the text examples, specifically windowstyles.c. You have to use blending
with fonts since they are anti aliased if your drawing them with RGBA or similar drawing
styles in cpwFontMode.

Overall, fonts are drawn to the screen using glDrawPixels… so I’d suggest reading
the GL docs on this call to get a feel for how the fonts can be written to the screen.

Regards,
Jim

Thanks,
I’ll try it.

Oren Shapir.