encapsulate the text renderer in an autorelease pool: the text rendering code has a lot of Objective C code in it, and thusly a lot of autoreleased objects.
const-ify the Cocoa SVG engine struct.
Make a new Cocoa-friendly method and use it.