Skip to content
Snippets Groups Projects
Commit a2593eea authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

text sorting bug

parent 5e7a47f2
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* GL2PS, an OpenGL to PostScript Printing Library * GL2PS, an OpenGL to PostScript Printing Library
* Copyright (C) 1999-2002 Christophe Geuzaine * 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 * E-mail: geuz@geuz.org
* URL: http://www.geuz.org/gl2ps/ * URL: http://www.geuz.org/gl2ps/
...@@ -1361,8 +1361,8 @@ GL2PSDLL_API GLvoid gl2psText(char *str, char *fontname, GLint fontsize){ ...@@ -1361,8 +1361,8 @@ GL2PSDLL_API GLvoid gl2psText(char *str, char *fontname, GLint fontsize){
prim->verts = (GL2PSvertex *)gl2psMalloc(sizeof(GL2PSvertex)); prim->verts = (GL2PSvertex *)gl2psMalloc(sizeof(GL2PSvertex));
prim->verts[0].xyz[0] = pos[0]; prim->verts[0].xyz[0] = pos[0];
prim->verts[0].xyz[1] = pos[1]; prim->verts[0].xyz[1] = pos[1];
prim->verts[0].xyz[2] = pos[2]; prim->verts[0].xyz[2] = GL2PS_DEPTH_FACT * pos[2];
prim->depth = GL2PS_DEPTH_FACT * pos[2]; prim->depth = pos[2];
prim->dash = 0; prim->dash = 0;
prim->width = 1; prim->width = 1;
glGetFloatv(GL_CURRENT_RASTER_COLOR, prim->verts[0].rgba); glGetFloatv(GL_CURRENT_RASTER_COLOR, prim->verts[0].rgba);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* GL2PS, an OpenGL to PostScript Printing Library * GL2PS, an OpenGL to PostScript Printing Library
* Copyright (C) 1999-2002 Christophe Geuzaine * 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 * E-mail: geuz@geuz.org
* URL: http://www.geuz.org/gl2ps/ * URL: http://www.geuz.org/gl2ps/
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
#endif /* __APPLE__ */ #endif /* __APPLE__ */
#define GL2PS_VERSION 0.6 #define GL2PS_VERSION 0.61
#define GL2PS_NONE 0 #define GL2PS_NONE 0
/* Output file format */ /* Output file format */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment