[pygtk] SVG support on Windows?
Dieter Verfaillie
dieterv at optionexplicit.be
Thu Apr 29 20:30:00 WST 2010
Quoting asomers at gmail.com:
> # Created by gdk-pixbuf-query-loaders.exe from gtk+-2.16.6
Aha, you're using gtk+-2.16.6. The versions I listed assume
gtk+-2.20. You might need other versions of the svg-gdk-pixbuf-loader
and it's dependencies for gtk+-2.16. Unfortunately I don't have the
time now to start hunting.
> and a popup dialog windows that says "The procedure entry point
> g_malloc0_n could not be located in the dynamic link library
> libglib-2.0.0.dll". Do you have any ideas?
This is the dialog box I use to hunt down dependencies. Start with a
new 2.16.6 installation, add a svg-gdk-pixbuf-loader version you want
to test and execute gdk-pixbuf-query-loaders as instructed before,
you'll get an error about a missing librsvg dll. Install a librsvg version
and execute gdk-pixbuf-query-loaders as instructed before, you'll get
an error about another missing dll (most likely libxml2), etc
until it executes without error. Then you should have a gdk-pixbuf.loaders
file that looks somewhat like this:
# GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders.exe from gtk+-2.20.0
#
# LoaderDir =
D:\dev\gnome.org\gnome-windows\checkout\gtk+-bundle\gtk+-bundle_2.20.0-20100406_win32/lib/gtk-2.0/2.10.0/loaders
#
"D:/dev/gnome.org/gnome-windows/checkout/gtk+-bundle/gtk+-bundle_2.20.0-20100406_win32/lib/gtk-2.0/2.10.0/loaders/svg_loader.dll"
"svg" 2 "gtk20" "Scalable Vector Graphics" "LGPL"
"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml"
"text/xml-svg" "image/svg+xml-compressed" ""
"svg" "svgz" "svg.gz" ""
" <svg" "* " 100
" <!DOCTYPE svg" "* " 100
mvg,
Dieter
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the pygtk
mailing list