[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] simple/cross platform SVG loading



Hi,

I'm looking for a simple cross-platform way to load SVG files.
Basically looking for something that works like pygame.image.load(),
but understands svg. The only requirements are

1) Load svg
2) Query svg size/aspect ratio
3) render to raster surface at X dpi, or with specified width/height.

The solutions I've been able to find seem to have quite heavy weight
requirements, such as cairo+librsvg which implies python-gnome2-
desktop, other solutions that require openGL etc.

Is there an easy/simple solution I have overlooked?

Thanks
Neilen