Sign in to follow this  
raptorstrike

Problem with spaces in fonts

Recommended Posts

Is there something special you need to do to get bitmap fonts to use spaces? I truncates all the spaces for me and its getting really annoying thanks for any help [grin] O btw here is my little text function that I use void Text(char* Text, int X, int Y) { glRasterPos2i(X,Y); glPushAttrib(GL_LIST_BIT); glListBase(base - 32); glCallLists((int)strlen(Text), GL_UNSIGNED_BYTE, Text); glPopAttrib(); }; It looks like it should work but maybe im setting one of the text flags wrong in creation...

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