[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

the font bug



I got another report of that blasted font bug - this time on Suse 7.3 KDE 2.2.

For those who haven't seen it before, the game crashes with the message:

canvas_font_load(): cannot load font 
misc-fixed-medium-*-normal-*-15-0-*-*-*-*-iso8859-1

Antonio Leal offered the patch below for board.c.
As far as I know, no one's tried this patch on a system that didn't
have the bug in the first place. 

A couple people offered to write a patch that checks your system to
decide which font to use. Has anyone succeeded with that? I'd love to
see it if you have.

- Mike

*** board.c~	Wed Apr 18 22:16:48 2001
--- board.c	Thu Mar  7 11:40:02 2002
***************
*** 28,32 ****
  #define FLOOR_LIGHT    7                /*   outside luminance cycle */
  
! #define FONT_NAME      "-misc-fixed-medium-*-normal-*-15-0-*-*-*-*-iso8859-1"
  
  #define V_CELL_YSIZE   40               /* revive cell height */
--- 28,32 ----
  #define FLOOR_LIGHT    7                /*   outside luminance cycle */
  
! #define FONT_NAME      "-misc-fixed-medium-*-normal-*-*-*-*-*-*-*-iso8859-1"
  
  #define V_CELL_YSIZE   40               /* revive cell height */