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: Deryk Robosson
Subject: [Pnet-developers] [bugs #11386] Graphics.DrawString doesn't break strings at dashes
Date: Tue, 28 Dec 2004 01:44:06 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217 Galeon/1.3.18

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

/**************************************************************************/
[bugs #11386] Latest Modifications:

Changes by: 
                Deryk Robosson <address@hidden>
'Date: 
                Tue 12/28/2004 at 01:44 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fixed in CVS 28.Dec.

For the record, the only documented wrap chars are currently ' ', 'n', and 'r'.

As an added observation, the MS implementation will not draw 't' in a provided 
string but will still break on that non-drawn char.






/**************************************************************************/
[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:  Fixed
Privacy:  Public
Assigned to:  None
Status:  Closed


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', '-').

Follow-up Comments
------------------


-------------------------------------------------------
Date: Tue 12/28/2004 at 01:44       By: Deryk Robosson <drobosson>
Fixed in CVS 28.Dec.

For the record, the only documented wrap chars are currently ' ', 'n', and 'r'.

As an added observation, the MS implementation will not draw 't' in a provided 
string but will still break on that non-drawn char.






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]