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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78383 --- shadow/78383 2006-05-12 15:55:36.000000000 -0400 +++ shadow/78383.tmp.28949 2006-05-12 15:55:36.000000000 -0400 @@ -0,0 +1,64 @@ +Bug#: 78383 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: libgdiplus +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: System.EntryPointNotFoundException: GdipAddString + +Seems like our GdipAddString() function signature does not match with GDI+ +as GraphicPath.AddString() raises EntryPointNotFoundException on Win32: + +using System; +using System.Drawing; +using System.Drawing.Drawing2D; + +public class Test +{ + public static void Main () + { + new GraphicsPath ().AddString ( + "TEST", FontFamily.GenericSerif, + (int) FontStyle.Italic, 12, new Point (10, 10), + StringFormat.GenericDefault); + } +} + + +Actual Results: + +Unhandled Exception: System.EntryPointNotFoundException: GdipAddStringI +in (wrapper managed-to-native) System.Drawing.GDIPlus:GdipAddStringI +(intptr,str +ing,int,intptr,int,single,System.Drawing.Rectangle&,intptr) +in [0x00045] (at +C:\cygwin\home\atsushi\svn\mcs\class\System.Drawing\System.Drawing.Drawing2D\GraphicsPath.cs:629) +System.Drawing.Drawing2D.GraphicsPath:AddString (System.String s, +System.Drawing.FontFamily family, Int32 style, Single emSize, Rectangle +layoutRect, System.Drawing.StringFormat format) +in [0x0002d] (at +C:\cygwin\home\atsushi\svn\mcs\class\System.Drawing\System.Drawing.Drawing2D\GraphicsPath.cs:609) +System.Drawing.Drawing2D.GraphicsPath:AddString (System.String s, +System.Drawing.FontFamily family, Int32 style, Single emSize, Point origin, +System.Drawing.StringFormat format) +in (wrapper remoting-invoke-with-check) +System.Drawing.Drawing2D.GraphicsPath:AddString(string,System.Drawing.FontFamily,int,single,System.Drawing.Point,System.Drawing.StringFormat) +in <0x00085> Test:Main () + +Expected Results: + +no error. + +Additional Information: + +It is found by SharpVectorGraphics. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
