X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fglsnake.c;h=094b12a0c4fd0459d1417c26529d7986c98b54b5;hp=2117a93889529911070e23ae08ac47baca399dd6;hb=d5186197bc394e10a4402f7f6d23fbb14103bc50;hpb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e diff --git a/hacks/glx/glsnake.c b/hacks/glx/glsnake.c index 2117a938..094b12a0 100644 --- a/hacks/glx/glsnake.c +++ b/hacks/glx/glsnake.c @@ -149,15 +149,14 @@ static GLfloat angvel; #define DEFAULTS "*delay: 30000 \n" \ "*count: 30 \n" \ "*showFPS: False \n" \ - "*labelfont: -*-helvetica-medium-r-normal-*-180-*\n" \ - + "*labelfont: -*-helvetica-medium-r-normal-*-*-180-*-*-*-*-*-*\n" \ #undef countof #define countof(x) (sizeof((x))/sizeof((*x))) #include "xlockmore.h" -#include "glxfonts.h" +#include "texfont.h" static XrmOptionDescRec opts[] = { { "-explode", ".explode", XrmoptionSepArg, DEF_EXPLODE }, @@ -1733,10 +1732,9 @@ static void draw_title( glutBitmapCharacter(GLUT_BITMAP_HELVETICA_12, s[i++]); } #else - print_gl_string(mi->dpy, bp->font_data, - mi->xgwa.width, mi->xgwa.height, - 10.0, (float) mi->xgwa.height - 10.0, - s, False); + print_texture_label (mi->dpy, bp->font_data, + mi->xgwa.width, mi->xgwa.height, + 1, s); #endif } glPopMatrix();