[Mono-bugs] [Bug 74871][Nor] New - Corrupted strings in Name property in FontFamily.Families

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 8 May 2005 15:27:38 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by juraj@hotfeet.ch.

http://bugzilla.ximian.com/show_bug.cgi?id=74871

--- shadow/74871	2005-05-08 15:27:38.000000000 -0400
+++ shadow/74871.tmp.30710	2005-05-08 15:27:38.000000000 -0400
@@ -0,0 +1,38 @@
+Bug#: 74871
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: FC3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: juraj@hotfeet.ch               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Corrupted strings in Name property in FontFamily.Families
+
+The strings in the Name property in FontFamily-objects returned by
+FontFamily.Families is corrupted.
+
+Start xsp und request the attached aspx page. The drop-down list will
+contain the font family names ending with garbage characters.
+
+I haven't yet looked into this more closely, so I have no clue whether the
+bug is in System.Drawing or libgdiplus (or even System.Web/xsp?).
+Strangely enough, the following simple console app does not expose the bug
+on my box:
+
+using System;
+using System.Drawing;
+
+class Test {
+  static void Main() {
+    foreach(FontFamily fam in FontFamily.Families)
+      Console.WriteLine(fam.Name);
+  }
+}