Re: [PyOpenGL-Users] any font fns on the horizon? (in Linux)
Brought to you by:
mcfletch
From: <mi...@na...> - 2003-09-21 01:08:00
|
I wrote a relatively simple but effective "GLText" module for pybzengine. It's texture based, generally produces nicely hinted output, and has some Unicode support. No documentation, but there is LGPL'ed source at http://navi.picogui.org/svn/misc/trunk/pybzengine/BZEngine/UI/GLText.py --Micah On Sat, Sep 20, 2003 at 03:41:08PM -0400, Maciej Kalisiak wrote: > 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 > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users |