If you are using OpenGL with SDL_ttf, check out the OpenGL/SDL_ttf demo that is part of the beta. That will show you how to use it with OpenGL.

The latest beta and demos can be found at http://jedi-sdl.pascalgamedevelopment.com