[Mono-list] GDI+ and Mono 2.0.1

Bálint Kardos kardosbalint at gmail.com
Wed Feb 4 12:55:34 EST 2009

I have written a small HttpHandler which automatically generates text on the
fly with a custom font, added to the

with Ms.net 3.5sp1, it works fine.

with Mono 2.0.1,
on Vista, it dies with:


  at (wrapper managed-to-native)
System.Drawing.GDIPlus.GdipDeletePrivateFontCollection (intptr&) <0x00004>
  at (wrapper managed-to-native)
System.Drawing.GDIPlus.GdipDeletePrivateFontCollection (intptr&)
  at System.Drawing.Text.PrivateFontCollection.Dispose (bool) [0x00015] in

on Linux, it dies with:

System.Exception: Generic Error [GDI+ status: GenericError]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000]
  at System.Drawing.Image.Save (System.String filename,
System.Drawing.Imaging.ImageCodecInfo encoder,
System.Drawing.Imaging.EncoderParameters encoderParams) [0x00000]
  at System.Drawing.Image.Save (System.String filename,
System.Drawing.Imaging.ImageFormat format) [0x00000]

none of the which are further traceable. Any clues on how to further debug?

thank you,


with regards

Kardos Bálint
http://skaelede.hu 10 (0xA) év a magyar weben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090204/a4ed9039/attachment.html 

More information about the Mono-list mailing list