[Gtk-sharp-list] How to update the version of cairo used by gtk-sharp on Window
David Cantin
david_cantin at videotron.ca
Wed Feb 20 12:02:30 EST 2008
Hi! for the record
I solved my problem by :
- Installing the installer[1] of Gtk+.
- Removing the "C:\Program Files\Medsphere\GtkRun\bin;" from the PATH
variable.
- Copying all the "*sharpglue-2.dll" to "C:\Program Files\Gtk\bin".
That it, my gtk-sharp application now use cairo 1.4.14 which solve my
rendering problem's when I produce Pdf's.
David
[1]
http://www.bonifazi.eu/appunti/2008/02/gtk-glade-gtkglext-all-in-one-windows.html
Le jeudi 14 février 2008 à 14:10 -0500, David Cantin a écrit :
> Hi
>
> I use gtk-sharp, cairo and friends for rendering pdf file's and it's
> work great.
>
> But i got a problem..., When I run my application under Windows, the
> pdf's are lower in quality as if I run my application under linux.
>
> On Linux, I use mono 1.2.6, gtk-sharp 2.10 and cairo 1.4.10
>
> On Windows, I use
> - mono 1.2.6, gtk-sharp 2.10 and cairo 1.2.6
> or
> - .net1.1 with Medsphere gtk-sharp runtime
>
> I guest that the quality difference is due to the difference of cairo
> version.
>
> For some time now, I try without any success to upgrade the version of
> Cairo used by gtk-sharp on windows, and I start to run out a idea...
>
> For now, i have tried to recompile gtk-sharp with the instruction
> provided here[1]. Also, I fetch the last version of Cairo from their web
> site and updated libcairo2.dll from the Medsphere runtime directory. I
> have also updated libpng and zlib. I have also replaced Mono.Cairo.dll
> from a verion that come from my linux setup...
>
> I must admit that I do not understand everything involved here... so, I
> ask for help ;)
>
> David
>
>
> [1] http://live.gnome.org/GTK%2B/Win32/Apps
>
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
More information about the Gtk-sharp-list
mailing list