Tried writing own SVG parser. Bad idea...