[Mono-bugs] [Bug 80918][Nor] Changed - When selecting certain fonts with Styles different to the standard 4 an Exception is thrown and the Dialog closes

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Feb 22 11:27:28 EST 2007

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 monkey at jpobst.com.


--- shadow/80918	2007-02-22 07:15:36.000000000 -0500
+++ shadow/80918.tmp.14068	2007-02-22 11:27:28.000000000 -0500
@@ -142,6 +142,16 @@
 Note:- To compile from cmd use:
 mcs -r:System.Windows.Forms What_Ever_You_Want.cs
 ------- Additional Comments From vargaz at gmail.com  2007-02-22 07:15 -------
 -> winforms
+------- Additional Comments From monkey at jpobst.com  2007-02-22 11:27 -------
+Running MWF on MS's S.D, I get an ArgumentException:
+  Font 'Aharoni' does not support style 'Regular'.
+at FontDialog:1075
+  font = new Font( currentFamily, currentSize, currentFontStyle );
+We probably need to throw this exception instead of "unknown error"
+from S.D, as well as fix the bug in FontDialog.

More information about the mono-bugs mailing list