From 9e2a8d4e41b397f054948d739a94ce1db760ce55 Mon Sep 17 00:00:00 2001 From: Kaushal Kumar Date: Fri, 14 Oct 2005 11:12:48 +0000 Subject: Use gnome_font_find_closest instead of gnome_font_find since Helvetica is 2005-10-14 Kaushal Kumar * table/e-table-group-container.c (e_table_group_container_print_page): Use gnome_font_find_closest instead of gnome_font_find since Helvetica is not always present. Fixes bug #246803. Patch by: Mubeen Jukaku. svn path=/trunk/; revision=30506 --- widgets/table/ChangeLog | 9 +++++++++ widgets/table/e-table-group-container.c | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'widgets/table') diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog index 5b9ddc0898..5062808b55 100644 --- a/widgets/table/ChangeLog +++ b/widgets/table/ChangeLog @@ -1,3 +1,12 @@ +2005-10-14 Kaushal Kumar + + * table/e-table-group-container.c + (e_table_group_container_print_page): Use gnome_font_find_closest + instead of gnome_font_find since Helvetica is not always present. + + Fixes bug #246803. + Patch by: Mubeen Jukaku. + 2005-10-04 Devashish Sharma * e-table-extras.c (ete_init): Added compare type "stringcase" to diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c index eed9fe0d04..1caeb77a22 100644 --- a/widgets/table/e-table-group-container.c +++ b/widgets/table/e-table-group-container.c @@ -1159,7 +1159,7 @@ e_table_group_container_print_page (EPrintable *ep, GList *child; EPrintable *child_printable; gchar *string; - GnomeFont *font = gnome_font_find ("Helvetica", TEXT_HEIGHT); + GnomeFont *font = gnome_font_find_closest ("Helvetica", TEXT_HEIGHT); child_printable = groupcontext->child_printable; child = groupcontext->child; -- cgit