PDA

View Full Version : degree char using GLUT



fwest
01-17-2005, 06:38 AM
Hello,

I used to get a degree character with \xb0,
but no longer (I upgraded...). Does anyone know how to get a degree character with glutBitmapCharacter()?

Thanks!

dvm
01-17-2005, 07:19 AM
Have you tried printing the char on your source with Alt+0176? Maybe including that in single quotes could do the job. Or try giving the char in decimal.

fwest
01-17-2005, 09:07 AM
I tried a couple of things, and it turns out that
the glut-lib I use only shows the 7-bit ascii
series. Does someone know a (dirty) trick to make
a degree-sign? (I have a deadline)