]> git.tdb.fi Git - ext/subsurface.git/blobdiff - print.c
Print out only simplified depth profile
[ext/subsurface.git] / print.c
diff --git a/print.c b/print.c
index a16ddb76b373727f6196e9dd9d46bc7a31908a6f..4848dfa48bd20af46226d5605b40c9d40414a4c1 100644 (file)
--- a/print.c
+++ b/print.c
@@ -23,8 +23,11 @@ static void print(int divenr, cairo_t *cr, double x, double y, double w, double
        cairo_save(cr);
        cairo_translate(cr, x, y);
 
-       /* Dive plot in the upper half */
-       show_one_dive(dive, cr, w, h/2);
+       /* We actually want to scale the text and the lines now */
+       cairo_scale(cr, 0.5, 0.5);
+
+       /* Dive plot in the upper half - note the scaling */
+       show_one_dive(dive, cr, w*2, h);
 
        /* Dive information in the lower half */