[Mono-bugs] [Bug 78777][Wis] Changed - MeasureCharacterRanges returns incorrect bounding rectangles when string contains an embedded \n

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Aug 2 10:41:13 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.


--- shadow/78777	2006-09-22 11:48:28.000000000 -0400
+++ shadow/78777.tmp.30607	2007-08-02 10:41:13.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 78777
 Product: Mono: Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: RESOLVED   
-Resolution: DUPLICATE
+Status: REOPENED   
 Severity: Unknown
 Priority: Wishlist
 Component: libgdiplus
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: toshok at ximian.com               
 QAContact: mono-bugs at ximian.com
@@ -67,6 +67,15 @@
 Keeping priority to wishlist (for vertical layout).
 ------- Additional Comments From sebastien at ximian.com  2006-09-22 11:48 -------
 the remaining problem is a subcase of bug #77496
 *** This bug has been marked as a duplicate of 77496 ***
+------- Additional Comments From sebastien at ximian.com  2007-08-02 10:41 -------
+This patch was bad (fixed the test case by accident) and introduced
+The real problem is that the ranges works on the supplied string
+(which includes the /n) while the calculations are done on a
+"modified" string (that include more details). However this
+StringDetail has removed the \n characters so everything is "range" off.

More information about the mono-bugs mailing list