[gal] Fix for Bug #331400

"simon.zheng" <[email protected]>
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <1140089573.8906.4.camel@fulltime>
Hi Guys,

Bug 331400 – Accented characters are displayed incorrectly in Tasks
print preview.
http://bugzilla.gnome.org/show_bug.cgi?id=331400

To display ascender and descender of some characters, increase the
height of text cell.

Send patch for review.

Thanks,
-Simon

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
evo-331400-tasks-ascender.diff (text/x-patch, 1.1 KB)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/widgets/ChangeLog,v
retrieving revision 1.162
diff -u -p -r1.162 ChangeLog
--- ChangeLog	13 Feb 2006 16:45:27 -0000	1.162
+++ ChangeLog	16 Feb 2006 11:24:31 -0000
@@ -1,3 +1,9 @@
+2006-02-16  Simon Zheng  <[email protected]>
+
+	** Fixes bug #331400
+	* table/e-cell-text.c: (ect_print_height): To display ascender and 
+	descender of some characters, increase the height of text cell.
+
 2006-01-30  Kjartan Maraas  <[email protected]>
 
 	* e-timezone-dialog/e-timezone-dialog.c: (get_zone_from_point):
Index: table/e-cell-text.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/table/e-cell-text.c,v
retrieving revision 1.144
diff -u -p -r1.144 e-cell-text.c
--- table/e-cell-text.c	30 Jan 2006 12:28:20 -0000	1.144
+++ table/e-cell-text.c	16 Feb 2006 11:24:31 -0000
@@ -1370,7 +1370,7 @@ ect_print_height (ECellView *ecell_view,
 		  int model_col, int view_col, int row,
 		  double width)
 {
-	return 16;
+	return 16 + 4;
 }
 
 static int
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.