Im trying to create a new font from the system font in C#(Mono).
System.Drawing.Font myfont=System.Drawing.SystemFonts.DefaultFont
The code works properly in Windows but when it comes to running in Mac i get
an argument exception-The Requested font family Could not be found
I thought that the default font may be missing,So i tried with Helvtica.That
is installed On Mac by default
System.Drawing.Font myfont=new System.Drawing.Font("Helvetica",10f);
Still the same exception
--
View this message in context:
http://mono.1490590.n4.nabble.com/Mono-System-Argument-Exception-in-Mac-when-using-System-Drawing-Font-tp4662400.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list