[SDL] text output using OpenGL and SDL?

Ryan C. Gordon icculus at icculus.org
Mon Oct 16 12:19:41 PDT 2006


>> Anybody have any hints / pointers on where to start?

If you want to get really fancy, don't use a texture at all...TrueType 
fonts can be broken down into a collection of polygons, so you can draw 
at any size and still look sharp (whereas they'll blur if you build them 
as textures and scale them).

  An example of doing this:
    http://homepages.paradise.net.nz/henryj/code/#FTGL

--ryan.





More information about the SDL mailing list