I am trying to include some text to label my 3D structure and I want the text to rotate and scale along with it. NeHe has a tutorial on this which is very helpful and the source code is available using GLX or Glut. I can get the GLX version to compile and run fine but the Glut version always gives me the following error:

X Error of failed request: BadFont
Major opcode of failes request: 143 (GLX)
Minor opcode of failes request: 12 X_GLXUserXFont
Resource id in failed request: 35
Current serial number in output stream: 41

Program exited with code 01.

Please help! I have tried everything I can think of. I have changed the font in the Glut version to the same one the GLX version (because I know this works).