diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 1398c4a75c..c4219d3c47 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2003-05-16 Radek Doulik <rodo@ximian.com> + + * mail-callbacks.c (footer_info_new): gnome_font_get_descender + returns negative value + 2003-05-17 Larry Ewing <lewing@ximian.com> * GNOME_Evolution_Mail.server.in.in: remove font prefs server from 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); |