[PATCH] make the font size the same when printing on win32/linux
Lubomir I. Ivanov
neolit123 at gmail.com
Mon Aug 27 15:29:00 PDT 2012
From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
http://i47.tinypic.com/154ks2d.png
setting the cairo transformation units (..?) to GTK_UNIT_POINTS makes
the font size the same on windows as on linux, when printing.
otherwise the text is unreadable i.e. way too small.
Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>
---
print.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/print.c b/print.c
index 0bd3110..d7ec46e 100644
--- a/print.c
+++ b/print.c
@@ -222,6 +222,7 @@ void do_print(void)
repaint_dive();
print = gtk_print_operation_new();
+ gtk_print_operation_set_unit(print, GTK_UNIT_POINTS);
if (settings != NULL)
gtk_print_operation_set_print_settings(print, settings);
pages = (dive_table.nr + 5) / 6;
--
1.7.11.msysgit.0
More information about the subsurface
mailing list