[Mono-bugs] [Bug 60663][Nor] Changed - MeasureString and DrawString crash

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 12 Jul 2004 07:52:53 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by rkumar@novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=60663

--- shadow/60663	2004-07-08 17:35:15.000000000 -0400
+++ shadow/60663.tmp.22916	2004-07-12 07:52:53.000000000 -0400
@@ -1,22 +1,21 @@
 Bug#: 60663
 Product: Mono: Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: Gentoo
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Sys.Drawing.
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: david.mitchell@telogis.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
-Cc: 
 Summary: MeasureString and DrawString crash
 
 Please fill in this template when reporting a bug, unless you know what you
 are doing.
 Description of Problem:
 Graphics.MeasureString and Graphics.DrawString can be used in combination
@@ -50,6 +49,29 @@
 
 ------- Additional Comments From rkumar@novell.com  2004-07-06 00:08 -------
 David, could you please confirm the fix ?
 
 ------- Additional Comments From david.mitchell@telogis.com  2004-07-08 17:35 -------
 This still crashes. Is the fix in 1.0?
+
+------- Additional Comments From rkumar@novell.com  2004-07-12 07:52 -------
+Could you please try the following patch in libgdiplus and let us know
+the results ?
+
+Index: src/gdip.h
+===================================================================
+RCS file: /cvs/public/libgdiplus/src/gdip.h,v
+retrieving revision 1.86
+diff -u -r1.86 gdip.h
+--- src/gdip.h  9 Jul 2004 11:43:50 -0000       1.86
++++ src/gdip.h  12 Jul 2004 10:03:31 -0000
+@@ -74,7 +74,7 @@
+ struct cairo_font {
+     int refcount;
+     cairo_matrix_t matrix;
+-    //void *glyph_cache;
++    void *glyph_cache;
+     const struct cairo_font_backend *backend;
+ };
+                                                                     
+                     
+Thanks!