[Mono-list] GDI+ problems on 1.0.4
Dilton McGowan II
Mon, 22 Nov 2004 15:16:34 -0800 (PST)
This code works on 1.0.2 when installed with the RPM
collection in mono-all.zip. In 1.0.4, I'm trying to
figure out what I'm to build from source and what I'm
to install via RPM.
Bitmap b = new Bitmap(400, 400);
Graphics g = null;
Font fnt = null;
g = Graphics.FromImage(b);
sw.WriteLine("A1: " + e.Message);
//This seems to be the problem line, moving
//it to the above try block causes an exception
//I've tried two fonts that are on the system and
//this code works on 1.0.2.
fnt = new Font("Sans Serif",10);
g.DrawString("0", fnt, new SolidBrush(Color.Black),
sw.WriteLine("A2: " + e.Message);
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!