[Mono-bugs] [Bug 82167][Nor] New - Graphics.DrawString() renders text in wrong places after changing PageUnit

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 23 17:19:23 EDT 2007


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 stacher at wp.pl.

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

--- shadow/82167	2007-07-23 17:19:23.000000000 -0400
+++ shadow/82167.tmp.24427	2007-07-23 17:19:23.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 82167
+Product: Mono: Class Libraries
+Version: 1.2
+OS: GNU/Linux [Other]
+OS Details: openSUSE 10.2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: libgdiplus
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: stacher at wp.pl               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Graphics.DrawString() renders text in wrong places after changing PageUnit
+
+Graphics.DrawString() method gets coordinates of the string to be drawn 
+in its arguments. The unit of measure of these coordinates is the one set 
+to Graphics.PageUnit property. But in mono-1.2.4 on linux they are always 
+interpreted as if they were in the default unit of Graphics object (which 
+is Pixel when drawing on screen).
+
+Cause:
+DrawString method in "graphics.c" (libgdiplus-1.2.4) uses coordinates 
+which are not converted.
+
+Additional Information:
+Tested on openSUSE 10.2 (VMware Virtual Image)


More information about the mono-bugs mailing list