dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #11386] Graphics.DrawString doesn't break string


From: Marc Haisenko
Subject: [Pnet-developers] [bugs #11386] Graphics.DrawString doesn't break strings at dashes
Date: Thu, 23 Dec 2004 16:56:29 +0000 (UTC)
User-agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko)

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #11386] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11386>
Project: DotGNU Portable.NET
Submitted by: Marc Haisenko
On: Thu 12/23/2004 at 16:56

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open


Summary:  Graphics.DrawString doesn't break strings at dashes

Original Submission:  Graphics.DrawString only breaks lines at whitespace but 
doesn't break lines at dashes (-). The attached ZIP file contains a small 
project and compiled EXE that demonstrates this when you resize the form. 
There's a PNG showing the .NET rendering and two PNGs showing dotGNU's 
rendering on X Window with Xft.

The problem is missing support for breaking at dashes in the TextLayoutManager 
class in System.Drawing/Graphics.cs... maybe we should add an array with 
characters that may break a line (e.g. ' ', 't', '-').





File Attachments
-------------------

-------------------------------------------------------
Date: Thu 12/23/2004 at 16:56  Name: TestStringBreaking.zip  Size: 64.74KB   
By: darkdust

http://savannah.gnu.org/bugs/download.php?item_id=11386&amp;item_file_id=1995






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11386>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]