I want to render transformable text using the code mentioned below. I am using GLC_TRIANGLE render style.

Here is my code:

int ctx = glcGenContext();

glTranslatef (20, 15, 0.f);
glScalef (20, 20, 0.0);
glRotatef (0.0, 0.0, 0.0, 1.0);
glColor3f (1.0f, 0.0f, 0.0f);

GLint m_font1 = glcGenFontID ();
glcNewFontFromFamily (m_font1, "Arial");
glcFontFace (m_font1, "Normal");
glcRenderString("Hello World");

The problem is: while executing it draws the first character alone. sometimes it draws all the characters except first one.

Can you tell me where is the problem?