title: Print text with glut and python
body: <p>I've written this function for printing some text with python and python opengl</p>
  
  <pre><code>def glut_print( x,  y,  font,  text, r,  g , b , a):
  
      blending = False 
      if glIsEnabled(GL_BLEND) :
          blending = True
  
      #glEnable(GL_BLEND)
      glColor3f(1,1,1)
      glRasterPos2f(x,y)
      for ch in text :
          glutBitmapCharacter( font , ctypes.c_int( ord(ch) ) )
  
  
      if not blending :
          glDisable(GL_BLEND) 
  </code></pre>
  
  <p>And the rendering function:</p>
  
  <pre><code>def Draw():
      glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT )
  
      glut_print( 10 , 10 , GLUT_BITMAP_9_BY_15 , "Hallo World" , 1.0 , 1.0 , 1.0 , 1.0 )
      # draw my scene ......
      glutSwapBuffers()
  </code></pre>
  
  <p>As a result nothing is written, I'm viewing my geometric and 3D objects; but not the text!
  Where's the problem?</p>