[Mono-bugs] [Bug 78939][Nor] New - Interop difference from MS.Net

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 24 15:26:12 EDT 2006

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 monkey at jpobst.com.


--- shadow/78939	2006-07-24 15:26:12.000000000 -0400
+++ shadow/78939.tmp.590	2006-07-24 15:26:12.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 78939
+Product: Mono: Runtime
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: interop
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: monkey at jpobst.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Interop difference from MS.Net
+Description of Problem:
+I am trying to use the Windows GDI call "DrawText" on a form.  In order to
+set the font, you call SelectObject and pass it a Font.ToHfont.  On MS's
+runtime, the attached test case correctly draws the font in Wingdings.  On
+mono's runtime, the test case uses what I assume is the default font.
+Steps to reproduce the problem:
+1. Compile attached program.
+2. Run program. 
+Actual Results:
+"Test Text!!!" is written in the upper left corner in readable text.
+Expected Results:
+"Test Text!!!" should be written in Wingdings.
+How often does this happen? 
+Additional Information:
+A screenshot showing the difference is also attached.  This may be a MWF
+bug and not an interop bug, if so, please change Component.

More information about the mono-bugs mailing list