[PyOpenGL-Users] any font fns on the horizon? (in Linux)
Brought to you by:
mcfletch
From: Maciej K. <ma...@cs...> - 2003-09-20 19:41:08
|
Is there any work being done on getting some font functionality into PyOpenGL? I'm mostly interested in fonts for just plain OpenGL (i.e., not GLUT, not GLContext... don't want to port my code, if I can help it). If so, what type will they be? Lines? Polygonal? Texture-based? For the time being, until something official (and solid) comes out in PyOpenGL, I've hacked myself a SWIG wrapper for a set of C functions that do texture fonts, the ones described here: http://www.opengl.org/developers/code/mjktips/TexFont/TexFont.html If anyone is interested, I can make it available. Drop me a line and I'll try to clean it up before putting it up online. Be warned though, it is just a quick SWIG wrap (and I just "learned" SWIG), *and* even the original is not the cleanest, most robust C code either. A bit of tweaking will likely be necessary. -- "Everything should be made as simple as possible, but no simpler." -- Albert Einstein |