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=81572 --- shadow/81572 2007-05-08 21:59:55.000000000 -0400 +++ shadow/81572.tmp.29442 2007-08-02 09:39:28.000000000 -0400 @@ -12,13 +12,13 @@ ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- URL: Cc: Summary: MeasureString problems with multline strings -OtherBugsDependingOnThis: 81550 +OtherBugsDependingOnThis: 81550[FIXED] On below code, sizef1 and sizef2 must have same (approximated) width, in .NET and Mono on Win32 it works fine so I think that it is a libgdiplus problem. using System; @@ -52,6 +52,16 @@ results under X11: size-1: {Width=119,8281, Height=75,59375} size-2: {Width=119,8333, Height=19,875} ------- Additional Comments From [EMAIL PROTECTED] 2007-05-08 21:59 ------- Unit test added to revision 76976 (MeasureString_MultlineString_Width) + +------- Additional Comments From [EMAIL PROTECTED] 2007-08-02 09:39 ------- +It seems we include /n inside the calculation. +Changing text1 to: + string text1 = "Test 1,2,3,4,5...\nTest\nTest123\nTest 456"; +return the same values with libgdiplus too + +size-1: {Width=99, Height=56} +size-2: {Width=99, Height=17} + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
