Thanks for all the replies. I have it working now. I am currently trying to use pyparsing to parse the SVG path element, and that's taking me a while, but the cairo end of things is working well. \d