Resizing text issue

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 )
{
int length;
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:
http://www.opengl.org/resources/features/fontsurvey/

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:

GLUT_BITMAP_8_BY_13
GLUT_BITMAP_9_BY_15
GLUT_BITMAP_TIMES_ROMAN_10
GLUT_BITMAP_TIMES_ROMAN_24
GLUT_BITMAP_HELVETICA_10
GLUT_BITMAP_HELVETICA_12
GLUT_BITMAP_HELVETICA_18

Where then number at the end is Font size