Is there any way to change the size of fonts dynamically?
Try to be a little bit more specific and surely someone will try to help u ?
What kind of font are u talking about ?
Vector fonts ? Bitmap fonts ? System fonts ? Notepad fonts ??
Just do the right question and u’ll get the answer.
rIO.sK
Actually I do not know whether we can use system fonts or Notepad fonts in OpenGL drawing. What I want to do is to write some labels in my drawing. I need to control the size of the label fonts in cases when I need to zoom in or zoom out. I don’t want the fonts looks ugly because they are too big or too small compare to other objects. Anyone has any good idea? Thanks a lot!
Sorry, rIO. I forgot to tell you that currently I am using bitmap fonts.
Check out, http://nehe.gamedev.net/. There are some tutorials that can get you started displaying text with OpenGL…