diff options
author | Radek Doulik <rodo@ximian.com> | 2003-05-19 16:39:44 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2003-05-19 16:39:44 +0800 |
commit | 81580a08144526353f4543acd2443dee6dfbdcc8 (patch) | |
tree | 8a0e4e6b1f42c7be475bbdd110409f6dd2a657b3 /mail | |
parent | ac4c47f40806737ed09cf5fd250cf2ea83e9982c (diff) | |
download | gsoc2013-evolution-81580a08144526353f4543acd2443dee6dfbdcc8.tar gsoc2013-evolution-81580a08144526353f4543acd2443dee6dfbdcc8.tar.gz gsoc2013-evolution-81580a08144526353f4543acd2443dee6dfbdcc8.tar.bz2 gsoc2013-evolution-81580a08144526353f4543acd2443dee6dfbdcc8.tar.lz gsoc2013-evolution-81580a08144526353f4543acd2443dee6dfbdcc8.tar.xz 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')
-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); |