aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2003-05-19 16:39:44 +0800
committerRadek Doulik <rodo@src.gnome.org>2003-05-19 16:39:44 +0800
commit81580a08144526353f4543acd2443dee6dfbdcc8 (patch)
tree8a0e4e6b1f42c7be475bbdd110409f6dd2a657b3 /mail/mail-callbacks.c
parentac4c47f40806737ed09cf5fd250cf2ea83e9982c (diff)
downloadgsoc2013-evolution-81580a08144526353f4543acd2443dee6dfbdcc8.tar.gz
gsoc2013-evolution-81580a08144526353f4543acd2443dee6dfbdcc8.tar.zst
gsoc2013-evolution-81580a08144526353f4543acd2443dee6dfbdcc8.zip
gnome_font_get_descender returns negative value
2003-05-16 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (footer_info_new): gnome_font_get_descender returns negative value svn path=/trunk/; revision=21238
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 0ae5467011..dd6106331d 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -2864,7 +2864,7 @@ footer_info_new (GtkHTML *html, GnomePrintContext *pc, gdouble *line)
info->local_font = gnome_font_find_closest ("Helvetica", 10.0);
if (info->local_font)
- *line = gnome_font_get_ascender (info->local_font) + gnome_font_get_descender (info->local_font);
+ *line = gnome_font_get_ascender (info->local_font) - gnome_font_get_descender (info->local_font);
info->page_num = 1;
info->pages = gtk_html_print_get_pages_num (html, pc, 0.0, *line);