Sign in to follow this  
josh_w314

font pointer

Recommended Posts

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...

Share this post


Link to post
Share on other sites
Read the page you linked to ...
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)

Share this post


Link to post
Share on other sites
I'm not trying to be a pain here, but what I originally was asking was if there was a way to use a font face OTHER THAN the predefined ones, by getting a pointer to an external font file and passing it for the *font argument.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this