[Mono-list] Problem with NPlot
Miguel de Icaza
miguel@ximian.com
Thu, 16 Dec 2004 16:01:04 -0500
Hello,
> I've installed at monoForge the last development version 1.1.3 and, finally,
> the libgdiplus.
> Then, I've written a simple app based on NPlot.
> The problem is:
>
> System.NullReferenceException: Object reference not set to an instance of an
> object
> in <0x00054>
> System.Drawing.Graphics:DrawString(string,System.Drawing.Font,System.Drawing
> Brush,System.Drawing.RectangleF,System.Drawing.StringFormat)
> ..
> ...
> ...
> DrawString is called by the NPlot library.
>
> I've recompiled NPlot (with a little trick) on mono, but nothing.
> Anyone have ideas? Can be it due to a font problem?
Did you try my version of NPlot (link available from my blog), or the
official one?
Running with --debug might be able to point you to the actual line where
the failure happens.
Miguel.