X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fspheremonics.c;fp=hacks%2Fglx%2Fspheremonics.c;h=3690c88e0ae1a63fc87fdd33c03fb404c0c2dc59;hp=efef9f8826cdd9f42bc83eaa224a71aa6ed62e99;hb=d5186197bc394e10a4402f7f6d23fbb14103bc50;hpb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e diff --git a/hacks/glx/spheremonics.c b/hacks/glx/spheremonics.c index efef9f88..3690c88e 100644 --- a/hacks/glx/spheremonics.c +++ b/hacks/glx/spheremonics.c @@ -63,7 +63,7 @@ #define DEFAULTS "*delay: 30000 \n" \ "*showFPS: False \n" \ "*wireframe: False \n" \ - "*labelfont: -*-helvetica-medium-r-normal-*-180-*\n" + "*labelfont: -*-helvetica-medium-r-normal-*-*-180-*-*-*-*-*-*\n" # define refresh_spheremonics 0 # define release_spheremonics 0 @@ -71,7 +71,7 @@ #define countof(x) (sizeof((x))/sizeof((*x))) #include "xlockmore.h" -#include "glxfonts.h" +#include "texfont.h" #include "normals.h" #include "colors.h" #include "rotator.h" @@ -845,10 +845,9 @@ draw_spheremonics (ModeInfo *mi) cc->m[4], cc->m[5], cc->m[6], cc->m[7]); glColor3f(1.0, 1.0, 0.0); - print_gl_string (mi->dpy, cc->font_data, - mi->xgwa.width, mi->xgwa.height, - 10, mi->xgwa.height - 10, - buf, False); + print_texture_label (mi->dpy, cc->font_data, + mi->xgwa.width, mi->xgwa.height, + 1, buf); } if (!static_parms)