font pointer
In C, can I get a pointer to a font that GLUT will accept? I would like the text to be fairly large on the screen, but not pixelated, so I would prefer a stroke font over a bitmap.
What do you mean by pointer? Is it a specified type (*GLFONT)?
And what do you mean by a stroke font? Do you mean to retrieve a true-type font?
A little more detail may be needed...
And what do you mean by a stroke font? Do you mean to retrieve a true-type font?
A little more detail may be needed...
I would like to take one of the font faces that I can use in msword, notepad, whatever, and put it to the screen using this. For that, I need some sort of pointer.
Read the page you linked to ...
From GLUT.h:
Quote:font - one of the pre defined fonts in GLUT, see above.
From GLUT.h:
Quote:/* Stroke font constants (use these in GLUT program). */
#define GLUT_STROKE_ROMAN (&glutStrokeRoman)
#define GLUT_STROKE_MONO_ROMAN (&glutStrokeMonoRoman)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement