|
From: | Marc Haisenko |
Subject: | [Pnet-developers] [patch #3684] Fix wrapping in Graphics.DrawString |
Date: | Wed, 26 Jan 2005 09:54:06 +0000 |
User-agent: | Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko) |
URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=3684> Summary: Fix wrapping in Graphics.DrawString Project: DotGNU Portable.NET Submitted by: darkdust Submitted on: Wed 01/26/2005 at 09:54 Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open _______________________________________________________ Details: 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. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 01/26/2005 at 09:54 Name: CheckForWrap.patch Size: 551B By: darkdust Fix wrapping in Graphics.DrawString <http://savannah.gnu.org/patch/download.php?item_id=3684&item_file_id=4095> _______________________________________________________ This item URL is: <http://savannah.gnu.org/patch/?func=detailitem&item_id=3684> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |