https://bugzilla.novell.com/show_bug.cgi?id=482510
Summary: Graphics.MeasureCharacterRanges cannot cope with word
wrapping
Classification: Mono
Product: Mono: Class Libraries
Version: 2.2.x
Platform: All
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Drawing.
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Found By: ---
User-Agent: Opera/9.64 (X11; Linux x86_64; U; el) Presto/2.1.1
Calling MeasureCharacterRanges with a non-empty layout rectangle returns bogus
results: all letters are compressed at (x, y) = (0, 0).
Reproducible: Always
Steps to Reproduce:
1. Call Graphics.MeasureCharacterRanges("Hello, World!", FontFamily.SansSerif,
new Rectangle(100, 100, 100, 100), StringFormat.GenericDefault)
Actual Results:
The resulting regions are all on top of each other, at (x, y) = (0, 0).
Expected Results:
The resulting regions should be wrapped in two lines, start at (x, y) = (100,
100).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs