Best library for doing text in OpenGL
5 replies to this topic
Members - Reputation: 1744
Posted 16 August 2011 - 02:15 PM
Pango/Cairo. Drop it on a texture. Draw it to your screen. Cross platform. Renders everything from plain text up to simple HTML markup. Handles i18n. Everyone always ignores this recommendation without trying it I don't know why.
Members - Reputation: 651
Posted 17 August 2011 - 09:41 AM
In that case, youre going to have trouble finding any libraries. I had this problem a few months ago, and if I remember, I only even found one library that supported 3.0+ (3/4 should be compatable) Im trying to find that one, but Im not having much luck. Your best bet is to just write something yourself, its only like 300 lines of code for a complete text class