patchDotGNU Portable.NET - Patches: patch #3684, Fix wrapping in Graphics.DrawString

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #3684: Fix wrapping in Graphics.DrawString

Submitter:  Marc Haisenko <darkdust>
Submitted:  Wed 26 Jan 2005 09:54:06 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  darkdust Open/Closed:  Closed

Wed 02 Feb 2005 01:51:24 PM UTC, comment #1: 

Committed to CVS on 2. Feb 2005 (Graphics.cs 1.46)

Marc Haisenko <darkdust>
Group Member
Wed 26 Jan 2005 09:54:06 AM UTC, original submission:  

The problem is that if a word's width is greater than the width of the area in which the string is drawn that word doesn't get wrapped correctly.

MS's strategy with such words is to place such words on a new line and wrap them at the characterlevel. The following (simple) patch fixes DotGNU to do the same.

The patch really fixes Graphics.CheckForWrap, which is a private method used by Graphics.DrawString.

Marc Haisenko <darkdust>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #8319:  CheckForWrap.patch added by darkdust (551B - text/x-diff - Fix wrapping in Graphics.DrawString)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-02-02 darkdust StatusNone Done
    Assigned toNone darkdust
    Open/ClosedOpen Closed
2005-01-26 darkdust Attached File- Added CheckForWrap.patch, #4095

Back to the top

Powered by Savane 3.15-94dd.
Corresponding source code