I am rendering text with the help of this tutorial
It is quite amazing and very easy to use. But every time, the font name must be specified. Which is difficult to do (to pass the font file name from GUI). Apart from this, when user zooms the OpenGL window using mouse scroll or using rubber band tool, then the text becomes small or big(depend on whether user zooms in or out). What can I do to rescale and maintain the constant size of the text whenever opengl window is zoomed?