Anyone knoiw how to change the font size of glf.glfLoadFont
I''ve looked at several pages on the web and the glf demo on the gl4java
site, but does anyone know how it is possible to change the actual size
of the font? Is it actually possible?
When i''m drawing my text i currently have:
gl.glPushMatrix();
gl.glColor3f(0.0f,0.0f,0.0f);
glf.glfDraw3DSolidStringF(fTimesNew1,"Event");
gl.glTranslatef(0.0f,-1.4f,0.0f);
glf.glfDraw3DSolidStringF(fTimesNew1,"Age");
gl.glTranslatef(0.0f,-1.4f,0.0f);
glf.glfDraw3DSolidStringF(fTimesNew1,"Date");
gl.glTranslatef(0.0f,-1.4f,0.0f);
glf.glfDraw3DSolidStringF(fTimesNew1,"Parish");
gl.glTranslatef(0.0f,-1.4f,0.0f);
gl.glPopMatrix();
Is it possible to set the font, any ideas, currently it displays too
big.
(Btw this is the last hurdle in my project).
Thanks again,
Mark.
Regards, Mark.
I''m pretty new to OpenGL so this answer may be worthless, but couldn''t you use the glScale functions to alter the size of your fonts?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement