Advertisement

Creating bitmap fonts with SDL

Started by March 17, 2002 10:58 AM
0 comments, last by BauerGL 22 years, 11 months ago
Hi, I want to make bitmap fonts using SDL. And all the tutorials about bitmap fonts have been in "pure" Win32 code using HDCs and HWNDs, which don''t come with SDL. So my question is how to print 2D text using either SDL or OpenGL. I''m having OpenGL for graphics, and SDL for window management. Thanks! CUselessStuff::NiftyQuote();

@mikaelbauer

Super Sportmatchen - A retro multiplayer competitive sports game project!

SDL does not provide font management.

Though, there is a portable way of doing simple font bitmaps : using a big picture as a texture.
The texture has to be diveded in little squares, where each square represents one character.

NeHe uses this technique too.

This topic is closed to new replies.

Advertisement