[Mono-bugs] [Bug 81516][Nor] New - Graphics.DrawString is not handling well wrapping with long words

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 2 14:04:48 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 unserkonig at gmail.com.

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

--- shadow/81516	2007-05-02 14:04:48.000000000 -0400
+++ shadow/81516.tmp.18428	2007-05-02 14:04:48.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 81516
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: unserkonig at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Graphics.DrawString is not handling well wrapping with long words
+
+Graphics.DrawString is not working fine when using wrapping
+(StringFormatFlags.LineLimit) with long words/sentences that don't have any
+white space (such "Weshouldincludeaspacesomewhere", instead of "We should
+include a space somewhere").
+
+Observe that long sentences that do contain white spaces the method works
+just fine.
+
+
+Steps to reproduce the problem:
+1. Compile the attached sample.
+2. Run it.
+
+Actual Results:
+
+The yellow rectangle should contain the text "WeShouldIncludeWhiteSpaces"
+spread over multiple lines.
+
+Expected Results:
+
+In Mono we only get one line, and the remaining text doesn't show up
+(We only get "WeShoul" and nothing more).


More information about the mono-bugs mailing list