gltext
gltext copied to clipboard
Library to render text using modern OpenGL techniques
``` ➜ branan-gltext g++ test.cpp -o test -lGL -lglut -lGLU -lgltext `pkg-config --cflags freetype2` `pkg-config --libs freetype2` ➜ branan-gltext ./test terminate called after throwing an instance of 'gltext::FtException' what(): Freetype...
Optional exception-free error handling system for platforms without exception support
If OpenGL Context dies and you need to reload everything the FontSystem singleton prevents reinitializing gltext. The FontSystem() constructor essentially needs to be called again when OpenGL context dies.
It appears there is absolutely no way to clean up a font. The way you load fonts prevents us from using 'new' and you don't provide a destroy() method. For...