Hello all,

I have been having difficulty getting .NET apps to work with mono.  I  
have XQuartz 2.3.1, fink 0.28.6, 10.5.5, and mono 2.0.1-1 installed.

When trying to run a simple app I get the error:

> Unhandled Exception: System.ArgumentException: The requested  
> FontFamily could not be found [GDI+ status: FontFamilyNotFound]
>   at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000]
>   at System.Drawing.Font.GetHeight (Single dpi) [0x00000]
>   at System.Drawing.Font.GetHeight () [0x00000]
>   at System.Drawing.Font.get_Height () [0x00000]
>   at (wrapper remoting-invoke-with-check)  
> System.Drawing.Font:get_Height ()
>   at System.Windows.Forms.XplatUICarbon.GetAutoScaleSize  
> (System.Drawing.Font font) [0x00000]
>   at System.Windows.Forms.XplatUI.GetAutoScaleSize  
> (System.Drawing.Font font) [0x00000]
>   at System.Windows.Forms.Form.GetAutoScaleSize (System.Drawing.Font  
> font) [0x00000]
>   at System.Windows.Forms.Form..ctor () [0x00000]
>   at HelloMono.Form1..ctor () [0x00000]
>   at (wrapper remoting-invoke-with-check) HelloMono.Form1:.ctor ()
>   at HelloMono.Program.Main () [0x00000]
> epictetus:monoTests gbsmith$
>

I have poked around and found some mention of similar errors, but  
nothing which I could apply to my situation.

I also asked at the mono forum, since I had found the error referred  
to on other linux sites, but got the response:

> The Mono project offers supported Mono 2.0.1 installers for OS X
> directly from the website.  You should use that instead of whatever  
> fink
> gives you; it will probably work better.

I prefer to use fink for as many apps as possible.

Can anyone offer any suggestions?

Thanks much,

-geoff s.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to