View Full Version : File reading and printing in openGL

03-12-2011, 09:10 PM

I am making a GUI in visual c++ and using OpenGL for drawing. I want to read a string from text file and print it on openGL screen.I need to read the string to be printed from file, as well as its x & y co-ordinates also from file. Can anyone suggest how to go about?


03-13-2011, 03:44 AM
Try to google wglusefontoutlines and wglusefontbitmaps.

This allows you to create fonts and to print them easily on your opengl window.