[PyOpenGL-Users] true type fonts
Brought to you by:
mcfletch
From: Champ H. <cha...@be...> - 2003-05-23 14:54:37
|
Hello, I'm looking for a way to display "nice" font text on my OpenGL scene (a simple 2D function plot). So far I used the "glutBitmapCharacter()" function but I'm not satisfied with it for I at least need greek letters. I know the existence of GLTT (http://gltt.sourceforge.net/index.html) and OGLFT (http://oglft.sourceforge.net) and I would like to wrap them (if possible) using swig. Unfortunately, my comprehension of swig is too low for that task : I do not how to cope with nested class in GLTT (class FTGlyphVectorizer) and OGLFT start with a namespace definition, both c++ features that are difficult to handle with swig. So my questions are : - is it possible to wrap these libraries ? - did someone managed to wrap these or equivalent libraries ? - is there another solution to my problem ? Thanks, Bernard |