PDA

View Full Version : Font Size & Type



04-04-2001, 11:32 AM
What/ where do I insert function to change the bitmap text size and type?

mango
04-05-2001, 06:02 PM
Depends on what you are using OS, GLUT, ...
The NeHe tutorials on fonts is ported to a lot of platforms so check out the tutorial and code.

04-08-2001, 04:14 PM
Thanks, I forgot about all the differenct sytems on which OpenGL is available. I'm using Windows 98 Borland C++ 5.02 with GLUT. Where are the NeHe tutorials?

mango
04-09-2001, 06:15 PM
NeHe tutorials http://nehe.gamedev.net/opengl.asp ( lesson 13 is about bitmap fonts)
bitmap fonts with GLUT http://www.fatech.com/tech/opengl/glut/index.php3?bmpfont
GLUT man pages online http://sites.netscape.net/ptrpck/glutman/index.htm

Perhaps is it also best to check that your OpenGL headers and libraries are up to date. You should have OpenGL version 1.1 and glu 1.2 but I think some older Borland compilers has older versions. It is not very hard to update them. Here is a page with instructions http://www.gnt.net/~heiman/

Good luck!