View Full Version : Font Size

Rong Yao
07-05-2001, 02:03 PM
Is there any way to change the size of fonts dynamically?

07-06-2001, 07:22 AM
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.


Rong Yao
07-06-2001, 08:09 AM
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!

Rong Yao
07-06-2001, 08:16 AM
Sorry, rIO. I forgot to tell you that currently I am using bitmap fonts.

07-06-2001, 11:24 AM
Check out, http://nehe.gamedev.net/. There are some tutorials that can get you started displaying text with OpenGL...