I am using this api glutStrokeCharacter and also successful in getting the text rendered in that font.
When i create a pthread and if the thread function is called, glutStrokeCharacter prints "freeglut: stroke font not found"
The thread function is in a static library. if i comment the thread function, glutStrokeCharacter works perfect if i uncomment the thread function, glutStrokeCharacter fails.
I think it should be something related to linking. i am using -lGL - lGLU -lGLUT -lmyLib
myLib has some thread functions that i call from my GL application. i use pthreads.
Kindly help.