[Mono-bugs] [Bug 81194][Wis] New - [PATCH] Generic exception thrown when font style unavailable

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Mar 19 15:48:58 EDT 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.

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

--- shadow/81194	2007-03-19 14:48:58.000000000 -0500
+++ shadow/81194.tmp.9710	2007-03-19 14:48:58.000000000 -0500
@@ -0,0 +1,26 @@
+Bug#: 81194
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: Windows
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Drawing.
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: monkey at jpobst.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] Generic exception thrown when font style unavailable
+
+If user tries to create font with unavailable style, mono throws:
+System.Exception: Unknown Error.
+
+MS throws:
+ArgumentException: Font 'Monotype Corsiva' does not support style 'Regular'.
+
+Attached patch throws an AE with a similarly helpful message.  Test
+included, but marked NotWorking, as it is OS dependent.


More information about the mono-bugs mailing list