Kaztext is a simple library for displaying text in OpenGL. It supports loading TTF fonts, caching strings for speed and unicode. It is written in C++ (with C linkage) and is released under a modified BSD license.
Usage
KTuint my_font;
ktGenFonts(1, &my_font);
ktBindFont(my_font);
ktLoadFont("ubuntu.ttf", 14);
ktCacheString(L"This will cache the letters used in the string");
//in the main rendering code
ktDrawText(10, 10, L"This is a string");
ktDrawTextCentred(10, 30, L"This is a centred string");
//When done
ktDeleteFonts(1, &my_font);
That's it, that's the entire API!
The code will be hosted on Launchpad.