From: daid303 Date: Wed, 16 Jan 2013 10:48:27 +0000 (+0100) Subject: Update on the font draw. X-Git-Tag: 13.03~103 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6b8dc2e243e7c726fd8644d9ef749e0ccf88e64c;p=cura.git Update on the font draw. --- diff --git a/Cura/gui/util/opengl.py b/Cura/gui/util/opengl.py index 37a4c54e..9522fa5f 100644 --- a/Cura/gui/util/opengl.py +++ b/Cura/gui/util/opengl.py @@ -212,7 +212,8 @@ def DrawMachine(machineSize): glPushMatrix() glTranslate(23, 0, 0) noZ = ResetMatrixRotationAndScale() - glRasterPos2f(-2,-2) + glRasterPos2f(0,0) + glBitmap(0,0,0,0, -5, -5, None) glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18, ord('X')) glPopMatrix() @@ -220,8 +221,8 @@ def DrawMachine(machineSize): glColor3f(0, 1, 0) glPushMatrix() glTranslate(0, 23, 0) - ResetMatrixRotationAndScale() - glRasterPos2f(-2,-2) + glRasterPos2f(0,0) + glBitmap(0,0,0,0, -5, -5, None) glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18, ord('Y')) glPopMatrix() @@ -230,8 +231,8 @@ def DrawMachine(machineSize): glColor3f(0, 0, 1) glPushMatrix() glTranslate(0, 0, 23) - ResetMatrixRotationAndScale() - glRasterPos2f(-2,-2) + glRasterPos2f(0,0) + glBitmap(0,0,0,0, -5, -5, None) glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18, ord('Z')) glPopMatrix()