Package: gtkwave
Version: 1.3.81-1
Followup-For: Bug #270562

I have xfonts installed, but gtkwave still fails:

ii  xfonts-100dpi  1.0.0-2        100 dpi fonts for X
ii  xfonts-75dpi   1.0.0-2        100 dpi fonts for X
ii  xfonts-base    1.0.0-3        standard fonts for X


This fixes the problem, falling back to the 'fixed' font.

--- gtkwave-1.3.81-orig/src/gtk12compat.h       2005-04-15 06:22:16.000000000 
+0200
+++ gtkwave-1.3.81/src/gtk12compat.h    2006-05-24 16:55:04.000000000 +0200
@@ -7,8 +7,10 @@
 #define WAVE_GDK_GET_POINTER(a,b,c,bi,ci,d)  gdk_window_get_pointer(a,bi,ci,d)
 #define WAVE_GDK_GET_POINTER_COPY x=xi; y=yi;
 #define WAVE_GTK_SIGFONT gdk_font_load("-*-courier-*-r-*-*-14-*-*-*-*-*-*-*"); 
\
+       if(!signalfont) { signalfont = 
gdk_font_load("-*-fixed-*-*-*-*-14-*-*-*-*-*-*-*"); }\
        if(!signalfont) { fprintf(stderr, "Could not load signalfont courier 
14, exiting!\n"); exit(255); }
 #define WAVE_GTK_WAVEFONT 
gdk_font_load("-*-courier-*-r-*-*-10-*-*-*-*-*-*-*"); \
+       if(!wavefont) { wavefont = 
gdk_font_load("-*-fixed-*-*-*-*-10-*-*-*-*-*-*-*"); }\
        if(!wavefont) { fprintf(stderr, "Could not load wavefont courier 10, 
exiting!\n"); exit(255); }
 #define WAVE_GTK_SFUNCAST(x) ((void (*)(GtkWidget *, gpointer))(x))
 

Don't know why gdk_font_load() fails, though.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16em
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages gtkwave depends on:
ii  libatk1.0-0                  1.11.4-2    The ATK accessibility toolkit
ii  libbz2-1.0                   1.0.3-2     high-quality block-sorting file co
ii  libc6                        2.3.6-9     GNU C Library: Shared libraries
ii  libcairo2                    1.0.4-2     The Cairo 2D vector graphics libra
ii  libfontconfig1               2.3.2-5.1   generic font configuration library
ii  libglib2.0-0                 2.10.2-2    The GLib library of C routines
ii  libgtk2.0-0                  2.8.17-2    The GTK+ graphical user interface 
ii  libpango1.0-0                1.12.1-3    Layout and rendering of internatio
ii  libx11-6                     2:1.0.0-6   X11 client-side library
ii  libxcursor1                  1.1.5.2-5   X cursor management library
ii  libxext6                     1:1.0.0-4   X11 miscellaneous extension librar
ii  libxi6                       1:1.0.0-5   X11 Input extension library
ii  libxinerama1                 1:1.0.1-4   X11 Xinerama extension library
ii  libxrandr2                   2:1.1.0.2-4 X11 RandR extension library
ii  libxrender1                  1:0.9.0.2-4 X Rendering Extension client libra
ii  zlib1g                       1:1.2.3-11  compression library - runtime

gtkwave recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to