[Mono-list] An exception was thrown by the type initializer - System.Drawing.Text.PrivateFontCollectionm on Mac
monodanmorg at yahoo.com
Mon Jul 10 12:48:26 EDT 2006
You should show the trace for this exception. In it, you might be able to see why it didn't load the class.
Could it be you do not have libgdiplus.dynlib? Or maybe need to modify a config file to map the dll?
I do not use Mac so I am only guessing here.
----- Original Message ----
From: Martin Hinks <mhinks at gmail.com>
To: mono <Mono-list at lists.ximian.com>
Sent: Monday, July 10, 2006 11:02:03 AM
Subject: [Mono-list] An exception was thrown by the type initializer - System.Drawing.Text.PrivateFontCollectionm on Mac
This code works fine on Mono stable under Windows but not Mac OS X:
pf = new System.Drawing.Text.PrivateFontCollection();
An exception was thrown by the type initializer for ClassName.
Anyone have any ideas (I would upgrade to latest but the FTP is so slow atm)
Mono-list maillist - Mono-list at lists.ximian.com
More information about the Mono-list