[guppi-list] broken gnome-print-installations



Hi!

First of all, guppi seems to be a very nice program - I am impressed :-)

Then, on my Debian/unstable system, guppi will crash after some
gnome-font warnings. I guess this is related to a broken gnome-print
installation? As I don't know how to fix that I tried to keep guppi up
and running in case of an error even without fonts. The resulting
one-line-patch is attached.

Now to the scatter-graph. I am missing the update-feature including the
possibility to create a graph without data and filling it through
updates. I had a look at it but it seems that the implementation will
result in a bigger (non-trivial) patch. Is someone already working on
that? 

Regards

Lutz Müller
-- 
                                                        \|||/
+------------------------------------------------+      (o o)
| Lutz Mueller           +49 (7156) 34837        +---ooO-(_)-Ooo---+
|                                                                  |
| Hans-Sachs-Strasse 5                                             |
| 71254 Ditzingen        http://www.uni-karlsruhe.de/~Lutz.Mueller |
| Germany                urc8 rz uni-karlsruhe de                  |
+------------------------------------------------------------------+
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/guppi3/ChangeLog,v
retrieving revision 1.206
diff -u -r1.206 ChangeLog
--- ChangeLog	2001/05/25 07:49:50	1.206
+++ ChangeLog	2001/05/30 21:41:18
@@ -1,3 +1,11 @@
+2001-05-30  Lutz Müller  <urc8 rz uni-karlsruhe de>
+
+	* src/libguppiplot/guppi-raster-text.c: (rasterize_cb) Make sure 
+	gnome_font_face_get_glyph_stdoutline returns a path. If not, just 
+	return, don't display the text. This fixes crashes on systems with 
+	broken gnome-print installations as art_bpath_affine_transform does
+	not check for path != NULL.
+
 2001-05-25  Christian Stimming  <stimming tuhh de>
 
 	* src/libguppitank/demo.c: Tested the new barchart options -
Index: src/libguppiplot/guppi-raster-text.c
===================================================================
RCS file: /cvs/gnome/guppi3/src/libguppiplot/guppi-raster-text.c,v
retrieving revision 1.10
diff -u -r1.10 guppi-raster-text.c
--- src/libguppiplot/guppi-raster-text.c	2001/05/06 08:26:43	1.10
+++ src/libguppiplot/guppi-raster-text.c	2001/05/30 21:41:23
@@ -222,6 +222,7 @@
   art_affine_multiply (affine, affine, scale_affine);
 
   path = gnome_font_face_get_glyph_stdoutline (face, glyph);
+  g_return_if_fail (path);
 
   bpath = art_bpath_affine_transform (path, affine);
   vpath = art_bez_path_to_vec (bpath, 0.25);


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