From c32a714822177848bdd47fee16e6ef02f7ec7a41 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sat, 24 Apr 2004 05:31:13 +0000
Subject: [PATCH] add a bit more space between y-axis and labels

---
 Graphics/Graph2D.cpp | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/Graphics/Graph2D.cpp b/Graphics/Graph2D.cpp
index 404dd5b37d..6caace4743 100644
--- a/Graphics/Graph2D.cpp
+++ b/Graphics/Graph2D.cpp
@@ -1,4 +1,4 @@
-// $Id: Graph2D.cpp,v 1.34 2004-04-24 04:19:43 geuzaine Exp $
+// $Id: Graph2D.cpp,v 1.35 2004-04-24 05:31:13 geuzaine Exp $
 //
 // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
 //
@@ -194,12 +194,8 @@ static void Draw_Graph2D(Post_View * v,
     if(v->ShowScale) {
       glColor4ubv((GLubyte *) & CTX.color.text);
       sprintf(label, v->Format, (i == nb) ? ValMin : (ValMax - i * dv));
-      if(!CTX.print.gl_fonts)
-        glRasterPos2d(xtop - gl_width(label) - 3 * tic,
-                      ytop - i * dy - font_a / 3.);
-      else
-        glRasterPos2d(xtop - gl_width(label) - tic,
-                      ytop - i * dy - font_a / 3.);
+      glRasterPos2d(xtop - gl_width(label) - 2 * tic,
+		    ytop - i * dy - font_a / 3.);
       Draw_String(label);
     }
   }
-- 
GitLab