def glGetStringSize(s):
 width = 0
 for c in s:
  width += glutBitmapWidth(OpenGL.GLUT.GLUT_BITMAP_HELVETICA_18, ord(c))
 height = 18
 return (width, height)

def glGetStringSize ( s ) : width = 0 for c in s : width += glutBitmapWidth ( OpenGL . GLUT . GLUT_BITMAP_HELVETICA_18 , ord ( c ) ) height = 18 return ( width , height )
get size in pixels of string .