How do I resize the text in my program? I have tried changing the values in the function as well as calling GlScalef before rendering but neither work.
outputString ( float x, float y, char *string )
length = strlen ( string );
glRasterPos2f ( x, y );
for (int i = 0; i < length; i++ )
glutBitmapCharacter (GLUT_BITMAP_9_BY_15, string[i] );
These bitmap characters will not scale with scale commands because they are drawn as pixel blits.
You could try a stroke font or use a texture font in another library.
have a read at this:
The glut Bitmap fonts are set size and can not be changed other then by changing the font used.
You have to following options for size with glut:
Where then number at the end is Font size