[Mono-bugs] [Bug 81787][Wis] Changed - MeasureString returns different size during print.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Aug 2 14:24:08 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 sebastien at ximian.com.

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

--- shadow/81787	2007-08-02 14:13:41.000000000 -0400
+++ shadow/81787.tmp.2077	2007-08-02 14:24:08.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 81787
 Product: Mono: Class Libraries
 Version: 1.2
 OS: unknown
 OS Details: 
-Status: REOPENED   
-Resolution: 
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: Unknown
 Priority: Wishlist
 Component: Sys.Drawing.
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: vlad.dimitrov at gmail.com               
 QAContact: mono-bugs at ximian.com
@@ -66,6 +66,14 @@
 <flipm0de> String "Test string" measured size: {Width=57.05114,
 Height=13.96484}
 <flipm0de> the first is during print preview and the second is during
 actual print
 <spouliot> sure "it should" but it doesn't right ?
 <flipm0de> :) yes, but it is very close to equal
+
+------- Additional Comments From sebastien at ximian.com  2007-08-02 14:24 -------
+The difference is due to the fact that the preview DPI is different
+from the printer DPI (in my case 86dpi versus 200dpi) while under
+Windows both value are identical (300dpi).
+
+There's probably something wrong about the graphic instance being
+created by the PrintPreviewControl.


More information about the mono-bugs mailing list