[Mono-bugs] [Bug 80680][Min] Changed - Graphics.MeasureString results differ for string containing only blanks

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 30 18:32:44 EST 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=80680

--- shadow/80680	2007-01-30 18:24:42.000000000 -0500
+++ shadow/80680.tmp.21387	2007-01-30 18:32:44.000000000 -0500
@@ -93,6 +93,54 @@
 18. H 16.75781, W 4.44441
 19. H 16.75781, W 4.44441
 
 Strangely the Width isn't exactly the same at each iteration. Anyway
 thanks for the sample code.
 
+
+------- Additional Comments From sebastien at ximian.com  2007-01-30 18:32 -------
+Prepending 'x' spaces to "a"
+0. H 16.75781, W 12.08116
+1. H 16.75781, W 15.727
+2. H 16.75781, W 19.37283
+3. H 16.75781, W 23.01866
+4. H 16.75781, W 26.66449
+5. H 16.75781, W 30.31033
+6. H 16.75781, W 33.95616
+7. H 16.75781, W 37.60199
+8. H 16.75781, W 41.24783
+9. H 16.75781, W 44.89366
+10. H 16.75781, W 48.53949
+11. H 16.75781, W 52.18533
+12. H 16.75781, W 55.83116
+13. H 16.75781, W 59.47699
+14. H 16.75781, W 63.12283
+15. H 16.75781, W 66.76865
+16. H 16.75781, W 70.41449
+17. H 16.75781, W 74.06033
+18. H 16.75781, W 77.70615
+19. H 16.75781, W 81.35199
+
+Appending 'x' spaces after "a"
+0. H 16.75781, W 12.08116
+1. H 16.75781, W 12.08116
+2. H 16.75781, W 12.08116
+3. H 16.75781, W 12.08116
+4. H 16.75781, W 12.08116
+5. H 16.75781, W 12.08116
+6. H 16.75781, W 12.08116
+7. H 16.75781, W 12.08116
+8. H 16.75781, W 12.08115
+9. H 16.75781, W 12.08115
+10. H 16.75781, W 12.08115
+11. H 16.75781, W 12.08115
+12. H 16.75781, W 12.08114
+13. H 16.75781, W 12.08114
+14. H 16.75781, W 12.08114
+15. H 16.75781, W 12.08113
+16. H 16.75781, W 12.08113
+17. H 16.75781, W 12.08113
+18. H 16.75781, W 12.08112
+19. H 16.75781, W 12.08112
+
+So MS removes trailing spaces, with a special case if the string is
+full of spaces.


More information about the mono-bugs mailing list