From a2593eea6da0e01493dc47a5844659fec3b388a7 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 10 Jun 2002 16:41:53 +0000 Subject: [PATCH] text sorting bug --- Graphics/gl2ps.cpp | 6 +++--- Graphics/gl2ps.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Graphics/gl2ps.cpp b/Graphics/gl2ps.cpp index ec0785fb6b..34406f3eb4 100644 --- a/Graphics/gl2ps.cpp +++ b/Graphics/gl2ps.cpp @@ -2,7 +2,7 @@ * GL2PS, an OpenGL to PostScript Printing Library * Copyright (C) 1999-2002 Christophe Geuzaine * - * $Id: gl2ps.cpp,v 1.46 2002-06-05 03:38:22 geuzaine Exp $ + * $Id: gl2ps.cpp,v 1.47 2002-06-10 16:41:53 geuzaine Exp $ * * E-mail: geuz@geuz.org * URL: http://www.geuz.org/gl2ps/ @@ -1361,8 +1361,8 @@ GL2PSDLL_API GLvoid gl2psText(char *str, char *fontname, GLint fontsize){ prim->verts = (GL2PSvertex *)gl2psMalloc(sizeof(GL2PSvertex)); prim->verts[0].xyz[0] = pos[0]; prim->verts[0].xyz[1] = pos[1]; - prim->verts[0].xyz[2] = pos[2]; - prim->depth = GL2PS_DEPTH_FACT * pos[2]; + prim->verts[0].xyz[2] = GL2PS_DEPTH_FACT * pos[2]; + prim->depth = pos[2]; prim->dash = 0; prim->width = 1; glGetFloatv(GL_CURRENT_RASTER_COLOR, prim->verts[0].rgba); diff --git a/Graphics/gl2ps.h b/Graphics/gl2ps.h index 3eea6e9fcd..e4f80ac538 100644 --- a/Graphics/gl2ps.h +++ b/Graphics/gl2ps.h @@ -2,7 +2,7 @@ * GL2PS, an OpenGL to PostScript Printing Library * Copyright (C) 1999-2002 Christophe Geuzaine * - * $Id: gl2ps.h,v 1.25 2002-06-05 03:38:22 geuzaine Exp $ + * $Id: gl2ps.h,v 1.26 2002-06-10 16:41:53 geuzaine Exp $ * * E-mail: geuz@geuz.org * URL: http://www.geuz.org/gl2ps/ @@ -54,7 +54,7 @@ #endif /* __APPLE__ */ -#define GL2PS_VERSION 0.6 +#define GL2PS_VERSION 0.61 #define GL2PS_NONE 0 /* Output file format */ -- GitLab