Font to Texture for OpenGL/DirectX

Instructions: Make a screenshot, crop inside the pink border and use it as alpha mask in Photoshop/Gimp. Feel free to download and modify this page.

const unsigned char charWidthMap[] = {