I need to display TrueType fonts in OpenGL, in a C program. This needs to work on fairly old hardware, so something using the old fixed function pipeline rather than making heavy use of shaders would be good. Can someone suggest a good alternative to FTGL?
Reasons FTGL doesn't quite work for me:
The C API leaves out an important feature of the C++ API: the ability to get a bounding box for a "partial string" from a layout (it should take a char pointer and a length argument, rather than just taking a char pointer and reading to the first null character).
I need this feature so I can determine where pointer events fall within a string, because I need to implement caret insertion and text selection capability.
The font rendering doesn't look as nice as more modern techniques, like the technique discussed at http://contourtextures.wikidot.com/.
I can live without this rendering technique, but it would be nice to have.