[Mono-winforms-list] Does X11 support imply Mac OSX support?

Peter Dennis Bartok peter@novonyx.com
Mon, 27 Sep 2004 03:45:20 -0600

Not sure what versions are all involved, but gdiplus mirrors a cairo struct 
that got changed along the way. Below is the patch for gdiplus, you have to 
check if it applies. DrawString will show the described behaviour if the 
structures don't match. However, I thought that 0.1.23 didn't have the glyph 
cache yet. You will have to verify yourself. Just wanted to make sure you're 


Index: gdip.h
RCS file: /cvs/public/libgdiplus/src/gdip.h,v
retrieving revision 1.92
diff -u -r1.92 gdip.h
--- gdip.h      26 Jul 2004 07:32:59 -0000      1.92
+++ gdip.h      13 Sep 2004 17:20:35 -0000
@@ -74,7 +74,7 @@
struct cairo_font {
     int refcount;
     cairo_matrix_t matrix;
-    //void *glyph_cache;
+    void *glyph_cache;
     const struct cairo_font_backend *backend;

-----Original Message-----
From: "Baker, GJ (Gareth)" <G.J.Baker@dl.ac.uk>
To: "'Mono-Winforms-List (E-mail) '" <mono-winforms-list@ximian.com>
Date: 27 September, 2004 01:30
Subject: RE: [Mono-winforms-list] Does X11 support imply Mac OSX support?

>I downloaded the latest snapshot bundle from the cairo web site (v0.1.23).
>Just to clarify the statement below. Further testing over the weekend
>narrowed the probelm down to calling Graphics.DrawString. All other current
>SWF widgets that I tried worked as advertised in the X11 environment. What
>happens when a program with a Graphics.DrawString call is run is that a
>large amount of disk activity occurs and this is what slows the whole 
>down. I can 'draw' other things (plot graphs, draw lines etc) but just 
>draw strings.
>Gareth Baker
>-----Original Message-----
>From: gennady wexler [mailto:adyler@winisp.net]
>Sent: 26 September 2004 21:15
>To: Baker, GJ (Gareth); 'Mono-Winforms-List (E-mail) '
>Subject: Re: [Mono-winforms-list] Does X11 support imply Mac OSX
>which cairo do you have installed and how did you install it (cvs or fink)?
>On 9/25/04 3:03 AM, "Baker, GJ (Gareth)" <G.J.Baker@dl.ac.uk> wrote:
>> Quick update:
>>  This and the correct environment variable (DYLD_LIBRARY_PATH) remove the
>> exception output and enable a window with a title to be produced. However
>> any attempt to use say a PaintEvent causes major problems and hangs the
>> environment completely..... :-( (the joys of hacking)
>Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
>Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com