[Mono-list] GDI+ problems on 1.0.4
Mon, 22 Nov 2004 22:26:33 -0700
This code works fine with our SVN HEAD. Is there any specific reason
for you to use libgdiplus and System.Drawing from 1.0.4 release ?
As far as stability is concerned, I think our System.Drawing stack
is more stable in HEAD, because it gets tested everyday with our
new SWF implementation. If you don't mind, please update your
libgdiplus and System.Drawing from HEAD.
>>> Dilton McGowan II <email@example.com> 11/23/04 4:46 AM >>>
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!
Mono-list maillist - Monofirstname.lastname@example.org