gnumeric r16747 - in trunk: . src



Author: guelzow
Date: Tue Aug 26 04:33:34 2008
New Revision: 16747
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16747&view=rev

Log:
2008-08-25  Andreas Guelzow  <aguelzow pyrshep ca>

	Fix for #549247
	* src/print.c (print_page): fix caclulation of footer location




Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/src/print.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Tue Aug 26 04:33:34 2008
@@ -1,5 +1,8 @@
 Gnumeric 1.9.2
 
+Andreas:
+	* Fix printing of footer line. [#549247]
+
 Jean:
 	* Import/export axis ticks labels orientation. [#544935]
 	* Fix an attribute order issue while loading. [#547183]

Modified: trunk/src/print.c
==============================================================================
--- trunk/src/print.c	(original)
+++ trunk/src/print.c	Tue Aug 26 04:33:34 2008
@@ -494,7 +494,7 @@
 	
 	if (edge_to_above_footer > footer) {
 		cairo_save (cr);
-		cairo_translate (cr, 0, height + header + footer);
+		cairo_translate (cr, 0, height + (edge_to_below_header - header) + (edge_to_above_footer - footer));
 		print_hf_line (context, cr, sheet, pinfo->footer, TRUE, width, 
 			       pi->hfi);
 		cairo_restore (cr);



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